Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.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.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.386/1.386, allocations: 289.8 MB / 297.1 MB, free: 9.012 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.001048/0.001048, allocations: 177.3 kB / 366.3 MB, free: 11.32 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.06/1.06, allocations: 205.1 MB / 0.6256 GB, free: 11.51 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008342/0.0008343, allocations: 91.62 kB / 0.7396 GB, free: 6.707 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 5.421e-06/5.531e-06, allocations: 0 / 0.859 GB, free: 148.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1475/0.1475, allocations: 116.3 MB / 0.9726 GB, free: 31.7 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.422/0.5696, allocations: 141.1 MB / 1.11 GB, free: 16.02 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002085/0.5698, allocations: 87.19 kB / 1.11 GB, free: 16.02 MB / 0.6823 GB Notification: Performance of FrontEnd: time 0.01074/0.5806, allocations: 4.33 MB / 1.115 GB, free: 15.7 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.382e-05/0.5806, allocations: 7.344 kB / 1.115 GB, free: 15.7 MB / 0.6823 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.0005263/0.5812, allocations: 0.4999 MB / 1.115 GB, free: 15.3 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 2.945e-05/0.5812, allocations: 12.66 kB / 1.115 GB, free: 15.3 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.682e-05/0.5813, allocations: 35.62 kB / 1.115 GB, free: 15.28 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002471/0.5815, allocations: 262.8 kB / 1.115 GB, free: 15.06 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.267e-05/0.5816, allocations: 12.78 kB / 1.115 GB, free: 15.06 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.982e-05/0.5816, allocations: 18.83 kB / 1.116 GB, free: 15.06 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003588/0.582, allocations: 194.7 kB / 1.116 GB, free: 15.06 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003962/0.5824, allocations: 266.1 kB / 1.116 GB, free: 15 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.5824, allocations: 0 / 1.116 GB, free: 15 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.409e-05/0.5824, allocations: 6.797 kB / 1.116 GB, free: 15 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.355e-06/0.5824, allocations: 13.91 kB / 1.116 GB, free: 14.99 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001161/0.5836, allocations: 0.8931 MB / 1.117 GB, free: 14.61 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003677/0.584, allocations: 215.4 kB / 1.117 GB, free: 14.59 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001407/0.5841, allocations: 99.25 kB / 1.117 GB, free: 14.57 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.102e-05/0.5842, allocations: 3.422 kB / 1.117 GB, free: 14.57 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001712/0.5843, allocations: 137.9 kB / 1.117 GB, free: 14.52 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=30): time 1.473e-06/0.5843, allocations: 1.438 kB / 1.117 GB, free: 14.52 MB / 0.6823 GB Notification: Performance of matching and sorting (n=30): time 0.0003224/0.5847, allocations: 192.2 kB / 1.117 GB, free: 14.47 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.966e-05/0.5847, allocations: 57.86 kB / 1.118 GB, free: 14.41 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001096/0.5848, allocations: 167.5 kB / 1.118 GB, free: 14.31 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.975e-05/0.5848, allocations: 33.84 kB / 1.118 GB, free: 14.28 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.296e-05/0.5849, allocations: 146.2 kB / 1.118 GB, free: 14.17 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 4.698e-05/0.585, allocations: 67.7 kB / 1.118 GB, free: 14.13 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.295e-05/0.585, allocations: 0 / 1.118 GB, free: 14.13 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 4.863e-05/0.585, allocations: 333.1 kB / 1.118 GB, free: 13.82 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001276/0.5852, allocations: 78.17 kB / 1.118 GB, free: 13.81 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001467/0.5853, allocations: 130.8 kB / 1.118 GB, free: 13.76 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001222/0.5854, allocations: 74.86 kB / 1.118 GB, free: 13.75 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.5855, allocations: 0 / 1.118 GB, free: 13.75 MB / 0.6823 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.000355/0.5858, allocations: 252.2 kB / 1.119 GB, free: 13.69 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.021e-05/0.5858, allocations: 8.5 kB / 1.119 GB, free: 13.69 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.5858, allocations: 1.5 kB / 1.119 GB, free: 13.69 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.5859, allocations: 3.094 kB / 1.119 GB, free: 13.69 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001926/0.5861, allocations: 48.3 kB / 1.119 GB, free: 13.68 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.5861, allocations: 3.344 kB / 1.119 GB, free: 13.68 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000206/0.5863, allocations: 55.12 kB / 1.119 GB, free: 13.66 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.12e-05/0.5863, allocations: 12.28 kB / 1.119 GB, free: 13.66 MB / 0.6823 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 7.601e-05/0.5864, allocations: 131 kB / 1.119 GB, free: 13.54 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.01e-05/0.5864, allocations: 18.83 kB / 1.119 GB, free: 13.54 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003929/0.5868, allocations: 226.2 kB / 1.119 GB, free: 13.48 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.5868, allocations: 4.281 kB / 1.119 GB, free: 13.48 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.5869, allocations: 0 / 1.119 GB, free: 13.48 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.5869, allocations: 5.547 kB / 1.119 GB, free: 13.48 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000719/0.5876, allocations: 0.6201 MB / 1.12 GB, free: 13.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.5876, allocations: 1.219 kB / 1.12 GB, free: 13.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001476/0.5878, allocations: 34.12 kB / 1.12 GB, free: 13.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-06/0.5878, allocations: 2.953 kB / 1.12 GB, free: 13.2 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.666e-05/0.5878, allocations: 5.281 kB / 1.12 GB, free: 13.19 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.5878, allocations: 2.953 kB / 1.12 GB, free: 13.19 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.5878, allocations: 1.312 kB / 1.12 GB, free: 13.19 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003038/0.5881, allocations: 299 kB / 1.12 GB, free: 13.04 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 2.823e-05/0.5881, allocations: 100.2 kB / 1.12 GB, free: 12.93 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.555e-05/0.5882, allocations: 12.47 kB / 1.12 GB, free: 12.93 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002136/0.5884, allocations: 40.41 kB / 1.12 GB, free: 12.92 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.531e-05/0.5885, allocations: 34.88 kB / 1.12 GB, free: 12.92 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.036e-05/0.5885, allocations: 8.5 kB / 1.12 GB, free: 12.92 MB / 0.6823 GB Notification: Performance of sort global known variables: time 5.642e-05/0.5886, allocations: 120.1 kB / 1.12 GB, free: 12.84 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002767/0.5889, allocations: 46.88 kB / 1.121 GB, free: 12.84 MB / 0.6823 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.0001157/0.589, allocations: 124.1 kB / 1.121 GB, free: 12.74 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0003137/0.5893, allocations: 217 kB / 1.121 GB, free: 12.72 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.222e-06/0.5893, allocations: 0 / 1.121 GB, free: 12.72 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.000154/0.5895, allocations: 109.9 kB / 1.121 GB, free: 12.72 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002164/0.5897, allocations: 21.73 kB / 1.121 GB, free: 12.72 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005758/0.5903, allocations: 305.2 kB / 1.121 GB, free: 12.59 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003988/0.5907, allocations: 0.8021 MB / 1.122 GB, free: 27.88 MB / 0.698 GB Notification: Performance of SimCode: time 2.71e-07/0.5907, allocations: 0 / 1.122 GB, free: 27.88 MB / 0.698 GB Notification: Performance of Templates: time 0.005568/0.5963, allocations: 2.906 MB / 1.125 GB, free: 27.68 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.makefile (rm -f Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; mkfifo Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; head -c 1048576 < Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe >> ../files/Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.sim & ./Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe 2>&1)