To do: Make NESTML compatible with the API of the new NEST Simulator major release (version 4). See https://github.com/nest/nest-simulator/issues/3660 for more details. See #1276 which does some preparatory work for this.