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.005322/0.005322, allocations: 168.2 kB / 15.13 MB, free: 6.023 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.475/1.475, allocations: 205.4 MB / 221.3 MB, free: 13.81 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.0007736/0.0007735, allocations: 94.25 kB / 269.6 MB, free: 13.34 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.6796/0.6796, allocations: 90.6 MB / 408.5 MB, free: 14.93 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0002889/0.0002889, allocations: 8 kB / 485.3 MB, free: 2.027 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3525/0.3528, allocations: 66.28 MB / 0.5386 GB, free: 45.56 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.6287/0.9816, allocations: 370.1 MB / 0.9 GB, free: 13.55 MB / 0.573 GB