Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil") translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil") [: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.1-maint.8.0.x/package.mo): time 1.589/1.589, allocations: 285.5 MB / 292.8 MB, free: 10.45 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.001488/0.001488, allocations: 177.3 kB / 361.1 MB, free: 7.105 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.509/1.509, allocations: 205.1 MB / 0.6195 GB, free: 11.94 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.000882/0.000882, allocations: 84.09 kB / 0.7326 GB, free: 44.46 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.106e-05/1.136e-05, allocations: 4 kB / 0.8511 GB, free: 3.207 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7657/0.7658, allocations: 115.3 MB / 0.9637 GB, free: 78.06 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.542/5.308, allocations: 2.07 GB / 3.033 GB, free: 68.64 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002759/5.308, allocations: 95.94 kB / 3.034 GB, free: 68.55 MB / 0.948 GB Notification: Performance of FrontEnd: time 0.08422/5.392, allocations: 41.22 MB / 3.074 GB, free: 27.5 MB / 0.948 GB Notification: Performance of Transformations before backend: time 6.807e-05/5.393, allocations: 20 kB / 3.074 GB, free: 27.48 MB / 0.948 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.00243/5.395, allocations: 1.438 MB / 3.075 GB, free: 25.98 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.541e-05/5.395, allocations: 8.531 kB / 3.075 GB, free: 25.98 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006589/5.402, allocations: 0.7002 MB / 3.076 GB, free: 25.27 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003343/5.405, allocations: 1.736 MB / 3.078 GB, free: 23.49 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002634/5.405, allocations: 135.9 kB / 3.078 GB, free: 23.35 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001726/5.406, allocations: 20 kB / 3.078 GB, free: 23.33 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003473/5.409, allocations: 2.906 MB / 3.081 GB, free: 20.42 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002353/5.411, allocations: 2.027 MB / 3.083 GB, free: 18.39 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.509e-05/5.411, allocations: 0 / 3.083 GB, free: 18.39 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001547/5.412, allocations: 11.98 kB / 3.083 GB, free: 18.38 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.123e-05/5.412, allocations: 12 kB / 3.083 GB, free: 18.36 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009719/5.421, allocations: 5.166 MB / 3.088 GB, free: 13.16 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002471/5.424, allocations: 2.487 MB / 3.09 GB, free: 10.66 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001251/5.425, allocations: 1.283 MB / 3.091 GB, free: 9.375 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 9.014e-05/5.425, allocations: 20.42 kB / 3.091 GB, free: 9.352 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001977/5.427, allocations: 1.898 MB / 3.093 GB, free: 7.438 MB / 0.948 GB Notification: Performance of pre-optimization done (n=61): time 4.789e-06/5.427, allocations: 3.984 kB / 3.093 GB, free: 7.434 MB / 0.948 GB Notification: Performance of matching and sorting (n=61): time 0.004589/5.432, allocations: 2.751 MB / 3.096 GB, free: 4.672 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.631e-05/5.432, allocations: 103.3 kB / 3.096 GB, free: 4.555 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003599/5.436, allocations: 2.441 MB / 3.098 GB, free: 2.117 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0004085/5.436, allocations: 41.7 kB / 3.098 GB, free: 2.07 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002611/5.436, allocations: 289.2 kB / 3.099 GB, free: 1.785 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002693/5.437, allocations: 181.4 kB / 3.099 GB, free: 1.605 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001164/5.437, allocations: 0 / 3.099 GB, free: 1.605 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.000108/5.437, allocations: 334 kB / 3.099 GB, free: 1.273 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.3981/5.835, allocations: 1.644 MB / 3.101 GB, free: 414.4 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001955/5.837, allocations: 1.617 MB / 3.102 GB, free: 414.4 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002651/5.84, allocations: 1.523 MB / 3.104 GB, free: 414.4 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.359e-06/5.84, allocations: 3.688 kB / 3.104 GB, free: 414.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.005104/5.845, allocations: 3.474 MB / 3.107 GB, free: 414.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/5.845, allocations: 3.906 kB / 3.107 GB, free: 414.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.084e-05/5.845, allocations: 10.33 kB / 3.107 GB, free: 414.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.223e-05/5.845, allocations: 3.906 kB / 3.107 GB, free: 414.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001568/5.846, allocations: 233.3 kB / 3.107 GB, free: 414.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/5.846, allocations: 0 / 3.107 GB, free: 414.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001546/5.848, allocations: 113.2 kB / 3.108 GB, free: 414.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002375/5.848, allocations: 117.5 kB / 3.108 GB, free: 414.3 MB / 0.948 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.0004235/5.849, allocations: 162.7 kB / 3.108 GB, free: 414.2 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000322/5.849, allocations: 170.8 kB / 3.108 GB, free: 414.1 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005304/5.854, allocations: 3.161 MB / 3.111 GB, free: 414 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.117e-05/5.854, allocations: 10.03 kB / 3.111 GB, free: 414 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/5.854, allocations: 0 / 3.111 GB, free: 414 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.164e-06/5.854, allocations: 3.469 kB / 3.111 GB, free: 414 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002923/5.857, allocations: 2.468 MB / 3.114 GB, free: 413.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/5.857, allocations: 0 / 3.114 GB, free: 413.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00154/5.859, allocations: 230 kB / 3.114 GB, free: 413.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.858e-06/5.859, allocations: 3.938 kB / 3.114 GB, free: 413.8 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00015/5.859, allocations: 48.23 kB / 3.114 GB, free: 413.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.843e-06/5.859, allocations: 7.75 kB / 3.114 GB, free: 413.8 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/5.859, allocations: 3.094 kB / 3.114 GB, free: 413.8 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004429/5.863, allocations: 2.818 MB / 3.117 GB, free: 413.7 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00144/5.865, allocations: 0.7775 MB / 3.117 GB, free: 413.5 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004159/5.865, allocations: 50.02 kB / 3.117 GB, free: 413.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001561/5.867, allocations: 157.6 kB / 3.118 GB, free: 413.5 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001679/5.867, allocations: 60.11 kB / 3.118 GB, free: 413.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000213/5.867, allocations: 111.1 kB / 3.118 GB, free: 413.5 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.002542/5.87, allocations: 1.877 MB / 3.12 GB, free: 413.4 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001502/5.871, allocations: 434.7 kB / 3.12 GB, free: 413.4 MB / 0.948 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.001045/5.872, allocations: 465.7 kB / 3.12 GB, free: 413.3 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.004328/5.877, allocations: 3.158 MB / 3.123 GB, free: 413.2 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/5.877, allocations: 3.906 kB / 3.123 GB, free: 413.2 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001982/5.879, allocations: 1.429 MB / 3.125 GB, free: 413.2 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001958/5.881, allocations: 373.4 kB / 3.125 GB, free: 413.2 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008248/5.889, allocations: 3.761 MB / 3.129 GB, free: 412.7 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002401/5.891, allocations: 1.811 MB / 3.131 GB, free: 412 MB / 0.948 GB Notification: Performance of SimCode: time 7.72e-07/5.891, allocations: 3.812 kB / 3.131 GB, free: 412 MB / 0.948 GB Notification: Performance of Templates: time 0.06384/5.955, allocations: 35.6 MB / 3.165 GB, free: 410.4 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil.pipe 2>&1)