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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.3.1-main/package.mo", uses=false) Using package ThermofluidStream with version 0.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.3.1-main/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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 3.2.3+maint.om/package.mo): time 0.001352/0.001352, allocations: 170.2 kB / 16.11 MB, free: 5.582 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.713/1.713, allocations: 205.4 MB / 222.3 MB, free: 13.61 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009224/0.0009223, allocations: 86.3 kB / 270.6 MB, free: 13.12 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.3.1-main/package.mo): time 0.8586/0.8586, allocations: 89.59 MB / 408.5 MB, free: 15.81 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0004172/0.0004172, allocations: 8 kB / 485.2 MB, free: 2.988 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1617/0.1621, allocations: 66 MB / 0.5383 GB, free: 0.8242 MB / 426.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.3.1-main/HeatExchangers/Tests/ElementTwoPhase.mo:8:3-17:85:writable] Notification: From here: [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.3.1-main/HeatExchangers/Internal/ConductionElementHEX_twoPhase.mo:3:49-3:112: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.4834/0.6455, allocations: 148.2 MB / 0.683 GB, free: 9.086 MB / 0.4948 GB