Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Boundaries.Tests.TestVolumes.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: "" <> buildModelFMU(ThermofluidStream.Undirected.Boundaries.Tests.TestVolumes,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Boundaries_Tests_TestVolumes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Undirected.Boundaries.Tests.TestVolumes,fileNamePrefix="ThermofluidStream_OM_adaptions_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 3.2.3+maint.om/package.mo): time 0.004749/0.004749, allocations: 183.2 kB / 7.459 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.983/1.983, allocations: 205.2 MB / 213.1 MB, free: 13.92 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.0008635/0.0008636, allocations: 98.44 kB / 261.1 MB, free: 13.54 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo): time 1.062/1.062, allocations: 90.35 MB / 399.4 MB, free: 12.29 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.1679/1.23, allocations: 72.4 MB / 471.8 MB, free: 3.723 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5383/1.769, allocations: 66.26 MB / 0.5254 GB, free: 28.91 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.409/5.178, allocations: 1.222 GB / 1.747 GB, free: 65.99 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000277/5.178, allocations: 84.08 kB / 1.747 GB, free: 65.95 MB / 0.5886 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 5.7/10.88, allocations: 1.335 GB / 3.082 GB, free: 41.45 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.343e-05/10.88, allocations: 15.78 kB / 3.082 GB, free: 41.45 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01227/10.89, allocations: 1.043 MB / 3.083 GB, free: 41.2 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006402/10.9, allocations: 2.121 MB / 3.085 GB, free: 40.64 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002859/10.9, allocations: 141.6 kB / 3.086 GB, free: 40.64 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001376/10.9, allocations: 252.5 kB / 3.086 GB, free: 40.64 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008171/10.91, allocations: 4.35 MB / 3.09 GB, free: 40.61 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008288/10.92, allocations: 4.582 MB / 3.095 GB, free: 40.29 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.027e-05/10.92, allocations: 4.031 kB / 3.095 GB, free: 40.29 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005119/10.92, allocations: 9.438 kB / 3.095 GB, free: 40.29 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004238/10.92, allocations: 243.6 kB / 3.095 GB, free: 40.29 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03669/10.95, allocations: 24.81 MB / 3.119 GB, free: 25.9 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004622/10.96, allocations: 2.375 MB / 3.121 GB, free: 25.78 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003612/10.96, allocations: 2.227 MB / 3.123 GB, free: 25.71 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02137/10.98, allocations: 11.05 MB / 3.134 GB, free: 19.16 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000126/10.98, allocations: 93.31 kB / 3.134 GB, free: 19.12 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=462): time 1.005e-05/10.98, allocations: 0 / 3.134 GB, free: 19.12 MB / 0.6355 GB Notification: Performance of matching and sorting (n=462): time 0.01693/11, allocations: 5.516 MB / 3.14 GB, free: 17.43 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.016e-05/11, allocations: 252.8 kB / 3.14 GB, free: 17.17 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003027/11, allocations: 1.287 MB / 3.141 GB, free: 16.62 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0009864/11, allocations: 32.69 kB / 3.141 GB, free: 16.59 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007405/11, allocations: 1.117 MB / 3.142 GB, free: 15.79 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.001757/11.01, allocations: 1.532 MB / 3.144 GB, free: 14.56 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007027/11.01, allocations: 0 / 3.144 GB, free: 14.56 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0003627/11.01, allocations: 473.6 kB / 3.144 GB, free: 14.18 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003424/11.01, allocations: 1.682 MB / 3.146 GB, free: 13.47 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003539/11.01, allocations: 2.286 MB / 3.148 GB, free: 12.12 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009634/11.02, allocations: 2.669 MB / 3.151 GB, free: 11.32 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.38e-05/11.02, allocations: 3.75 kB / 3.151 GB, free: 11.32 MB / 0.6355 GB Notification: Performance of matching and sorting (n=570) (initialization): time 0.0188/11.04, allocations: 5.883 MB / 3.157 GB, free: 9.359 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.988e-05/11.04, allocations: 5.625 kB / 3.157 GB, free: 9.359 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.091e-05/11.04, allocations: 13.94 kB / 3.157 GB, free: 9.359 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001827/11.05, allocations: 0.5275 MB / 3.157 GB, free: 9.125 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004562/11.05, allocations: 0.8583 MB / 3.158 GB, free: 9.098 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01761/11.07, allocations: 23.07 MB / 3.18 GB, free: 2.484 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005117/11.07, allocations: 392.1 kB / 3.181 GB, free: 2.297 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001676/11.07, allocations: 246.9 kB / 3.181 GB, free: 2.254 MB / 0.6511 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.002451/11.08, allocations: 193.3 kB / 3.181 GB, free: 2.082 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002268/11.08, allocations: 333.2 kB / 3.182 GB, free: 1.914 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0227/11.1, allocations: 6.905 MB / 3.188 GB, free: 15.49 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000172/11.1, allocations: 57.88 kB / 3.188 GB, free: 15.48 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.827e-05/11.1, allocations: 10.12 kB / 3.188 GB, free: 15.48 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001307/11.1, allocations: 22.88 kB / 3.188 GB, free: 15.48 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03065/11.13, allocations: 10.99 MB / 3.199 GB, free: 10.99 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-05/11.13, allocations: 8.75 kB / 3.199 GB, free: 10.99 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003293/11.14, allocations: 0.7335 MB / 3.2 GB, free: 10.38 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003154/11.14, allocations: 0.8955 MB / 3.201 GB, free: 9.625 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00068/11.14, allocations: 121 kB / 3.201 GB, free: 9.539 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3503/11.49, allocations: 28.62 MB / 3.229 GB, free: 119.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.444e-05/11.49, allocations: 7.562 kB / 3.229 GB, free: 119.5 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01979/11.51, allocations: 9.436 MB / 3.238 GB, free: 118 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.02341/11.53, allocations: 12.82 MB / 3.251 GB, free: 116.1 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00192/11.54, allocations: 446.3 kB / 3.251 GB, free: 116 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001245/11.54, allocations: 24.41 kB / 3.251 GB, free: 116 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006547/11.54, allocations: 301.4 kB / 3.251 GB, free: 115.9 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008698/11.54, allocations: 311.3 kB / 3.252 GB, free: 115.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007556/11.55, allocations: 258.7 kB / 3.252 GB, free: 115.9 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.001821/11.55, allocations: 0.939 MB / 3.253 GB, free: 115.8 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.01666/11.56, allocations: 3.525 MB / 3.256 GB, free: 115.7 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.01628/11.58, allocations: 5.115 MB / 3.261 GB, free: 114.6 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.01226/11.59, allocations: 6.846 MB / 3.268 GB, free: 112.7 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.092e-05/11.59, allocations: 6.25 kB / 3.268 GB, free: 112.7 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.008416/11.6, allocations: 4.873 MB / 3.273 GB, free: 110.8 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008832/11.61, allocations: 0.9583 MB / 3.274 GB, free: 110.8 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08811/11.7, allocations: 29.77 MB / 3.303 GB, free: 108.7 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004211/11.7, allocations: 2.952 MB / 3.306 GB, free: 107.9 MB / 0.6823 GB Notification: Performance of SimCode: time 1.663e-06/11.7, allocations: 0 / 3.306 GB, free: 107.9 MB / 0.6823 GB (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Boundaries.Tests.TestVolumes.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Boundaries.Tests.TestVolumes.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Boundaries.Tests.TestVolumes.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Boundaries.Tests.TestVolumes.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Boundaries.Tests.TestVolumes_res.mat --tempDir=temp_ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Boundaries_Tests_TestVolumes_fmu --startTime=0 --stopTime=1 --timeout=1200 --tolerance=1e-06 ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Boundaries_Tests_TestVolumes.fmu > ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Boundaries.Tests.TestVolumes.pipe 2>&1)