Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.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.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_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.0.1-maint.8.0.x/package.mo): time 1.308/1.308, 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.001026/0.001026, allocations: 187.5 kB / 361.1 MB, free: 7.098 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.022/1.022, allocations: 205.1 MB / 0.6195 GB, free: 10.32 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.0008142/0.0008143, allocations: 91.5 kB / 0.7325 GB, free: 44.25 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.261e-06/6.362e-06, allocations: 0 / 0.8511 GB, free: 2.98 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4223/0.4223, allocations: 115.3 MB / 0.9637 GB, free: 78.25 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1427/0.565, allocations: 147.5 MB / 1.108 GB, free: 8.504 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002069/0.5652, allocations: 95.55 kB / 1.108 GB, free: 8.414 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.0261/0.5913, allocations: 10.02 MB / 1.118 GB, free: 14.5 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.37e-05/0.5914, allocations: 8 kB / 1.118 GB, free: 14.5 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.0009373/0.5923, allocations: 0.6954 MB / 1.118 GB, free: 13.75 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.5924, allocations: 8.531 kB / 1.118 GB, free: 13.74 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000123/0.5925, allocations: 51.34 kB / 1.118 GB, free: 13.69 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007023/0.5932, allocations: 425.6 kB / 1.119 GB, free: 13.23 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.321e-05/0.5933, allocations: 15.94 kB / 1.119 GB, free: 13.22 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.365e-05/0.5933, allocations: 16 kB / 1.119 GB, free: 13.2 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003701/0.5937, allocations: 181.3 kB / 1.119 GB, free: 13.03 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000426/0.5941, allocations: 284.6 kB / 1.119 GB, free: 12.72 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.5941, allocations: 1.75 kB / 1.119 GB, free: 12.72 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.78e-05/0.5942, allocations: 8 kB / 1.119 GB, free: 12.71 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.326e-06/0.5942, allocations: 4 kB / 1.119 GB, free: 12.71 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001396/0.5956, allocations: 1.1 MB / 1.12 GB, free: 11.55 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004132/0.596, allocations: 219.1 kB / 1.121 GB, free: 11.33 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001502/0.5962, allocations: 94.11 kB / 1.121 GB, free: 11.23 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.741e-05/0.5962, allocations: 4.172 kB / 1.121 GB, free: 11.23 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002027/0.5964, allocations: 146.7 kB / 1.121 GB, free: 11.08 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=23): time 1.663e-06/0.5964, allocations: 0 / 1.121 GB, free: 11.08 MB / 0.7292 GB Notification: Performance of matching and sorting (n=23): time 0.0004105/0.5968, allocations: 225 kB / 1.121 GB, free: 10.85 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.439e-05/0.5969, allocations: 162.2 kB / 1.121 GB, free: 10.66 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003984/0.5973, allocations: 364.8 kB / 1.122 GB, free: 10.3 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.856e-05/0.5974, allocations: 25.7 kB / 1.122 GB, free: 10.27 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001041/0.5975, allocations: 176.2 kB / 1.122 GB, free: 10.09 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 5.279e-05/0.5975, allocations: 66.92 kB / 1.122 GB, free: 10.02 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.187e-05/0.5975, allocations: 0 / 1.122 GB, free: 10.02 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001138/0.5977, allocations: 350.8 kB / 1.122 GB, free: 9.672 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001308/0.5978, allocations: 75.98 kB / 1.122 GB, free: 9.598 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001841/0.598, allocations: 157.3 kB / 1.122 GB, free: 9.414 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001413/0.5981, allocations: 89.81 kB / 1.122 GB, free: 9.328 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.5981, allocations: 4 kB / 1.122 GB, free: 9.324 MB / 0.7292 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003937/0.5985, allocations: 250.8 kB / 1.123 GB, free: 9.074 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.5986, allocations: 7.984 kB / 1.123 GB, free: 9.066 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.5986, allocations: 4 kB / 1.123 GB, free: 9.062 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.151e-05/0.5986, allocations: 0 / 1.123 GB, free: 9.062 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002956/0.5989, allocations: 60.03 kB / 1.123 GB, free: 9.004 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.19e-05/0.5989, allocations: 7.906 kB / 1.123 GB, free: 8.996 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000248/0.5992, allocations: 27.83 kB / 1.123 GB, free: 8.969 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.311e-05/0.5992, allocations: 15.98 kB / 1.123 GB, free: 8.953 MB / 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 8.996e-05/0.5993, allocations: 113.8 kB / 1.123 GB, free: 8.836 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.326e-05/0.5994, allocations: 40.66 kB / 1.123 GB, free: 8.797 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004248/0.5998, allocations: 245.1 kB / 1.123 GB, free: 8.547 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/0.5998, allocations: 7.906 kB / 1.123 GB, free: 8.539 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.5998, allocations: 0 / 1.123 GB, free: 8.539 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.5998, allocations: 0 / 1.123 GB, free: 8.539 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003587/0.6002, allocations: 392.9 kB / 1.124 GB, free: 8.121 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.6002, allocations: 0 / 1.124 GB, free: 8.121 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002571/0.6005, allocations: 55.91 kB / 1.124 GB, free: 8.066 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.469e-06/0.6005, allocations: 0 / 1.124 GB, free: 8.066 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.063e-05/0.6005, allocations: 7.922 kB / 1.124 GB, free: 8.059 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.057e-06/0.6005, allocations: 4 kB / 1.124 GB, free: 8.055 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.6005, allocations: 0 / 1.124 GB, free: 8.055 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005597/0.6011, allocations: 402.3 kB / 1.124 GB, free: 7.648 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001625/0.6012, allocations: 152.5 kB / 1.124 GB, free: 7.48 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.044e-05/0.6013, allocations: 0 / 1.124 GB, free: 7.48 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002159/0.6015, allocations: 19.98 kB / 1.124 GB, free: 7.461 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.017e-05/0.6016, allocations: 24.03 kB / 1.124 GB, free: 7.438 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.032e-05/0.6016, allocations: 7.906 kB / 1.124 GB, free: 7.43 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.000273/0.6019, allocations: 283.2 kB / 1.124 GB, free: 7.152 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0005637/0.6025, allocations: 91.77 kB / 1.125 GB, free: 7.062 MB / 0.7292 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.0005805/0.6031, allocations: 334.6 kB / 1.125 GB, free: 6.848 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003604/0.6034, allocations: 196.1 kB / 1.125 GB, free: 6.656 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.552e-06/0.6034, allocations: 4.062 kB / 1.125 GB, free: 6.652 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001617/0.6036, allocations: 108.5 kB / 1.125 GB, free: 6.547 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000491/0.6041, allocations: 79.16 kB / 1.125 GB, free: 6.473 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009882/0.6051, allocations: 0.4892 MB / 1.126 GB, free: 5.965 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004517/0.6056, allocations: 0.8659 MB / 1.127 GB, free: 5.07 MB / 0.7292 GB Notification: Performance of SimCode: time 4.71e-07/0.6056, allocations: 0 / 1.127 GB, free: 5.07 MB / 0.7292 GB Notification: Performance of Templates: time 0.008908/0.6145, allocations: 4.805 MB / 1.131 GB, free: 384 kB / 0.7292 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.makefile (rm -f Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.sim & ./Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe 2>&1)