Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.Examples.ReverseHeatPump.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.4.0-OM_adaptions/package.mo", uses=false) Using package ThermofluidStream with version 0.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/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.Examples.ReverseHeatPump,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="PI1.x|PI2.x|PI_Valve.x|TEVcooling.rear.m_flow|Time|accumulator.M|accumulator.U_med|accumulator.m_flow_in|boundaryFore1.rear.m_flow|boundaryRear.fore.m_flow|compressor.m_flow|discretizedHEX.thermalElementA.1..h|discretizedHEX.thermalElementA.2..h|discretizedHEX.thermalElementA.3..h|discretizedHEX.thermalElementA.4..h|discretizedHEX.thermalElementA.5..h|discretizedHEX.thermalElementB.1..h|discretizedHEX.thermalElementB.2..h|discretizedHEX.thermalElementB.3..h|discretizedHEX.thermalElementB.4..h|discretizedHEX.thermalElementB.5..h|discretizedHEX1.thermalElementA.1..h|discretizedHEX1.thermalElementA.2..h|discretizedHEX1.thermalElementA.3..h|discretizedHEX1.thermalElementA.4..h|discretizedHEX1.thermalElementA.5..h|discretizedHEX1.thermalElementB.1..h|discretizedHEX1.thermalElementB.2..h|discretizedHEX1.thermalElementB.3..h|discretizedHEX1.thermalElementB.4..h|discretizedHEX1.thermalElementB.5..h|firstOrder.y|receiver.M|receiver.U_med|twoPhaseSensorSelect.value|twoPhaseSensorSelect1.value|valveCompressorInletHeating.inlet.m_flow",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.Examples.ReverseHeatPump") translateModel(ThermofluidStream.Examples.ReverseHeatPump,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="PI1.x|PI2.x|PI_Valve.x|TEVcooling.rear.m_flow|Time|accumulator.M|accumulator.U_med|accumulator.m_flow_in|boundaryFore1.rear.m_flow|boundaryRear.fore.m_flow|compressor.m_flow|discretizedHEX.thermalElementA.1..h|discretizedHEX.thermalElementA.2..h|discretizedHEX.thermalElementA.3..h|discretizedHEX.thermalElementA.4..h|discretizedHEX.thermalElementA.5..h|discretizedHEX.thermalElementB.1..h|discretizedHEX.thermalElementB.2..h|discretizedHEX.thermalElementB.3..h|discretizedHEX.thermalElementB.4..h|discretizedHEX.thermalElementB.5..h|discretizedHEX1.thermalElementA.1..h|discretizedHEX1.thermalElementA.2..h|discretizedHEX1.thermalElementA.3..h|discretizedHEX1.thermalElementA.4..h|discretizedHEX1.thermalElementA.5..h|discretizedHEX1.thermalElementB.1..h|discretizedHEX1.thermalElementB.2..h|discretizedHEX1.thermalElementB.3..h|discretizedHEX1.thermalElementB.4..h|discretizedHEX1.thermalElementB.5..h|firstOrder.y|receiver.M|receiver.U_med|twoPhaseSensorSelect.value|twoPhaseSensorSelect1.value|valveCompressorInletHeating.inlet.m_flow",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.Examples.ReverseHeatPump") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001577/0.001577, allocations: 173.8 kB / 15.77 MB, free: 6.328 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.745/1.745, allocations: 205.4 MB / 221.9 MB, free: 13.82 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.0008268/0.0008268, allocations: 86.36 kB / 270.3 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo): time 0.7425/0.7425, allocations: 90.6 MB / 409.1 MB, free: 15 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0003677/0.0003678, allocations: 11.98 kB / 485.9 MB, free: 2.094 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4161/0.4165, allocations: 66.27 MB / 0.5392 GB, free: 45.61 MB / 426.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/Undirected/Interfaces/SISOBiFlow.mo:6:15-10:17:writable] Notification: From here: [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/Examples/ReverseHeatPump.mo:45:3-59:26:writable] Error: component discretizedHEX1 contains the definition of a partial class Medium. Please redeclare it to any package compatible with ThermofluidStream.Media.myMedia.Interfaces.PartialMedium. Notification: Performance of FrontEnd: time 0.7763/1.193, allocations: 370.1 MB / 0.9006 GB, free: 13.75 MB / 0.573 GB