You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
LOG_ASSERT | warning | [C:/Users/USERNAME/AppData/Roaming/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Interfaces.mo:1027:9-1032:39:writable]
| | | | The following assertion has been violated at time 0.000000
| | | | ((pipe.flowModel.m_flows[1] >= 0.0 and pipe.flowModel.m_flows[1] <= 1e5)) --> "Variable violating min/max constraint: 0.0 <= pipe.flowModel.m_flows[1] <= 1e5, has value: -141.424"
Please submit a bug report with steps to reproduce this fault, and any error messages that follow (in their entirety). Thanks.
Exception: EXCEPTION_ACCESS_VIOLATION at 0x7fffa3977f7f -- setjmpex at C:\WINDOWS\System32\msvcrt.dll (unknown line)
in expression starting at D:\path\to\test.jl:14
setjmpex at C:\WINDOWS\System32\msvcrt.dll (unknown line)
omc_assert_fmi at D:/path/to/temp/FMU/sources/fmi-export\fmu2_model_interface.c.inc:228
I'm not sure what exactly the issue is, but I guess it has something to do with the long jump function used when throwing an assert in the C code of the FMU:
Issue
I added regression tests for OpenModelica and they are testing some OpenModelica FMUs with FMI.jl.
For model
Modelica.Fluid.Examples.PumpingSystem
FMI.jl is crashing when simulating the generated FMU and an assert is encountered.OMSimulator is triggering the assert as well, but finishes the simulation with success.
How to reproduce
Windows FMU with debug symbols (remove the .zip extension):
Modelica.Fluid.Examples.PumpingSystem.fmu.zip
Error log:
error.log
Versions 'n stuff
The text was updated successfully, but these errors were encountered: