Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat") translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat") [: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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.125/2.125, allocations: 284.9 MB / 292.2 MB, free: 10.75 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001573/0.001573, allocations: 185.2 kB / 360.4 MB, free: 7.496 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.645/1.645, allocations: 205.1 MB / 0.6188 GB, free: 12.42 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001217/0.001216, allocations: 92.92 kB / 0.7318 GB, free: 44.91 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.002e-05/1.006e-05, allocations: 0 / 0.8502 GB, free: 3.785 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5533/0.5533, allocations: 115.2 MB / 0.9628 GB, free: 78.2 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2075/0.7608, allocations: 140 MB / 1.099 GB, free: 0.8086 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002961/0.7611, allocations: 91.69 kB / 1.1 GB, free: 0.7227 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.01886/0.78, allocations: 4.342 MB / 1.104 GB, free: 12.43 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.273e-05/0.7801, allocations: 4 kB / 1.104 GB, free: 12.43 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.0009958/0.7811, allocations: 0.505 MB / 1.104 GB, free: 11.88 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/0.7812, allocations: 8.531 kB / 1.104 GB, free: 11.87 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000102/0.7813, allocations: 31.62 kB / 1.104 GB, free: 11.84 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004855/0.7818, allocations: 267.3 kB / 1.105 GB, free: 11.54 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.816e-05/0.7818, allocations: 12 kB / 1.105 GB, free: 11.52 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.8e-05/0.7819, allocations: 16 kB / 1.105 GB, free: 11.51 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007351/0.7826, allocations: 201.3 kB / 1.105 GB, free: 11.31 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000711/0.7834, allocations: 268.3 kB / 1.105 GB, free: 11.04 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.42e-05/0.7834, allocations: 0.6562 kB / 1.105 GB, free: 11.04 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.78e-05/0.7834, allocations: 0 / 1.105 GB, free: 11.04 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.161e-05/0.7835, allocations: 4 kB / 1.105 GB, free: 11.04 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002282/0.7858, allocations: 0.9044 MB / 1.106 GB, free: 10.09 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006978/0.7865, allocations: 218 kB / 1.106 GB, free: 9.867 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002741/0.7868, allocations: 101.3 kB / 1.106 GB, free: 9.766 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.646e-05/0.7868, allocations: 8.234 kB / 1.106 GB, free: 9.758 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003259/0.7872, allocations: 140.8 kB / 1.106 GB, free: 9.609 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=30): time 2.756e-06/0.7872, allocations: 0 / 1.106 GB, free: 9.609 MB / 0.7136 GB Notification: Performance of matching and sorting (n=30): time 0.0005851/0.7878, allocations: 181.5 kB / 1.107 GB, free: 9.426 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.905e-05/0.7878, allocations: 63.39 kB / 1.107 GB, free: 9.352 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002122/0.7881, allocations: 162.3 kB / 1.107 GB, free: 9.188 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.816e-05/0.7881, allocations: 37.69 kB / 1.107 GB, free: 9.145 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001122/0.7883, allocations: 140.5 kB / 1.107 GB, free: 9.004 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 9.702e-05/0.7884, allocations: 75.06 kB / 1.107 GB, free: 8.93 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.208e-05/0.7884, allocations: 0 / 1.107 GB, free: 8.93 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001385/0.7885, allocations: 334.8 kB / 1.107 GB, free: 8.594 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002463/0.7888, allocations: 72 kB / 1.107 GB, free: 8.523 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002993/0.7891, allocations: 129.1 kB / 1.108 GB, free: 8.379 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002283/0.7894, allocations: 75.72 kB / 1.108 GB, free: 8.305 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/0.7894, allocations: 0 / 1.108 GB, free: 8.305 MB / 0.7136 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0006835/0.7901, allocations: 248.8 kB / 1.108 GB, free: 8.055 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.7901, allocations: 9.812 kB / 1.108 GB, free: 8.047 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.248e-05/0.7901, allocations: 7.906 kB / 1.108 GB, free: 8.039 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.799e-05/0.7901, allocations: 160 / 1.108 GB, free: 8.039 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003676/0.7905, allocations: 51.91 kB / 1.108 GB, free: 7.988 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.7905, allocations: 0 / 1.108 GB, free: 7.988 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004077/0.791, allocations: 51.75 kB / 1.108 GB, free: 7.938 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.774e-05/0.791, allocations: 11.98 kB / 1.108 GB, free: 7.926 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 31 ($PRE.heaCon.offToOn.enableFire,$PRE.heaCon.onToOff.enableFire,$whenCondition2,$whenCondition1,$PRE.heaCon.off.localActive,heaCon.off.localActive,$PRE.heaCon.off.newActive,heaCon.off.newActive,$PRE.heaCon.off.oldActive,heaCon.off.oldActive,heaCon.off.active,$PRE.heaCon.on.localActive,heaCon.on.localActive,$PRE.heaCon.on.newActive,heaCon.on.newActive,$PRE.heaCon.on.oldActive,heaCon.on.oldActive,heaCon.on.active,heaCon.offToOn.enableFire,heaCon.offToOn.fire,$PRE.heaCon.offToOn.t_start,heaCon.offToOn.t_start,heaCon.offToOn.condition,heaCon.onToOff.enableFire,heaCon.onToOff.fire,$PRE.heaCon.onToOff.t_start,heaCon.onToOff.t_start,heaCon.onToOff.condition,heaCon.stateGraphRoot.activeSteps,heaCon.stateGraphRoot.resume,heaCon.stateGraphRoot.suspend) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * 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.0001617/0.7912, allocations: 133.8 kB / 1.108 GB, free: 7.789 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.02e-05/0.7912, allocations: 19.72 kB / 1.108 GB, free: 7.77 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007088/0.792, allocations: 233.8 kB / 1.108 GB, free: 7.535 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.656e-06/0.792, allocations: 4 kB / 1.108 GB, free: 7.531 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.792, allocations: 1.5 kB / 1.108 GB, free: 7.531 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.877e-06/0.792, allocations: 3.984 kB / 1.108 GB, free: 7.527 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001452/0.7935, allocations: 0.6163 MB / 1.109 GB, free: 6.867 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.7935, allocations: 0 / 1.109 GB, free: 6.867 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003068/0.7938, allocations: 31.97 kB / 1.109 GB, free: 6.836 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.616e-06/0.7938, allocations: 4 kB / 1.109 GB, free: 6.832 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.506e-05/0.7939, allocations: 0 / 1.109 GB, free: 6.832 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.7939, allocations: 0 / 1.109 GB, free: 6.832 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.7939, allocations: 0 / 1.109 GB, free: 6.832 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006036/0.7945, allocations: 312.9 kB / 1.109 GB, free: 6.512 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.044e-05/0.7946, allocations: 102.6 kB / 1.109 GB, free: 6.395 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.75e-05/0.7947, allocations: 4 kB / 1.109 GB, free: 6.391 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004051/0.7951, allocations: 35.97 kB / 1.109 GB, free: 6.355 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001375/0.7952, allocations: 35.94 kB / 1.109 GB, free: 6.32 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.212e-05/0.7953, allocations: 8 kB / 1.109 GB, free: 6.312 MB / 0.7136 GB Notification: Performance of sort global known variables: time 0.0001207/0.7954, allocations: 120 kB / 1.11 GB, free: 6.195 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.00047/0.7959, allocations: 48 kB / 1.11 GB, free: 6.148 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 21 (heaCon.offToOn.enableFire,heaCon.onToOff.enableFire,heaCon.on.localActive,heaCon.off.localActive,$cse1,$cse2,$whenCondition2,$whenCondition1,heaCon.off.newActive,heaCon.off.oldActive,heaCon.off.active,heaCon.on.newActive,heaCon.on.oldActive,heaCon.on.active,heaCon.offToOn.fire,heaCon.offToOn.t_start,heaCon.offToOn.condition,heaCon.onToOff.fire,heaCon.onToOff.t_start,heaCon.onToOff.condition,heaCon.stateGraphRoot.activeSteps) * Number of discrete states: 2 (heaCon.off.newActive,heaCon.on.newActive) * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0002034/0.7961, allocations: 117 kB / 1.11 GB, free: 6.027 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0005956/0.7967, allocations: 211.8 kB / 1.11 GB, free: 5.82 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.7967, allocations: 0 / 1.11 GB, free: 5.82 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0003032/0.797, allocations: 111.9 kB / 1.11 GB, free: 5.711 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003682/0.7974, allocations: 22.27 kB / 1.11 GB, free: 5.691 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001082/0.7985, allocations: 314.3 kB / 1.11 GB, free: 5.363 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005435/0.7991, allocations: 0.7982 MB / 1.111 GB, free: 4.539 MB / 0.7136 GB Notification: Performance of SimCode: time 8.51e-07/0.7991, allocations: 0 / 1.111 GB, free: 4.539 MB / 0.7136 GB Notification: Performance of Templates: time 0.009776/0.8089, allocations: 2.906 MB / 1.114 GB, free: 1.715 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.makefile (rm -f Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; mkfifo Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe >> ../files/Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.sim & ./Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe 2>&1)