Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_DryCoil",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil,fileNamePrefix="Buildings_8_0_0_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 8.0.0/package.mo): time 2.24/2.24, allocations: 284.8 MB / 292.1 MB, free: 10.76 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001644/0.001644, allocations: 175.8 kB / 360.3 MB, free: 7.559 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.794/1.794, allocations: 205.1 MB / 0.6187 GB, free: 13.21 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001318/0.001316, allocations: 87.19 kB / 0.7317 GB, free: 45.12 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2907/0.2921, allocations: 121.4 MB / 0.8502 GB, free: 3.91 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6516/0.9437, allocations: 115.2 MB / 0.9628 GB, free: 78.59 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.304/6.247, allocations: 2.07 GB / 3.032 GB, free: 273 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003388/6.248, allocations: 99 kB / 3.032 GB, free: 273 MB / 0.9323 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.1692/6.417, allocations: 42.68 MB / 3.074 GB, free: 264.9 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.736e-05/6.417, allocations: 11.78 kB / 3.074 GB, free: 264.9 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01218/6.429, allocations: 0.7014 MB / 3.075 GB, free: 264.5 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005556/6.435, allocations: 1.724 MB / 3.077 GB, free: 263.9 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005917/6.436, allocations: 134.7 kB / 3.077 GB, free: 263.8 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005061/6.436, allocations: 23.16 kB / 3.077 GB, free: 263.8 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007652/6.444, allocations: 2.909 MB / 3.08 GB, free: 263.4 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005676/6.45, allocations: 2.029 MB / 3.082 GB, free: 263 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.414e-05/6.45, allocations: 4 kB / 3.082 GB, free: 263 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003718/6.45, allocations: 8.484 kB / 3.082 GB, free: 263 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.729e-05/6.45, allocations: 7.344 kB / 3.082 GB, free: 263 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01884/6.469, allocations: 5.162 MB / 3.087 GB, free: 261.4 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00569/6.475, allocations: 2.49 MB / 3.089 GB, free: 261.1 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003044/6.478, allocations: 1.292 MB / 3.09 GB, free: 260.9 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001616/6.478, allocations: 11.92 kB / 3.09 GB, free: 260.9 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005186/6.483, allocations: 1.897 MB / 3.092 GB, free: 260.5 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=61): time 5.981e-06/6.483, allocations: 0 / 3.092 GB, free: 260.5 MB / 0.9323 GB Notification: Performance of matching and sorting (n=61): time 0.00936/6.493, allocations: 2.754 MB / 3.095 GB, free: 260 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.431e-05/6.493, allocations: 95.34 kB / 3.095 GB, free: 259.9 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007148/6.5, allocations: 2.443 MB / 3.097 GB, free: 259.4 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0007008/6.501, allocations: 44.14 kB / 3.097 GB, free: 259.3 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005275/6.501, allocations: 292.1 kB / 3.098 GB, free: 259.2 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005948/6.502, allocations: 183.2 kB / 3.098 GB, free: 259 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002277/6.502, allocations: 2.812 kB / 3.098 GB, free: 259 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 9.08e-05/6.502, allocations: 322.8 kB / 3.098 GB, free: 258.7 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003498/6.506, allocations: 1.651 MB / 3.1 GB, free: 258.5 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003527/6.509, allocations: 1.62 MB / 3.101 GB, free: 258.3 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00518/6.515, allocations: 1.524 MB / 3.103 GB, free: 257.9 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.277e-06/6.515, allocations: 4.688 kB / 3.103 GB, free: 257.8 MB / 0.9323 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.01048/6.525, allocations: 3.474 MB / 3.106 GB, free: 256.1 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.512e-05/6.525, allocations: 5.219 kB / 3.106 GB, free: 256.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.286e-05/6.525, allocations: 0 / 3.106 GB, free: 256.1 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.775e-05/6.525, allocations: 2.781 kB / 3.106 GB, free: 256.1 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003369/6.529, allocations: 232.3 kB / 3.106 GB, free: 256 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.55e-05/6.529, allocations: 5.453 kB / 3.106 GB, free: 256 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003154/6.532, allocations: 108.5 kB / 3.107 GB, free: 256 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000632/6.532, allocations: 115.5 kB / 3.107 GB, free: 255.9 MB / 0.9323 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.0007234/6.533, allocations: 177.8 kB / 3.107 GB, free: 255.8 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008493/6.534, allocations: 174.5 kB / 3.107 GB, free: 255.7 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01248/6.547, allocations: 3.153 MB / 3.11 GB, free: 254.1 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.711e-05/6.547, allocations: 6 kB / 3.11 GB, free: 254.1 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.769e-06/6.547, allocations: 0 / 3.11 GB, free: 254.1 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.612e-05/6.547, allocations: 5.984 kB / 3.11 GB, free: 254.1 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006904/6.554, allocations: 2.47 MB / 3.112 GB, free: 251.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-05/6.554, allocations: 4 kB / 3.112 GB, free: 251.9 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003911/6.558, allocations: 227.7 kB / 3.113 GB, free: 251.7 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.088e-05/6.558, allocations: 7.938 kB / 3.113 GB, free: 251.7 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004631/6.558, allocations: 47.92 kB / 3.113 GB, free: 251.6 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.572e-06/6.558, allocations: 0.875 kB / 3.113 GB, free: 251.6 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/6.558, allocations: 0 / 3.113 GB, free: 251.6 MB / 0.9323 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008304/6.567, allocations: 2.816 MB / 3.115 GB, free: 248.8 MB / 0.9323 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.008836/6.575, allocations: 3.226 MB / 3.119 GB, free: 245.5 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003226/6.579, allocations: 0.7758 MB / 3.119 GB, free: 244.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001646/6.58, allocations: 55.97 kB / 3.119 GB, free: 244.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005102/6.586, allocations: 152.9 kB / 3.12 GB, free: 244.5 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005531/6.586, allocations: 64.39 kB / 3.12 GB, free: 244.5 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007681/6.587, allocations: 119.9 kB / 3.12 GB, free: 244.3 MB / 0.9323 GB Notification: Performance of sort global known variables: time 0.006425/6.593, allocations: 1.872 MB / 3.122 GB, free: 242.5 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.00381/6.597, allocations: 447.6 kB / 3.122 GB, free: 242 MB / 0.9323 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.001807/6.599, allocations: 464.6 kB / 3.122 GB, free: 241.6 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.006678/6.606, allocations: 3.159 MB / 3.126 GB, free: 238.4 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 7.424e-06/6.606, allocations: 0 / 3.126 GB, free: 238.4 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.003191/6.609, allocations: 1.429 MB / 3.127 GB, free: 237 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003151/6.612, allocations: 375.5 kB / 3.127 GB, free: 236.6 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01313/6.626, allocations: 3.769 MB / 3.131 GB, free: 232.8 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004146/6.63, allocations: 1.81 MB / 3.133 GB, free: 231 MB / 0.9323 GB Notification: Performance of SimCode: time 1.473e-06/6.63, allocations: 0 / 3.133 GB, free: 231 MB / 0.9323 GB (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_DryCoil_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_DryCoil.fmu > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil.pipe 2>&1)