Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_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.1.4-maint.8.1.x/package.mo): time 1.541/1.541, allocations: 289.8 MB / 297.1 MB, free: 6.68 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.001073/0.001073, allocations: 169.3 kB / 366.3 MB, free: 1.977 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.644/1.644, allocations: 205.1 MB / 0.6256 GB, free: 7.449 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.001031/0.001031, allocations: 96.05 kB / 0.7396 GB, free: 39.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.033e-05/1.035e-05, allocations: 4 kB / 0.859 GB, free: 13.55 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7127/0.7127, allocations: 116.3 MB / 0.9726 GB, free: 76.33 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.293/5.006, allocations: 2.071 GB / 3.043 GB, free: 38.35 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003047/5.006, allocations: 99.94 kB / 3.043 GB, free: 38.25 MB / 0.948 GB Notification: Performance of FrontEnd: time 0.6314/5.638, allocations: 41.21 MB / 3.084 GB, free: 329.3 MB / 0.948 GB Notification: Performance of Transformations before backend: time 6.013e-05/5.638, allocations: 22.53 kB / 3.084 GB, free: 329.3 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.002001/5.64, allocations: 1.438 MB / 3.085 GB, free: 328.5 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/5.64, allocations: 9.344 kB / 3.085 GB, free: 328.5 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006132/5.646, allocations: 0.6995 MB / 3.086 GB, free: 328.4 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003022/5.649, allocations: 1.737 MB / 3.087 GB, free: 328 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002636/5.649, allocations: 134.8 kB / 3.088 GB, free: 328 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001633/5.65, allocations: 24.81 kB / 3.088 GB, free: 328 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003829/5.653, allocations: 2.898 MB / 3.09 GB, free: 328 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00238/5.656, allocations: 2.03 MB / 3.092 GB, free: 327.9 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.511e-05/5.656, allocations: 3.906 kB / 3.092 GB, free: 327.9 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001482/5.656, allocations: 3.75 kB / 3.092 GB, free: 327.9 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.115e-05/5.656, allocations: 7.531 kB / 3.092 GB, free: 327.9 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009472/5.665, allocations: 5.18 MB / 3.097 GB, free: 327.6 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002587/5.668, allocations: 2.487 MB / 3.1 GB, free: 326.6 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001429/5.67, allocations: 1.288 MB / 3.101 GB, free: 326.1 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001039/5.67, allocations: 24.7 kB / 3.101 GB, free: 326.1 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002126/5.672, allocations: 1.888 MB / 3.103 GB, free: 325.4 MB / 0.948 GB Notification: Performance of pre-optimization done (n=61): time 5.209e-06/5.672, allocations: 0 / 3.103 GB, free: 325.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=61): time 0.005547/5.677, allocations: 2.748 MB / 3.106 GB, free: 324.3 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.191e-05/5.677, allocations: 97.44 kB / 3.106 GB, free: 324.2 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00633/5.684, allocations: 2.449 MB / 3.108 GB, free: 323.4 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0004998/5.684, allocations: 39.95 kB / 3.108 GB, free: 323.4 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005521/5.685, allocations: 293.1 kB / 3.109 GB, free: 323.2 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004595/5.685, allocations: 179.2 kB / 3.109 GB, free: 323.1 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002188/5.686, allocations: 1.344 kB / 3.109 GB, free: 323.1 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.000115/5.686, allocations: 332.7 kB / 3.109 GB, free: 322.7 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002639/5.688, allocations: 1.652 MB / 3.111 GB, free: 322.1 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002093/5.69, allocations: 1.617 MB / 3.112 GB, free: 321.5 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003072/5.694, allocations: 1.523 MB / 3.114 GB, free: 320.9 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.088e-05/5.694, allocations: 7.812 kB / 3.114 GB, free: 320.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.007296/5.701, allocations: 3.469 MB / 3.117 GB, free: 319.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.602e-05/5.701, allocations: 4.5 kB / 3.117 GB, free: 319.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.108e-05/5.701, allocations: 1.938 kB / 3.117 GB, free: 319.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.049e-05/5.701, allocations: 2.094 kB / 3.117 GB, free: 319.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002128/5.703, allocations: 234 kB / 3.117 GB, free: 319.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.524e-05/5.703, allocations: 2 kB / 3.117 GB, free: 319.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002083/5.705, allocations: 113 kB / 3.117 GB, free: 319.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003427/5.706, allocations: 113.5 kB / 3.118 GB, free: 319.7 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.0005963/5.706, allocations: 164.8 kB / 3.118 GB, free: 319.5 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007345/5.707, allocations: 178.8 kB / 3.118 GB, free: 319.4 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006686/5.714, allocations: 3.163 MB / 3.121 GB, free: 318.4 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.159e-05/5.714, allocations: 6.562 kB / 3.121 GB, free: 318.4 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.727e-06/5.714, allocations: 0.9688 kB / 3.121 GB, free: 318.4 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.017e-06/5.714, allocations: 3.75 kB / 3.121 GB, free: 318.4 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003933/5.718, allocations: 2.467 MB / 3.123 GB, free: 317.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.031e-06/5.718, allocations: 1.094 kB / 3.123 GB, free: 317.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001564/5.719, allocations: 228.7 kB / 3.124 GB, free: 317.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.399e-05/5.719, allocations: 6.625 kB / 3.124 GB, free: 317.3 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001584/5.719, allocations: 47.64 kB / 3.124 GB, free: 317.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.211e-06/5.719, allocations: 2.594 kB / 3.124 GB, free: 317.3 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/5.719, allocations: 0 / 3.124 GB, free: 317.3 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004654/5.724, allocations: 2.817 MB / 3.126 GB, free: 316.2 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00162/5.726, allocations: 0.7779 MB / 3.127 GB, free: 315.8 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000709/5.726, allocations: 52 kB / 3.127 GB, free: 315.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002201/5.729, allocations: 159.7 kB / 3.127 GB, free: 315.7 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002079/5.729, allocations: 60.25 kB / 3.127 GB, free: 315.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003161/5.729, allocations: 111.4 kB / 3.128 GB, free: 315.7 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.003998/5.733, allocations: 1.883 MB / 3.129 GB, free: 315 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001993/5.735, allocations: 427 kB / 3.13 GB, free: 315 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.001516/5.737, allocations: 469.9 kB / 3.13 GB, free: 314.8 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.004014/5.741, allocations: 3.156 MB / 3.133 GB, free: 313.6 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/5.741, allocations: 2.688 kB / 3.133 GB, free: 313.6 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001741/5.743, allocations: 1.427 MB / 3.135 GB, free: 313 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002057/5.745, allocations: 380.4 kB / 3.135 GB, free: 312.9 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00812/5.753, allocations: 3.768 MB / 3.139 GB, free: 311.6 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002517/5.755, allocations: 1.809 MB / 3.141 GB, free: 310.6 MB / 0.948 GB Notification: Performance of SimCode: time 1.332e-06/5.755, allocations: 0.8438 kB / 3.141 GB, free: 310.6 MB / 0.948 GB Notification: Performance of Templates: time 0.05462/5.81, allocations: 35.6 MB / 3.175 GB, free: 288.3 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil.makefile (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil.pipe 2>&1)