Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.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.CoolingTowerSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed") translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed") [: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.357/1.357, allocations: 289.8 MB / 297.1 MB, free: 6.641 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.0009343/0.0009343, allocations: 179.9 kB / 366.3 MB, free: 1.969 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.061/1.061, allocations: 205.1 MB / 0.6256 GB, free: 5.812 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.0008172/0.0008172, allocations: 82.34 kB / 0.7395 GB, free: 39.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.583e-06/6.732e-06, allocations: 0 / 0.859 GB, free: 13.36 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4322/0.4322, allocations: 116.3 MB / 0.9726 GB, free: 68.64 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1498/0.5821, allocations: 148.5 MB / 1.118 GB, free: 15.95 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002504/0.5824, allocations: 91.88 kB / 1.118 GB, free: 15.87 MB / 0.7292 GB Notification: Performance of FrontEnd: time 0.02555/0.6079, allocations: 10.02 MB / 1.127 GB, free: 5.859 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.361e-05/0.608, allocations: 13.53 kB / 1.127 GB, free: 5.848 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.0008914/0.6089, allocations: 0.6955 MB / 1.128 GB, free: 5.102 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.113e-05/0.6089, allocations: 8.031 kB / 1.128 GB, free: 5.094 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001018/0.609, allocations: 55.34 kB / 1.128 GB, free: 5.039 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006086/0.6096, allocations: 425.5 kB / 1.129 GB, free: 4.582 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.129e-05/0.6097, allocations: 8 kB / 1.129 GB, free: 4.574 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.51e-05/0.6097, allocations: 20 kB / 1.129 GB, free: 4.555 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003786/0.6101, allocations: 177.3 kB / 1.129 GB, free: 4.379 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004183/0.6105, allocations: 297.6 kB / 1.129 GB, free: 4.062 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.6106, allocations: 0 / 1.129 GB, free: 4.062 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.735e-05/0.6106, allocations: 4 kB / 1.129 GB, free: 4.059 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.935e-06/0.6106, allocations: 4 kB / 1.129 GB, free: 4.055 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001319/0.6119, allocations: 1.1 MB / 1.13 GB, free: 2.895 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004071/0.6123, allocations: 215.3 kB / 1.13 GB, free: 2.676 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001433/0.6125, allocations: 97.2 kB / 1.13 GB, free: 2.578 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.579e-05/0.6125, allocations: 4.188 kB / 1.13 GB, free: 2.574 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002019/0.6127, allocations: 147.4 kB / 1.131 GB, free: 2.418 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=23): time 1.523e-06/0.6128, allocations: 1.031 kB / 1.131 GB, free: 2.418 MB / 0.7292 GB Notification: Performance of matching and sorting (n=23): time 0.0004056/0.6132, allocations: 232.5 kB / 1.131 GB, free: 2.188 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.903e-05/0.6132, allocations: 154.2 kB / 1.131 GB, free: 2 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003775/0.6136, allocations: 356.8 kB / 1.131 GB, free: 1.648 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.527e-05/0.6137, allocations: 37.64 kB / 1.131 GB, free: 1.605 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 9.028e-05/0.6138, allocations: 164.2 kB / 1.132 GB, free: 1.441 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 6.103e-05/0.6138, allocations: 74.92 kB / 1.132 GB, free: 1.367 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.267e-05/0.6139, allocations: 0 / 1.132 GB, free: 1.367 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001328/0.614, allocations: 350.8 kB / 1.132 GB, free: 1.016 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001214/0.6141, allocations: 71.98 kB / 1.132 GB, free: 0.9453 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001863/0.6143, allocations: 162.9 kB / 1.132 GB, free: 0.7578 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001422/0.6145, allocations: 83.83 kB / 1.132 GB, free: 0.6758 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.6145, allocations: 0 / 1.132 GB, free: 0.6758 MB / 0.7292 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003757/0.6149, allocations: 246.4 kB / 1.132 GB, free: 440 kB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.201e-05/0.6149, allocations: 7.984 kB / 1.132 GB, free: 432 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.316e-05/0.6149, allocations: 8.125 kB / 1.132 GB, free: 424 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.055e-05/0.6149, allocations: 0 / 1.132 GB, free: 424 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002629/0.6152, allocations: 59.91 kB / 1.133 GB, free: 364 kB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.253e-06/0.6152, allocations: 7.906 kB / 1.133 GB, free: 356 kB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002158/0.6154, allocations: 35.89 kB / 1.133 GB, free: 320 kB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.336e-05/0.6155, allocations: 11.98 kB / 1.133 GB, free: 308 kB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,$PRE.cooMod.combiTimeTable.nextTimeEvent,cooTowSpeCon.pmcMod.y,cooTowSpeCon.fmcMod.y,cooMod.y,cooMod.combiTimeTable.nextTimeEvent,$PRE.cooMod.combiTimeTable.nextTimeEventScaled,cooMod.combiTimeTable.nextTimeEventScaled,cooTowSpeCon.conPID.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 29 * 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 9.999e-05/0.6156, allocations: 112.8 kB / 1.133 GB, free: 188 kB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.406e-05/0.6156, allocations: 39.53 kB / 1.133 GB, free: 148 kB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004328/0.6161, allocations: 255.1 kB / 1.133 GB, free: 15.89 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.653e-06/0.6161, allocations: 7.906 kB / 1.133 GB, free: 15.88 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.6161, allocations: 0 / 1.133 GB, free: 15.88 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.6161, allocations: 0 / 1.133 GB, free: 15.88 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003768/0.6165, allocations: 397.8 kB / 1.133 GB, free: 15.46 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.6165, allocations: 0 / 1.133 GB, free: 15.46 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002426/0.6167, allocations: 43.97 kB / 1.133 GB, free: 15.41 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.6168, allocations: 7.938 kB / 1.133 GB, free: 15.41 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.257e-05/0.6168, allocations: 3.984 kB / 1.133 GB, free: 15.4 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.6168, allocations: 7.938 kB / 1.133 GB, free: 15.39 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.6168, allocations: 0 / 1.133 GB, free: 15.39 MB / 0.7448 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005623/0.6174, allocations: 390.5 kB / 1.134 GB, free: 15 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001563/0.6175, allocations: 152.5 kB / 1.134 GB, free: 14.83 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.866e-05/0.6176, allocations: 1.312 kB / 1.134 GB, free: 14.83 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002013/0.6178, allocations: 24.05 kB / 1.134 GB, free: 14.8 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.559e-05/0.6179, allocations: 19.97 kB / 1.134 GB, free: 14.79 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.059e-05/0.6179, allocations: 11.91 kB / 1.134 GB, free: 14.77 MB / 0.7448 GB Notification: Performance of sort global known variables: time 0.0002722/0.6182, allocations: 279.2 kB / 1.134 GB, free: 14.5 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003293/0.6185, allocations: 87.77 kB / 1.134 GB, free: 14.41 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (cooTowSpeCon.conPID.I.y) * Number of discrete variables: 6 ($whenCondition1,cooTowSpeCon.pmcMod.y,cooTowSpeCon.fmcMod.y,cooMod.y,cooMod.combiTimeTable.nextTimeEvent,cooMod.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (cooMod.combiTimeTable.nextTimeEvent,cooMod.combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0006674/0.6192, allocations: 338.5 kB / 1.135 GB, free: 14.16 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003662/0.6196, allocations: 201.5 kB / 1.135 GB, free: 13.97 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.6196, allocations: 0 / 1.135 GB, free: 13.97 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001689/0.6198, allocations: 111.9 kB / 1.135 GB, free: 13.86 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004371/0.6202, allocations: 87.08 kB / 1.135 GB, free: 13.78 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001013/0.6212, allocations: 492.4 kB / 1.136 GB, free: 13.28 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004623/0.6217, allocations: 0.8612 MB / 1.136 GB, free: 12.38 MB / 0.7448 GB Notification: Performance of SimCode: time 2.41e-07/0.6217, allocations: 0 / 1.136 GB, free: 12.38 MB / 0.7448 GB Notification: Performance of Templates: time 0.008677/0.6304, allocations: 4.816 MB / 1.141 GB, free: 7.637 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.makefile (rm -f Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe ; mkfifo Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe ; head -c 1048576 < Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe >> ../files/Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.sim & ./Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe 2>&1)