Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil.conf.json 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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil,fileNamePrefix="Buildings_7_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 7.0.1/package.mo): time 2.207/2.207, allocations: 248.6 MB / 255.9 MB, free: 7.109 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001688/0.001688, allocations: 179.3 kB / 315.1 MB, free: 4.238 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.941/1.941, allocations: 205.2 MB / 0.5658 GB, free: 336 kB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001339/0.001339, allocations: 98.89 kB / 0.67 GB, free: 5.543 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.5038/0.5052, allocations: 112.4 MB / 0.7797 GB, free: 103.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2222/0.7274, allocations: 106.3 MB / 0.8835 GB, free: 13.29 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.73/6.458, allocations: 2.189 GB / 3.072 GB, free: 128.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004678/6.458, allocations: 98.67 kB / 3.072 GB, free: 128.1 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.1609/6.619, allocations: 42.69 MB / 3.114 GB, free: 90.88 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.831e-05/6.619, allocations: 8 kB / 3.114 GB, free: 90.87 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01428/6.633, allocations: 0.7041 MB / 3.115 GB, free: 90.16 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006359/6.64, allocations: 1.736 MB / 3.116 GB, free: 88.38 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008513/6.641, allocations: 132 kB / 3.116 GB, free: 88.24 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006526/6.642, allocations: 23.98 kB / 3.116 GB, free: 88.21 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01189/6.653, allocations: 2.902 MB / 3.119 GB, free: 85.31 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006964/6.66, allocations: 2.031 MB / 3.121 GB, free: 83.27 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.302e-05/6.661, allocations: 0 / 3.121 GB, free: 83.27 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003282/6.661, allocations: 3.984 kB / 3.121 GB, free: 83.27 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.23e-05/6.661, allocations: 8 kB / 3.121 GB, free: 83.26 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01788/6.679, allocations: 5.17 MB / 3.126 GB, free: 78.05 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005566/6.684, allocations: 2.484 MB / 3.129 GB, free: 75.55 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002937/6.687, allocations: 1.294 MB / 3.13 GB, free: 74.26 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000118/6.688, allocations: 28.34 kB / 3.13 GB, free: 74.23 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004222/6.692, allocations: 1.884 MB / 3.132 GB, free: 72.32 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=61): time 4.999e-06/6.692, allocations: 0 / 3.132 GB, free: 72.32 MB / 0.8698 GB Notification: Performance of matching and sorting (n=61): time 0.008482/6.7, allocations: 2.751 MB / 3.135 GB, free: 69.57 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.374e-05/6.701, allocations: 93.59 kB / 3.135 GB, free: 69.46 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00554/6.706, allocations: 2.448 MB / 3.137 GB, free: 67.01 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0006287/6.707, allocations: 45.69 kB / 3.137 GB, free: 66.96 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003456/6.707, allocations: 289.3 kB / 3.137 GB, free: 66.67 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004031/6.708, allocations: 169.6 kB / 3.138 GB, free: 66.5 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002195/6.708, allocations: 4 kB / 3.138 GB, free: 66.5 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.087e-05/6.708, allocations: 334 kB / 3.138 GB, free: 66.17 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003347/6.711, allocations: 1.646 MB / 3.139 GB, free: 64.52 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003503/6.715, allocations: 1.621 MB / 3.141 GB, free: 62.89 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005319/6.72, allocations: 1.529 MB / 3.143 GB, free: 61.36 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.394e-06/6.72, allocations: 0 / 3.143 GB, free: 61.36 MB / 0.8698 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.009676/6.73, allocations: 3.468 MB / 3.146 GB, free: 57.89 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.433e-05/6.73, allocations: 5.406 kB / 3.146 GB, free: 57.88 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.162e-05/6.73, allocations: 3.938 kB / 3.146 GB, free: 57.88 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.382e-05/6.73, allocations: 8 kB / 3.146 GB, free: 57.87 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003237/6.733, allocations: 227.7 kB / 3.146 GB, free: 57.65 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.239e-05/6.733, allocations: 0 / 3.146 GB, free: 57.65 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003473/6.737, allocations: 123.5 kB / 3.146 GB, free: 57.53 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005229/6.737, allocations: 115.9 kB / 3.146 GB, free: 57.41 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.0006552/6.738, allocations: 166.5 kB / 3.147 GB, free: 57.24 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006536/6.739, allocations: 169.9 kB / 3.147 GB, free: 57.07 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01027/6.749, allocations: 3.152 MB / 3.15 GB, free: 53.91 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.47e-05/6.749, allocations: 8 kB / 3.15 GB, free: 53.9 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.629e-06/6.749, allocations: 3.984 kB / 3.15 GB, free: 53.9 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.12e-05/6.749, allocations: 4 kB / 3.15 GB, free: 53.89 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005055/6.754, allocations: 2.469 MB / 3.152 GB, free: 51.39 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.568e-06/6.754, allocations: 7.938 kB / 3.152 GB, free: 51.38 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003234/6.757, allocations: 223.7 kB / 3.152 GB, free: 51.16 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.318e-05/6.758, allocations: 4 kB / 3.152 GB, free: 51.16 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003148/6.758, allocations: 51.92 kB / 3.153 GB, free: 51.11 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.123e-06/6.758, allocations: 4 kB / 3.153 GB, free: 51.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/6.758, allocations: 3.984 kB / 3.153 GB, free: 51.1 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.009397/6.767, allocations: 2.816 MB / 3.155 GB, free: 48.26 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.008835/6.776, allocations: 3.234 MB / 3.158 GB, free: 45 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002303/6.779, allocations: 0.7759 MB / 3.159 GB, free: 44.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008141/6.779, allocations: 55.97 kB / 3.159 GB, free: 44.15 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003702/6.783, allocations: 151.9 kB / 3.159 GB, free: 44 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003377/6.784, allocations: 64.39 kB / 3.159 GB, free: 43.94 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004322/6.784, allocations: 111.9 kB / 3.16 GB, free: 43.83 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.004331/6.788, allocations: 1.872 MB / 3.161 GB, free: 41.96 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.00405/6.792, allocations: 447.5 kB / 3.162 GB, free: 41.53 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.00176/6.794, allocations: 467.5 kB / 3.162 GB, free: 41.07 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.007106/6.801, allocations: 3.159 MB / 3.165 GB, free: 37.89 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 7.825e-06/6.801, allocations: 0 / 3.165 GB, free: 37.89 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.003217/6.805, allocations: 1.432 MB / 3.167 GB, free: 36.46 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003088/6.808, allocations: 376.8 kB / 3.167 GB, free: 36.09 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01322/6.821, allocations: 3.756 MB / 3.171 GB, free: 32.29 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004039/6.825, allocations: 1.817 MB / 3.173 GB, free: 30.45 MB / 0.8698 GB Notification: Performance of SimCode: time 1.754e-06/6.825, allocations: 0 / 3.173 GB, free: 30.45 MB / 0.8698 GB