Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.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.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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.0.0_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.159/2.159, allocations: 284.9 MB / 292.2 MB, free: 9.723 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.001578/0.001578, allocations: 181 kB / 360.4 MB, free: 0.8828 MB / 282.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.688/1.688, allocations: 205.2 MB / 0.6188 GB, free: 3.246 MB / 442.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001247/0.001247, allocations: 96.25 kB / 0.7318 GB, free: 1.672 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 9.889e-06/9.909e-06, allocations: 5.375 kB / 0.8503 GB, free: 150.2 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1858/0.1858, allocations: 115.3 MB / 0.9628 GB, free: 56.98 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.171/5.357, allocations: 2.393 GB / 3.356 GB, free: 262.8 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003557/5.358, allocations: 103.1 kB / 3.356 GB, free: 262.8 MB / 0.948 GB Notification: Performance of FrontEnd: time 6.867/12.23, allocations: 1.705 GB / 5.061 GB, free: 25.15 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.0006481/12.23, allocations: 101.9 kB / 5.061 GB, free: 25.06 MB / 0.9792 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.01287/12.24, allocations: 3.781 MB / 5.064 GB, free: 21.27 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.753e-05/12.24, allocations: 10.47 kB / 5.064 GB, free: 21.26 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01693/12.26, allocations: 1.523 MB / 5.066 GB, free: 19.8 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01664/12.27, allocations: 4.189 MB / 5.07 GB, free: 15.67 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008411/12.27, allocations: 249.7 kB / 5.07 GB, free: 15.42 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005613/12.27, allocations: 143.4 kB / 5.07 GB, free: 15.28 MB / 0.9792 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006587/12.28, allocations: 2.281 MB / 5.073 GB, free: 12.99 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007385/12.29, allocations: 2.454 MB / 5.075 GB, free: 10.4 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.903e-05/12.29, allocations: 7.906 kB / 5.075 GB, free: 10.39 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004042/12.29, allocations: 4 kB / 5.075 GB, free: 10.39 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.621e-05/12.29, allocations: 87.73 kB / 5.075 GB, free: 10.3 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03638/12.33, allocations: 13.33 MB / 5.088 GB, free: 12.53 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00582/12.33, allocations: 1.73 MB / 5.09 GB, free: 10.8 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002744/12.33, allocations: 0.9129 MB / 5.091 GB, free: 9.887 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02034/12.35, allocations: 5.877 MB / 5.097 GB, free: 3.688 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002751/12.36, allocations: 0.9736 MB / 5.097 GB, free: 2.695 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=149): time 6.562e-06/12.36, allocations: 6.844 kB / 5.097 GB, free: 2.691 MB / 0.9948 GB Notification: Performance of matching and sorting (n=149): time 0.008959/12.37, allocations: 2.006 MB / 5.099 GB, free: 0.6602 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000151/12.37, allocations: 226.9 kB / 5.1 GB, free: 400 kB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006765/12.37, allocations: 2.424 MB / 5.102 GB, free: 13.97 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.0005744/12.37, allocations: 29.7 kB / 5.102 GB, free: 13.94 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.001525/12.38, allocations: 0.9955 MB / 5.103 GB, free: 12.93 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.001135/12.38, allocations: 488.7 kB / 5.103 GB, free: 12.44 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002166/12.38, allocations: 0 / 5.103 GB, free: 12.44 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0002339/12.38, allocations: 380.6 kB / 5.104 GB, free: 12.07 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002402/12.38, allocations: 0.7341 MB / 5.105 GB, free: 11.33 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003062/12.38, allocations: 1.383 MB / 5.106 GB, free: 9.68 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004599/12.39, allocations: 1.051 MB / 5.107 GB, free: 8.656 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.51e-05/12.39, allocations: 4 kB / 5.107 GB, free: 8.652 MB / 1.01 GB Notification: Performance of matching and sorting (n=240) (initialization): time 0.009863/12.4, allocations: 2.541 MB / 5.109 GB, free: 6.09 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 0.4232/12.82, allocations: 5.821 MB / 5.115 GB, free: 170.3 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.944e-05/12.82, allocations: 19.39 kB / 5.115 GB, free: 170.3 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002537/12.82, allocations: 52.45 kB / 5.115 GB, free: 170.3 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005675/12.83, allocations: 0.5789 MB / 5.116 GB, free: 170.3 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001233/12.83, allocations: 1.369 MB / 5.117 GB, free: 169.1 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006691/12.83, allocations: 428.9 kB / 5.117 GB, free: 169.1 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005301/12.83, allocations: 117.2 kB / 5.118 GB, free: 169.1 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/12.83, allocations: 3.344 kB / 5.118 GB, free: 169.1 MB / 1.01 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007317/12.84, allocations: 2.15 MB / 5.12 GB, free: 168.9 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.734e-05/12.84, allocations: 17.38 kB / 5.12 GB, free: 168.9 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001496/12.84, allocations: 51.8 kB / 5.12 GB, free: 168.9 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005207/12.85, allocations: 0.5612 MB / 5.12 GB, free: 168.9 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001113/12.85, allocations: 1.378 MB / 5.122 GB, free: 167.7 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005991/12.85, allocations: 366.3 kB / 5.122 GB, free: 167.7 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000444/12.86, allocations: 110.5 kB / 5.122 GB, free: 167.7 MB / 1.01 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.0007162/12.86, allocations: 161.9 kB / 5.122 GB, free: 167.6 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001013/12.86, allocations: 323.1 kB / 5.123 GB, free: 167.6 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008016/12.86, allocations: 2.283 MB / 5.125 GB, free: 167.4 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.742e-05/12.86, allocations: 15.69 kB / 5.125 GB, free: 167.4 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.015e-05/12.86, allocations: 2.156 kB / 5.125 GB, free: 167.4 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005057/12.87, allocations: 1.967 MB / 5.127 GB, free: 166.8 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0148/12.88, allocations: 5.149 MB / 5.132 GB, free: 166.1 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.407e-05/12.88, allocations: 3.094 kB / 5.132 GB, free: 166.1 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004258/12.89, allocations: 415.5 kB / 5.132 GB, free: 166.1 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001346/12.89, allocations: 31.56 kB / 5.132 GB, free: 166.1 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002147/12.89, allocations: 36.42 kB / 5.132 GB, free: 166.1 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00108/12.89, allocations: 1.346 MB / 5.134 GB, free: 164.8 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.681e-06/12.89, allocations: 3.562 kB / 5.134 GB, free: 164.8 MB / 1.01 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008987/12.9, allocations: 3.6 MB / 5.137 GB, free: 163.9 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002434/12.9, allocations: 0.6827 MB / 5.138 GB, free: 163.6 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008378/12.9, allocations: 11.86 kB / 5.138 GB, free: 163.6 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005097/12.91, allocations: 266 kB / 5.138 GB, free: 163.6 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003039/12.91, allocations: 100 kB / 5.138 GB, free: 163.6 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003111/12.91, allocations: 82.11 kB / 5.138 GB, free: 163.6 MB / 1.01 GB Notification: Performance of sort global known variables: time 0.004486/12.91, allocations: 1.803 MB / 5.14 GB, free: 163.5 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.009289/12.92, allocations: 1.961 MB / 5.142 GB, free: 163.4 MB / 1.01 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.007031/12.93, allocations: 3.875 MB / 5.146 GB, free: 162.2 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.008609/12.94, allocations: 3.222 MB / 5.149 GB, free: 161.9 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.231e-05/12.94, allocations: 3.75 kB / 5.149 GB, free: 161.9 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0023/12.94, allocations: 0.944 MB / 5.15 GB, free: 161.8 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01071/12.95, allocations: 1.186 MB / 5.151 GB, free: 161.8 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01661/12.97, allocations: 4.952 MB / 5.156 GB, free: 160.6 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004404/12.97, allocations: 2.44 MB / 5.158 GB, free: 159.8 MB / 1.01 GB Notification: Performance of SimCode: time 1.924e-06/12.97, allocations: 0 / 5.158 GB, free: 159.8 MB / 1.01 GB Notification: Performance of Templates: time 0.204/13.18, allocations: 84.3 MB / 5.24 GB, free: 156 MB / 1.01 GB make -j1 -f Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.makefile (rm -f Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.pipe ; mkfifo Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.pipe >> ../files/Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.sim & ./Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.pipe 2>&1)