Hi Mr.Hornig,
I have found the problem. At time 41 car[0] is exiting the simulation and its self messages that had already been scheduled are still in the schedule event in the simulation, they are not deleted. And when it comes to them, the program crashes and then I get the error 139.
In those self messages I can see: ... selmsg for <deleted module> ...
How can I fix this problem please? And how do I remove the pointers that are point to a car after that car exits the simulation, so that those messages are deleted from the schedule event, please?