Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.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.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl") translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl") [: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.325/1.325, allocations: 289.8 MB / 297.1 MB, free: 6.66 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.0009793/0.0009793, allocations: 181.3 kB / 366.3 MB, free: 1.992 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9825/0.9825, allocations: 205.2 MB / 0.6256 GB, free: 5.84 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.0007694/0.0007694, allocations: 83.28 kB / 0.7395 GB, free: 39.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.462e-06/6.542e-06, allocations: 4 kB / 0.859 GB, free: 13.38 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3878/0.3879, allocations: 116.3 MB / 0.9726 GB, free: 68.37 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.002/3.39, allocations: 2.394 GB / 3.367 GB, free: 56.05 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002284/3.39, allocations: 99.94 kB / 3.367 GB, free: 55.95 MB / 0.948 GB Notification: Performance of FrontEnd: time 4.209/7.6, allocations: 1.705 GB / 5.072 GB, free: 87.48 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0002927/7.6, allocations: 101.9 kB / 5.072 GB, free: 87.46 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 570 * Number of variables: 570 Notification: Performance of Generate backend data structure: time 0.005835/7.606, allocations: 3.785 MB / 5.076 GB, free: 85.83 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 2.916e-05/7.606, allocations: 9.656 kB / 5.076 GB, free: 85.83 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008042/7.614, allocations: 1.518 MB / 5.077 GB, free: 85.61 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007297/7.621, allocations: 4.188 MB / 5.081 GB, free: 84.94 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004271/7.622, allocations: 246.2 kB / 5.081 GB, free: 84.87 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003029/7.622, allocations: 146 kB / 5.081 GB, free: 84.87 MB / 0.9948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003243/7.625, allocations: 2.283 MB / 5.084 GB, free: 84.86 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003209/7.628, allocations: 2.452 MB / 5.086 GB, free: 84.46 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.95e-05/7.628, allocations: 3.562 kB / 5.086 GB, free: 84.46 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002081/7.629, allocations: 11.41 kB / 5.086 GB, free: 84.45 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.92e-05/7.629, allocations: 92.62 kB / 5.086 GB, free: 84.45 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01609/7.645, allocations: 13.33 MB / 5.099 GB, free: 78.5 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002368/7.647, allocations: 1.731 MB / 5.101 GB, free: 78.44 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001108/7.648, allocations: 0.9131 MB / 5.102 GB, free: 78.41 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008673/7.657, allocations: 5.876 MB / 5.108 GB, free: 75.87 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001163/7.658, allocations: 0.9761 MB / 5.108 GB, free: 75.8 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=149): time 2.675e-06/7.658, allocations: 0.5625 kB / 5.108 GB, free: 75.8 MB / 0.9948 GB Notification: Performance of matching and sorting (n=149): time 0.003843/7.662, allocations: 2.002 MB / 5.11 GB, free: 75.46 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.259e-05/7.662, allocations: 234.2 kB / 5.111 GB, free: 75.21 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002513/7.665, allocations: 2.412 MB / 5.113 GB, free: 74.97 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001339/7.665, allocations: 35.2 kB / 5.113 GB, free: 74.94 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005447/7.665, allocations: 0.9981 MB / 5.114 GB, free: 74.42 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003966/7.666, allocations: 492.7 kB / 5.115 GB, free: 74.1 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001171/7.666, allocations: 0 / 5.115 GB, free: 74.1 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 8.522e-05/7.666, allocations: 387.4 kB / 5.115 GB, free: 73.79 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009802/7.667, allocations: 0.7326 MB / 5.116 GB, free: 73.79 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001231/7.668, allocations: 1.381 MB / 5.117 GB, free: 73.04 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002118/7.67, allocations: 1.052 MB / 5.118 GB, free: 73.02 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.863e-06/7.67, allocations: 3.844 kB / 5.118 GB, free: 73.02 MB / 0.9948 GB Notification: Performance of matching and sorting (n=240) (initialization): time 0.004118/7.674, allocations: 2.545 MB / 5.12 GB, free: 72.68 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007379/7.675, allocations: 5.826 MB / 5.126 GB, free: 66.51 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.31e-05/7.675, allocations: 16.06 kB / 5.126 GB, free: 66.51 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001282/7.675, allocations: 48.97 kB / 5.126 GB, free: 66.5 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002558/7.678, allocations: 0.5772 MB / 5.127 GB, free: 66.5 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007152/7.679, allocations: 1.377 MB / 5.128 GB, free: 65.23 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002905/7.682, allocations: 436.7 kB / 5.129 GB, free: 65.14 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002182/7.682, allocations: 115.8 kB / 5.129 GB, free: 65.14 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 4.067e-06/7.682, allocations: 5.375 kB / 5.129 GB, free: 65.14 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003645/7.685, allocations: 2.141 MB / 5.131 GB, free: 64.99 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.903e-05/7.686, allocations: 20.67 kB / 5.131 GB, free: 64.99 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.317e-05/7.686, allocations: 55.61 kB / 5.131 GB, free: 64.98 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00245/7.688, allocations: 0.5583 MB / 5.131 GB, free: 64.98 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006378/7.689, allocations: 1.364 MB / 5.133 GB, free: 63.72 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002489/7.691, allocations: 375.3 kB / 5.133 GB, free: 63.64 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001827/7.691, allocations: 109.6 kB / 5.133 GB, free: 63.64 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 60 * Number of states: 0 () * Number of discrete variables: 17 ($PRE.triAndRes.firstTrigger,triAndRes.firstTrigger,$whenCondition3,triAndRes.sampleTrigger,$PRE.triAndRes.sam.firstTrigger,triAndRes.sam.firstTrigger,$PRE.triAndRes.uniDel1.firstTrigger,triAndRes.uniDel1.firstTrigger,$whenCondition1,triAndRes.uniDel1.sampleTrigger,$whenCondition2,triAndRes.sam.sampleTrigger,triAndRes.incY.y,triAndRes.sam.y,$PRE.triAndRes.uniDel1.y,triAndRes.uniDel1.y,limPID.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (235): * Single equations (assignments): 231 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003162/7.692, allocations: 163.8 kB / 5.133 GB, free: 63.53 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003528/7.692, allocations: 322.6 kB / 5.134 GB, free: 63.36 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004188/7.696, allocations: 2.307 MB / 5.136 GB, free: 63.13 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.547e-05/7.696, allocations: 17.88 kB / 5.136 GB, free: 63.13 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/7.696, allocations: 0 / 5.136 GB, free: 63.13 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002692/7.699, allocations: 1.961 MB / 5.138 GB, free: 62.55 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00718/7.706, allocations: 5.133 MB / 5.143 GB, free: 61.74 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.332e-06/7.706, allocations: 7.375 kB / 5.143 GB, free: 61.74 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002038/7.708, allocations: 411.9 kB / 5.143 GB, free: 61.74 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.672e-05/7.708, allocations: 36.45 kB / 5.143 GB, free: 61.73 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001235/7.708, allocations: 30.42 kB / 5.143 GB, free: 61.73 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006048/7.709, allocations: 1.357 MB / 5.145 GB, free: 60.47 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/7.709, allocations: 3.031 kB / 5.145 GB, free: 60.47 MB / 0.9948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004158/7.713, allocations: 3.59 MB / 5.148 GB, free: 59.49 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000936/7.714, allocations: 0.6899 MB / 5.149 GB, free: 59.21 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004425/7.715, allocations: 7.359 kB / 5.149 GB, free: 59.21 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002353/7.717, allocations: 260.3 kB / 5.149 GB, free: 59.2 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001509/7.717, allocations: 98.7 kB / 5.149 GB, free: 59.2 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001554/7.717, allocations: 84.22 kB / 5.149 GB, free: 59.2 MB / 0.9948 GB Notification: Performance of sort global known variables: time 0.001887/7.719, allocations: 1.804 MB / 5.151 GB, free: 59.05 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.004655/7.724, allocations: 1.96 MB / 5.153 GB, free: 58.75 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 11 (chi.vol1.dynBal.U,chi.vol2.dynBal.U,limPID.I.y,TRet.T,pum.vol.dynBal.U,pum.filter.x[1],pum.filter.x[2],expVesChi.m,expVesChi.H,firstOrder1.y,TSup.T) * Number of discrete variables: 12 (triAndRes.sam.sampleTrigger,triAndRes.uniDel1.sampleTrigger,$whenCondition2,$whenCondition1,triAndRes.incY.y,triAndRes.sam.firstTrigger,triAndRes.sam.y,triAndRes.uniDel1.firstTrigger,triAndRes.uniDel1.y,triAndRes.sampleTrigger,$whenCondition3,triAndRes.firstTrigger) * Number of discrete states: 1 (triAndRes.uniDel1.u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (162): * Single equations (assignments): 150 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 5 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003975/7.728, allocations: 3.883 MB / 5.157 GB, free: 57.38 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.003763/7.732, allocations: 3.218 MB / 5.16 GB, free: 56.71 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 3.696e-06/7.732, allocations: 3.188 kB / 5.16 GB, free: 56.71 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.001029/7.733, allocations: 0.9485 MB / 5.161 GB, free: 56.3 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004301/7.737, allocations: 1.197 MB / 5.162 GB, free: 56.05 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00773/7.745, allocations: 4.948 MB / 5.167 GB, free: 54.27 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002143/7.747, allocations: 2.435 MB / 5.169 GB, free: 53.41 MB / 0.9948 GB Notification: Performance of SimCode: time 3.11e-07/7.747, allocations: 0 / 5.169 GB, free: 53.41 MB / 0.9948 GB Notification: Performance of Templates: time 0.1031/7.85, allocations: 84.3 MB / 5.251 GB, free: 15.16 MB / 1.01 GB make -j1 -f Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.makefile (rm -f Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.pipe ; mkfifo Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.pipe ; head -c 1048576 < Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.pipe >> ../files/Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.sim & ./Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.pipe 2>&1)