Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_DryCoil",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_DryCoil",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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.183/1.183, allocations: 249.4 MB / 256.7 MB, free: 15.81 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001065/0.001065, allocations: 190 kB / 316 MB, free: 7.211 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.322/1.322, allocations: 205.1 MB / 0.5667 GB, free: 23.6 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008796/0.0008796, allocations: 82.28 kB / 0.671 GB, free: 0.8945 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 0.2123/0.2133, allocations: 112.5 MB / 0.7808 GB, free: 304 kB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3909/0.6042, allocations: 106.3 MB / 0.8847 GB, free: 76.27 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.736/4.34, allocations: 2.188 GB / 3.073 GB, free: 330.4 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002673/4.34, allocations: 97.39 kB / 3.073 GB, free: 330.4 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.09105/4.432, allocations: 42.69 MB / 3.114 GB, free: 296.7 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.152e-05/4.432, allocations: 8 kB / 3.114 GB, free: 296.7 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006064/4.438, allocations: 0.6963 MB / 3.115 GB, free: 296 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002452/4.44, allocations: 1.748 MB / 3.117 GB, free: 294.2 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002173/4.44, allocations: 132 kB / 3.117 GB, free: 294 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000162/4.441, allocations: 24 kB / 3.117 GB, free: 294 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003213/4.444, allocations: 2.902 MB / 3.12 GB, free: 291.1 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002156/4.446, allocations: 2.031 MB / 3.122 GB, free: 289.1 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/4.446, allocations: 0 / 3.122 GB, free: 289.1 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001529/4.446, allocations: 4 kB / 3.122 GB, free: 289.1 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.398e-06/4.446, allocations: 8 kB / 3.122 GB, free: 289 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008651/4.455, allocations: 5.159 MB / 3.127 GB, free: 283.8 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002319/4.457, allocations: 2.489 MB / 3.129 GB, free: 281.3 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00124/4.458, allocations: 1.287 MB / 3.13 GB, free: 280.1 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.96e-05/4.458, allocations: 24.41 kB / 3.13 GB, free: 280 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001924/4.46, allocations: 1.884 MB / 3.132 GB, free: 278.1 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=61): time 3.727e-06/4.46, allocations: 0 / 3.132 GB, free: 278.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=61): time 0.004345/4.465, allocations: 2.751 MB / 3.135 GB, free: 275.4 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.465e-05/4.465, allocations: 97.59 kB / 3.135 GB, free: 275.2 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003677/4.469, allocations: 2.448 MB / 3.137 GB, free: 272.8 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002887/4.469, allocations: 45.69 kB / 3.137 GB, free: 272.8 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000266/4.469, allocations: 289.3 kB / 3.138 GB, free: 272.5 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000242/4.469, allocations: 177.5 kB / 3.138 GB, free: 272.3 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001306/4.47, allocations: 0 / 3.138 GB, free: 272.3 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 6.758e-05/4.47, allocations: 334 kB / 3.138 GB, free: 272 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001479/4.471, allocations: 1.642 MB / 3.14 GB, free: 270.3 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001443/4.473, allocations: 1.617 MB / 3.141 GB, free: 268.7 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002428/4.475, allocations: 1.525 MB / 3.143 GB, free: 267.2 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/4.475, allocations: 4 kB / 3.143 GB, free: 267.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.004586/4.48, allocations: 3.472 MB / 3.146 GB, free: 263.7 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/4.48, allocations: 4 kB / 3.146 GB, free: 263.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/4.48, allocations: 0 / 3.146 GB, free: 263.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.789e-05/4.48, allocations: 8 kB / 3.146 GB, free: 263.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001522/4.481, allocations: 231.7 kB / 3.147 GB, free: 263.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.188e-06/4.481, allocations: 7.906 kB / 3.147 GB, free: 263.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001485/4.483, allocations: 111.6 kB / 3.147 GB, free: 263.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000229/4.483, allocations: 115.9 kB / 3.147 GB, free: 263.2 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 32 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition9,dryCoi.cooCap.stage,$PRE.dryCoi.cooCap.checkBoundsTEva[1],dryCoi.cooCap.checkBoundsTEva[1],$PRE.dryCoi.cooCap.checkBoundsTEva[2],dryCoi.cooCap.checkBoundsTEva[2],$PRE.dryCoi.cooCap.checkBoundsTEva[3],dryCoi.cooCap.checkBoundsTEva[3],$PRE.dryCoi.cooCap.checkBoundsTEva[4],dryCoi.cooCap.checkBoundsTEva[4],$PRE.dryCoi.cooCap.checkBoundsTCon[1],dryCoi.cooCap.checkBoundsTCon[1],$PRE.dryCoi.cooCap.checkBoundsTCon[2],dryCoi.cooCap.checkBoundsTCon[2],$PRE.dryCoi.cooCap.checkBoundsTCon[3],dryCoi.cooCap.checkBoundsTCon[3],$PRE.dryCoi.cooCap.checkBoundsTCon[4],dryCoi.cooCap.checkBoundsTCon[4],speRat.a,speRat.b,speRat.last,$PRE.speRat.nextEvent,speRat.nextEvent,speRat.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004534/4.483, allocations: 170.5 kB / 3.147 GB, free: 263 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004423/4.484, allocations: 173.9 kB / 3.147 GB, free: 262.9 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005037/4.489, allocations: 3.156 MB / 3.15 GB, free: 259.7 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.328e-06/4.489, allocations: 4 kB / 3.15 GB, free: 259.7 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/4.489, allocations: 0 / 3.15 GB, free: 259.7 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.327e-06/4.489, allocations: 11.89 kB / 3.15 GB, free: 259.7 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003484/4.492, allocations: 2.473 MB / 3.153 GB, free: 257.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.472e-06/4.492, allocations: 0 / 3.153 GB, free: 257.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001516/4.494, allocations: 227.6 kB / 3.153 GB, free: 256.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.203e-05/4.494, allocations: 4 kB / 3.153 GB, free: 256.9 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001561/4.494, allocations: 47.92 kB / 3.153 GB, free: 256.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.729e-06/4.494, allocations: 4 kB / 3.153 GB, free: 256.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.407e-06/4.494, allocations: 0 / 3.153 GB, free: 256.9 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004112/4.498, allocations: 2.824 MB / 3.156 GB, free: 254 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004007/4.502, allocations: 3.226 MB / 3.159 GB, free: 250.8 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001258/4.504, allocations: 0.7681 MB / 3.16 GB, free: 250 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005098/4.504, allocations: 63.97 kB / 3.16 GB, free: 249.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00166/4.506, allocations: 151.8 kB / 3.16 GB, free: 249.8 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001551/4.506, allocations: 60.41 kB / 3.16 GB, free: 249.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002109/4.506, allocations: 115.8 kB / 3.16 GB, free: 249.6 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.002799/4.509, allocations: 1.88 MB / 3.162 GB, free: 247.8 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002034/4.511, allocations: 443.7 kB / 3.162 GB, free: 247.3 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 23 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition9,dryCoi.cooCap.stage,dryCoi.cooCap.checkBoundsTEva[1],dryCoi.cooCap.checkBoundsTEva[2],dryCoi.cooCap.checkBoundsTEva[3],dryCoi.cooCap.checkBoundsTEva[4],dryCoi.cooCap.checkBoundsTCon[1],dryCoi.cooCap.checkBoundsTCon[2],dryCoi.cooCap.checkBoundsTCon[3],dryCoi.cooCap.checkBoundsTCon[4],speRat.a,speRat.b,speRat.last,speRat.nextEvent,speRat.nextEventScaled) * Number of discrete states: 9 (speRat.nextEvent,speRat.last,speRat.nextEventScaled,speRat.b,speRat.a,$whenCondition9,dryCoi.cooCap.stage,dryCoi.cooCap.checkBoundsTEva[dryCoi.cooCap.stage],dryCoi.cooCap.checkBoundsTCon[dryCoi.cooCap.stage]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 8 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001081/4.512, allocations: 469.7 kB / 3.163 GB, free: 246.9 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.003132/4.515, allocations: 3.155 MB / 3.166 GB, free: 243.7 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/4.515, allocations: 0 / 3.166 GB, free: 243.7 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001404/4.517, allocations: 1.425 MB / 3.167 GB, free: 242.3 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001509/4.518, allocations: 374 kB / 3.167 GB, free: 241.9 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006651/4.525, allocations: 3.752 MB / 3.171 GB, free: 238.1 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002098/4.527, allocations: 1.829 MB / 3.173 GB, free: 236.2 MB / 0.8698 GB Notification: Performance of SimCode: time 7.21e-07/4.527, allocations: 0 / 3.173 GB, free: 236.2 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_DryCoil_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_DryCoil.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil.pipe 2>&1)