Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.ElementTwoPhase.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ObsoleteModelica4 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo", uses=false) Using package ThermofluidStream with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo) Using package ObsoleteModelica4 with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ObsoleteModelica4 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ThermofluidStream.HeatExchangers.Tests.ElementTwoPhase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|conductionElementHEX_twoPhase.h|conductionElementHEX_twoPhase.inlet.m_flow|conductionElementHEX_twoPhase1.h|conductionElementHEX_twoPhase1.inlet.m_flow|mCV.dp_int|mCV1.dp_int|mCV2.dp_int|mCV3.dp_int|trapezoid.T_start|trapezoid.count|trapezoid2.T_start|trapezoid2.count|volume.M|volume.U_med|volume.m_flow_in|volume.m_flow_out|volume1.M|volume1.U_med|volume1.m_flow_in|volume1.m_flow_out",fileNamePrefix="ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.ElementTwoPhase") translateModel(ThermofluidStream.HeatExchangers.Tests.ElementTwoPhase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|conductionElementHEX_twoPhase.h|conductionElementHEX_twoPhase.inlet.m_flow|conductionElementHEX_twoPhase1.h|conductionElementHEX_twoPhase1.inlet.m_flow|mCV.dp_int|mCV1.dp_int|mCV2.dp_int|mCV3.dp_int|trapezoid.T_start|trapezoid.count|trapezoid2.T_start|trapezoid2.count|volume.M|volume.U_med|volume.m_flow_in|volume.m_flow_out|volume1.M|volume1.U_med|volume1.m_flow_in|volume1.m_flow_out",fileNamePrefix="ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.ElementTwoPhase") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001038/0.001038, allocations: 172.2 kB / 7.647 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.455/1.455, allocations: 221.5 MB / 229.6 MB, free: 7.555 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009667/0.0009667, allocations: 100.4 kB / 280.5 MB, free: 5.301 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ObsoleteModelica4 4.0.0+maint.om/package.mo): time 0.0131/0.0131, allocations: 1.567 MB / 332.8 MB, free: 13.53 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo): time 0.8118/0.8118, allocations: 90.03 MB / 474 MB, free: 13.02 MB / 314.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 2.007e-05/2.01e-05, allocations: 2.875 kB / 0.5375 GB, free: 33.14 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1724/0.1724, allocations: 69.38 MB / 0.6052 GB, free: 96 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/HeatExchangers/Tests/ElementTwoPhase.mo:8:3-17:85:writable] Notification: From here: [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/HeatExchangers/Internal/ConductionElementHEX_twoPhase.mo:3:49-4:55:writable] Error: Trying to redeclare package Medium but package not declared as replaceable. Error: Error occurred while flattening model ThermofluidStream.HeatExchangers.Tests.ElementTwoPhase Notification: Performance of FrontEnd: time 0.6607/0.8332, allocations: 147.8 MB / 0.7496 GB, free: 35.82 MB / 490.7 MB