Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestVolumes.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: "" <> buildModelFMU(ThermofluidStream.Undirected.Boundaries.Tests.TestVolumes,fileNamePrefix="ThermofluidStream_ThermofluidStream_Undirected_Boundaries_Tests_TestVolumes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Undirected.Boundaries.Tests.TestVolumes,fileNamePrefix="ThermofluidStream_ThermofluidStream_Undirected_Boundaries_Tests_TestVolumes",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00333/0.00333, allocations: 180.2 kB / 7.458 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.111/2.111, allocations: 221.4 MB / 229.3 MB, free: 3.086 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.0009202/0.0009201, allocations: 101.1 kB / 280.1 MB, free: 1.266 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ObsoleteModelica4 4.0.0+maint.om/package.mo): time 0.009623/0.009623, allocations: 1.564 MB / 332.5 MB, free: 12.91 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo): time 0.5485/0.5485, allocations: 90.04 MB / 473.6 MB, free: 7.297 MB / 314.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.3036/0.8522, allocations: 76.21 MB / 0.537 GB, free: 14.25 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1536/1.006, allocations: 69.36 MB / 0.6047 GB, free: 8.793 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.724/3.73, allocations: 1.183 GB / 1.788 GB, free: 163.4 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002824/3.73, allocations: 98.28 kB / 1.788 GB, free: 163.4 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1067 * Number of variables: 1067 Notification: Performance of Generate backend data structure: time 3.597/7.327, allocations: 1.285 GB / 3.073 GB, free: 43.99 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.087e-05/7.327, allocations: 6.75 kB / 3.073 GB, free: 43.99 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009688/7.337, allocations: 1.048 MB / 3.074 GB, free: 43.75 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004276/7.341, allocations: 2.118 MB / 3.077 GB, free: 43.2 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001727/7.341, allocations: 138 kB / 3.077 GB, free: 43.2 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008537/7.342, allocations: 260.5 kB / 3.077 GB, free: 43.18 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006495/7.349, allocations: 4.362 MB / 3.081 GB, free: 43.16 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007813/7.357, allocations: 4.585 MB / 3.086 GB, free: 42.84 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.063e-05/7.357, allocations: 0 / 3.086 GB, free: 42.84 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005652/7.357, allocations: 7.344 kB / 3.086 GB, free: 42.84 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002925/7.358, allocations: 249.4 kB / 3.086 GB, free: 42.84 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02787/7.385, allocations: 24.83 MB / 3.11 GB, free: 27.49 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002839/7.388, allocations: 2.376 MB / 3.112 GB, free: 26.44 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002409/7.391, allocations: 2.231 MB / 3.115 GB, free: 25.45 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01135/7.402, allocations: 10.52 MB / 3.125 GB, free: 17.43 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.718e-05/7.402, allocations: 96.31 kB / 3.125 GB, free: 17.34 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=462): time 6.212e-06/7.402, allocations: 0 / 3.125 GB, free: 17.34 MB / 0.6511 GB Notification: Performance of matching and sorting (n=462): time 0.0123/7.415, allocations: 5.574 MB / 3.13 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.267e-05/7.415, allocations: 255.7 kB / 3.131 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001541/7.416, allocations: 1.284 MB / 3.132 GB, free: 14.57 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.000291/7.416, allocations: 29.48 kB / 3.132 GB, free: 14.54 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004167/7.417, allocations: 1.116 MB / 3.133 GB, free: 13.74 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008238/7.418, allocations: 1.524 MB / 3.135 GB, free: 12.52 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002315/7.418, allocations: 0 / 3.135 GB, free: 12.52 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001535/7.418, allocations: 480 kB / 3.135 GB, free: 12.13 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002194/7.42, allocations: 1.687 MB / 3.137 GB, free: 11.42 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002647/7.423, allocations: 2.29 MB / 3.139 GB, free: 10.08 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007207/7.43, allocations: 2.715 MB / 3.142 GB, free: 9.254 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.351e-05/7.43, allocations: 3.406 kB / 3.142 GB, free: 9.254 MB / 0.6511 GB Notification: Performance of matching and sorting (n=570) (initialization): time 0.01233/7.443, allocations: 5.938 MB / 3.147 GB, free: 6.594 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/7.443, allocations: 7.906 kB / 3.147 GB, free: 6.586 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.196e-05/7.443, allocations: 16 kB / 3.147 GB, free: 6.57 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001336/7.444, allocations: 0.5223 MB / 3.148 GB, free: 6.094 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002928/7.447, allocations: 0.8684 MB / 3.149 GB, free: 5.359 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01478/7.462, allocations: 23.06 MB / 3.171 GB, free: 12.93 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003753/7.465, allocations: 391.1 kB / 3.172 GB, free: 12.61 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005082/7.466, allocations: 258.4 kB / 3.172 GB, free: 12.39 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (508): * Single equations (assignments): 468 * Array equations: 9 * Algorithm blocks: 0 * Record equations: 13 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 18 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007839/7.467, allocations: 194.4 kB / 3.172 GB, free: 12.2 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007529/7.468, allocations: 335.5 kB / 3.172 GB, free: 11.87 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01694/7.484, allocations: 8.243 MB / 3.18 GB, free: 5.371 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.699e-05/7.485, allocations: 55.23 kB / 3.18 GB, free: 5.32 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.919e-05/7.485, allocations: 10.19 kB / 3.181 GB, free: 5.312 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.179e-05/7.485, allocations: 25.7 kB / 3.181 GB, free: 5.309 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.233/7.718, allocations: 11.3 MB / 3.192 GB, free: 112.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.801e-05/7.718, allocations: 7.875 kB / 3.192 GB, free: 112.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002832/7.721, allocations: 0.7284 MB / 3.192 GB, free: 112.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002609/7.723, allocations: 0.8999 MB / 3.193 GB, free: 112.7 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003795/7.724, allocations: 124.4 kB / 3.193 GB, free: 112.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01239/7.736, allocations: 28.64 MB / 3.221 GB, free: 86.38 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.969e-06/7.736, allocations: 3.875 kB / 3.221 GB, free: 86.38 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01452/7.751, allocations: 9.494 MB / 3.231 GB, free: 84.8 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01757/7.768, allocations: 12.88 MB / 3.243 GB, free: 82.65 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009044/7.769, allocations: 445.6 kB / 3.244 GB, free: 82.39 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005461/7.77, allocations: 25.58 kB / 3.244 GB, free: 82.39 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004643/7.774, allocations: 304.7 kB / 3.244 GB, free: 82.37 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005068/7.775, allocations: 318.7 kB / 3.244 GB, free: 82.37 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004937/7.775, allocations: 258.3 kB / 3.244 GB, free: 82.37 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.001119/7.776, allocations: 0.9426 MB / 3.245 GB, free: 82.22 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.007227/7.784, allocations: 2.953 MB / 3.248 GB, free: 82.14 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 42 (source.outlet.m_flow,sink.inlet.m_flow,flexVolume2.M,flexVolume2.U_med,flexVolume2.m_flow_in,volume1.M,volume1.U_med,heatportVolume1.M,heatportVolume1.U_med,heatportVolume1.m_flow_in,heatportVolume1.m_flow_out,flexVolume1.M,flexVolume1.U_med,flexVolume1.m_flow_rear,flexVolume1.m_flow_fore,volume.M,volume.U_med,volume.m_flow_rear,volumeMix1.M,volumeMix1.MXi[1],volumeMix1.MXi[2],volumeMix1.U_med,source4.outlet.m_flow,source5.outlet.m_flow,sink3.inlet.m_flow,volumeMix2.M,volumeMix2.MXi[1],volumeMix2.MXi[2],volumeMix2.U_med,boundary_rear2.fore.m_flow,boundary_rear3.fore.m_flow,boundary_rear4.fore.m_flow,heatportVolume.M,heatportVolume.U_med,flowResistance.rear.m_flow,flowResistance1.rear.m_flow,heatportVolume2.M,heatportVolume2.U_med,flowResistance10.rear.m_flow,flowResistance11.rear.m_flow,heatportVolume3.M,heatportVolume3.U_med) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (415): * Single equations (assignments): 365 * Array equations: 9 * Algorithm blocks: 0 * Record equations: 13 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 28 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 18 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 10 {2 3,1 2,1 2,1 2,2 3,1 1,1 1,1 2,1 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.005748/7.789, allocations: 4.145 MB / 3.252 GB, free: 81.09 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.008632/7.798, allocations: 6.865 MB / 3.259 GB, free: 79.16 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.139e-05/7.798, allocations: 6.094 kB / 3.259 GB, free: 79.16 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.006083/7.804, allocations: 4.878 MB / 3.264 GB, free: 77.25 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004706/7.809, allocations: 0.973 MB / 3.265 GB, free: 77.23 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07013/7.879, allocations: 30.24 MB / 3.294 GB, free: 75.24 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003415/7.882, allocations: 3.009 MB / 3.297 GB, free: 74.46 MB / 0.6823 GB Notification: Performance of SimCode: time 8.12e-07/7.882, allocations: 0 / 3.297 GB, free: 74.46 MB / 0.6823 GB (rm -f ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestVolumes.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestVolumes.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestVolumes.pipe >> ../files/ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestVolumes.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestVolumes_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_Undirected_Boundaries_Tests_TestVolumes_fmu --startTime=0 --stopTime=1 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_Undirected_Boundaries_Tests_TestVolumes.fmu > ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestVolumes.pipe 2>&1)