Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.Volumes.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-OM_adaptions/package.mo", uses=false) Using package ThermofluidStream with version 0.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.3.1-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.Boundaries.Tests.Volumes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|flexVolume1.M|flexVolume1.U_med|flexVolume1.m_flow_in|heatportVolume.M|heatportVolume.U_med|heatportVolume1.M|heatportVolume1.U_med|heatportVolume1.m_flow_in|heatportVolume2.M|heatportVolume2.U_med|heatportVolume2.m_flow_out|heatportVolume3.M|heatportVolume3.U_med|sink.inlet.m_flow|sink1.inlet.m_flow|sink5.inlet.m_flow|source.outlet.m_flow|source1.outlet.m_flow|source7.outlet.m_flow|volume.M|volume.U_med|volume1.M|volume1.U_med|volumeMix.M|volumeMix.MXi.1.|volumeMix.MXi.2.|volumeMix.U_med|volumeMix.inlet.1..m_flow|volumeMix.inlet.2..m_flow|volumeMix.outlet.m_flow|volumeMix1.M|volumeMix1.MXi.1.|volumeMix1.MXi.2.|volumeMix1.U_med|volumeMix1.inlet.1..m_flow|volumeMix1.inlet.2..m_flow|volumeMix1.outlet.m_flow|volumeMix2.M|volumeMix2.MXi.1.|volumeMix2.MXi.2.|volumeMix2.U_med|volumeMix3.M|volumeMix3.MXi.1.|volumeMix3.MXi.2.|volumeMix3.U_med|volumeMix3.inlet.1..m_flow|volumeMix3.inlet.2..m_flow|volumeMix3.outlet.m_flow",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.Volumes") translateModel(ThermofluidStream.Boundaries.Tests.Volumes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|flexVolume1.M|flexVolume1.U_med|flexVolume1.m_flow_in|heatportVolume.M|heatportVolume.U_med|heatportVolume1.M|heatportVolume1.U_med|heatportVolume1.m_flow_in|heatportVolume2.M|heatportVolume2.U_med|heatportVolume2.m_flow_out|heatportVolume3.M|heatportVolume3.U_med|sink.inlet.m_flow|sink1.inlet.m_flow|sink5.inlet.m_flow|source.outlet.m_flow|source1.outlet.m_flow|source7.outlet.m_flow|volume.M|volume.U_med|volume1.M|volume1.U_med|volumeMix.M|volumeMix.MXi.1.|volumeMix.MXi.2.|volumeMix.U_med|volumeMix.inlet.1..m_flow|volumeMix.inlet.2..m_flow|volumeMix.outlet.m_flow|volumeMix1.M|volumeMix1.MXi.1.|volumeMix1.MXi.2.|volumeMix1.U_med|volumeMix1.inlet.1..m_flow|volumeMix1.inlet.2..m_flow|volumeMix1.outlet.m_flow|volumeMix2.M|volumeMix2.MXi.1.|volumeMix2.MXi.2.|volumeMix2.U_med|volumeMix3.M|volumeMix3.MXi.1.|volumeMix3.MXi.2.|volumeMix3.U_med|volumeMix3.inlet.1..m_flow|volumeMix3.inlet.2..m_flow|volumeMix3.outlet.m_flow",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.Volumes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001196/0.001196, allocations: 172.1 kB / 16.12 MB, free: 5.668 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.521/1.521, allocations: 205.4 MB / 222.3 MB, free: 8.941 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.0007989/0.0007986, allocations: 88.17 kB / 270.6 MB, free: 8.246 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.3.1-OM_adaptions/package.mo): time 0.7762/0.7762, allocations: 89.62 MB / 408.5 MB, free: 4.469 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004119/0.0004117, allocations: 12 kB / 485.2 MB, free: 7.609 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.326/0.3264, allocations: 65.99 MB / 0.5383 GB, free: 34.55 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.253/2.579, allocations: 1.214 GB / 1.752 GB, free: 85.28 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002849/2.58, allocations: 91.94 kB / 1.752 GB, free: 85.19 MB / 0.5886 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.3.1-OM_adaptions/Boundaries/Internal/PartialVolumeN.mo:117:3-117:50:writable] Error: In sum(outlet.m_flow), the expression is of type Real(quantity = "MassFlowRate", unit = "kg/s"), but is required to be of builtin array type (of any number of dimensions). Error: Error occurred while flattening model ThermofluidStream.Boundaries.Tests.Volumes Notification: Performance of FrontEnd: time 0.7894/3.369, allocations: 261 MB / 2.007 GB, free: 63.97 MB / 0.5886 GB