-
Notifications
You must be signed in to change notification settings - Fork 50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FMU Crash in Python with OMSimulator #1299
Comments
@lochel Can you take a look on this issue as you are working on FMU memory issues |
@Primkins can you please attach a new zip file, when downloading the zip file, it says virus detected, Can you please tell the name of the Model, so that we can generate the fmu's ourself |
generate the FMU and test.
|
@Primkins The model works just fine. So maybe it is connected to how you run it. Can you provide a python script to reproduce your problem? I tested with standard settings, and changing stopTime to 2000. Both simulations went fine. |
@Primkins I can reproduce the issue and will keep you updated. Thanks for reporting the issue. |
I ran the example with valgrind (reducing the number of steps to 2000), and no memory leaks were detected:
However, when simulating the model directly in OpenModelica, it seems there is no reason for the memory pool to grow to such an extent. @OpenModelica/developers, can anyone with knowledge of the memory pool investigate this issue? |
@Primkins I have removed the zip file because it warns about virus |
Application crashes, when the OMSimulator method (stepUntil) is called inside the loop in Python code,
The text was updated successfully, but these errors were encountered: