Created the FMU (Modelica.Fluid.Examples.PumpingSystem). Unable to run the FMU in Python with OMSimulator. It shows the below error.
status: [correct] ok
status: [correct] ok
error: [fmi2logger] D:/TestFMU/Sample/test_tmp/test-hrobx1ba/temp/0001_A (logStatusError): C:/Users/DEMO/AppData/Roaming/.openmodelica/libraries/Modelica 4.0.0+maint.om/Media/Water/IF97_Utilities.mo:2900: IF97 medium function tsat called with too low pressure
p = -1.70619e+08 Pa <= 611.657 Pa (triple point pressure)
error: [fmi2logger] D:/TestFMU/Sample/test_tmp/test-hrobx1ba/temp/0001_A (logFmi2Call): fmi2CompletedIntegratorStep: terminated by an assertion.
error: [fmi2logger] D:/TestFMU/Sample/test_tmp/test-hrobx1ba/temp/0001_A (logStatusError): C:/Users/DEMO/AppData/Roaming/.openmodelica/libraries/Modelica 4.0.0+maint.om/Media/Water/IF97_Utilities.mo:2900: IF97 medium function tsat called with too low pressure
p = -1.70619e+08 Pa <= 611.657 Pa (triple point pressure)
status: [correct] ok
status: [correct] ok
status: [correct] ok
LOG_ASSERT | warning | [C:/Users/DEMO/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"
info: No result file will be created
status: [correct] ok
Minutes: 0; Seconds: 1
Traceback (most recent call last):
OSError: exception: access violation reading 0x0000000000000000
warning: temp directory "D:\TestFMU\Sample\test_tmp\test-hrobx1ba" couldn't be removed
remove_all: Access is denied.: "D:\TestFMU\Sample\test_tmp\test-hrobx1ba"
info: 1 warnings
info: 3 errors
Description
Created the FMU (Modelica.Fluid.Examples.PumpingSystem). Unable to run the FMU in Python with OMSimulator. It shows the below error.
OpenModelica v1.24.0-dev-20-gde46d5b2f7 (64-bit) OMSimulator-V2.1.1Post257 Win11, 64bit