Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.conf.json 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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.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 7.0.1/package.mo): time 2.098/2.098, allocations: 253.1 MB / 260.4 MB, free: 7.477 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00157/0.00157, allocations: 185.2 kB / 319.6 MB, free: 3.328 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.822/1.822, allocations: 205.4 MB / 0.5704 GB, free: 15.08 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001353/0.001353, allocations: 99.25 kB / 0.6746 GB, free: 4.445 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.618e-06/9.779e-06, allocations: 4 kB / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2193/0.2193, allocations: 106.2 MB / 0.8881 GB, free: 12.21 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.327/6.546, allocations: 2.511 GB / 3.399 GB, free: 191.4 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003378/6.546, allocations: 110.4 kB / 3.399 GB, free: 191.3 MB / 0.8698 GB Notification: Performance of FrontEnd: time 7.836/14.38, allocations: 1.658 GB / 5.057 GB, free: 83.09 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0007921/14.38, allocations: 100.4 kB / 5.057 GB, free: 83.09 MB / 0.9636 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.0152/14.4, allocations: 3.779 MB / 5.06 GB, free: 81.65 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.628e-05/14.4, allocations: 7.719 kB / 5.06 GB, free: 81.65 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01774/14.42, allocations: 1.522 MB / 5.062 GB, free: 81.43 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01842/14.43, allocations: 4.186 MB / 5.066 GB, free: 80.84 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001003/14.44, allocations: 246.9 kB / 5.066 GB, free: 80.77 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00112/14.44, allocations: 145.8 kB / 5.066 GB, free: 80.77 MB / 0.9636 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008371/14.44, allocations: 2.281 MB / 5.069 GB, free: 80.75 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008792/14.45, allocations: 2.439 MB / 5.071 GB, free: 80.36 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001134/14.45, allocations: 4.688 kB / 5.071 GB, free: 80.36 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004248/14.45, allocations: 6.906 kB / 5.071 GB, free: 80.36 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001052/14.45, allocations: 84.98 kB / 5.071 GB, free: 80.35 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03967/14.49, allocations: 13.32 MB / 5.084 GB, free: 74.42 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00567/14.5, allocations: 1.729 MB / 5.086 GB, free: 74.36 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002738/14.5, allocations: 0.9121 MB / 5.087 GB, free: 74.34 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02128/14.52, allocations: 5.866 MB / 5.092 GB, free: 71.8 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002566/14.53, allocations: 0.9659 MB / 5.093 GB, free: 71.72 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=149): time 5.891e-06/14.53, allocations: 0 / 5.093 GB, free: 71.72 MB / 0.9636 GB Notification: Performance of matching and sorting (n=149): time 0.009118/14.54, allocations: 2.004 MB / 5.095 GB, free: 71.39 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000108/14.54, allocations: 225.3 kB / 5.096 GB, free: 71.14 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007016/14.54, allocations: 2.425 MB / 5.098 GB, free: 70.89 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0006551/14.54, allocations: 33.05 kB / 5.098 GB, free: 70.86 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.001514/14.55, allocations: 0.9894 MB / 5.099 GB, free: 70.34 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.001143/14.55, allocations: 499 kB / 5.099 GB, free: 70.02 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002467/14.55, allocations: 3.594 kB / 5.099 GB, free: 70.02 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001807/14.55, allocations: 372.5 kB / 5.1 GB, free: 69.72 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002186/14.55, allocations: 0.7367 MB / 5.1 GB, free: 69.71 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002977/14.55, allocations: 1.388 MB / 5.102 GB, free: 68.97 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004698/14.56, allocations: 1.049 MB / 5.103 GB, free: 68.95 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.072e-05/14.56, allocations: 2.875 kB / 5.103 GB, free: 68.95 MB / 0.9636 GB Notification: Performance of matching and sorting (n=240) (initialization): time 0.009895/14.57, allocations: 2.549 MB / 5.105 GB, free: 68.61 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.001429/14.57, allocations: 5.823 MB / 5.111 GB, free: 62.44 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.982e-05/14.57, allocations: 15.12 kB / 5.111 GB, free: 62.44 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000283/14.57, allocations: 51.2 kB / 5.111 GB, free: 62.43 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005982/14.57, allocations: 0.5783 MB / 5.112 GB, free: 62.43 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001441/14.58, allocations: 1.376 MB / 5.113 GB, free: 61.16 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007852/14.58, allocations: 435.1 kB / 5.113 GB, free: 61.07 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008884/14.58, allocations: 111.1 kB / 5.113 GB, free: 61.07 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/14.58, allocations: 6.062 kB / 5.113 GB, free: 61.07 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008269/14.59, allocations: 2.149 MB / 5.116 GB, free: 60.93 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.653e-05/14.59, allocations: 16.19 kB / 5.116 GB, free: 60.93 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001699/14.59, allocations: 56.69 kB / 5.116 GB, free: 60.91 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005532/14.6, allocations: 0.563 MB / 5.116 GB, free: 60.91 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00131/14.6, allocations: 1.363 MB / 5.118 GB, free: 59.65 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006673/14.61, allocations: 365 kB / 5.118 GB, free: 59.58 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006675/14.61, allocations: 108.4 kB / 5.118 GB, free: 59.58 MB / 0.9636 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.0007964/14.61, allocations: 169.4 kB / 5.118 GB, free: 59.46 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0013/14.61, allocations: 315.2 kB / 5.118 GB, free: 59.29 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008754/14.62, allocations: 2.288 MB / 5.121 GB, free: 59.07 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.502e-05/14.62, allocations: 15.44 kB / 5.121 GB, free: 59.07 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.217e-05/14.62, allocations: 3.938 kB / 5.121 GB, free: 59.07 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005644/14.62, allocations: 1.965 MB / 5.123 GB, free: 58.49 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01634/14.64, allocations: 5.13 MB / 5.128 GB, free: 57.68 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.515e-05/14.64, allocations: 3.188 kB / 5.128 GB, free: 57.68 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004413/14.65, allocations: 417.5 kB / 5.128 GB, free: 57.68 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000169/14.65, allocations: 31.95 kB / 5.128 GB, free: 57.67 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003155/14.65, allocations: 39.12 kB / 5.128 GB, free: 57.66 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001236/14.65, allocations: 1.35 MB / 5.129 GB, free: 56.39 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.016e-05/14.65, allocations: 8.844 kB / 5.129 GB, free: 56.39 MB / 0.9636 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01023/14.66, allocations: 3.589 MB / 5.133 GB, free: 55.41 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003264/14.66, allocations: 0.6927 MB / 5.134 GB, free: 55.12 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001274/14.66, allocations: 17.42 kB / 5.134 GB, free: 55.12 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005867/14.67, allocations: 256.2 kB / 5.134 GB, free: 55.11 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004129/14.67, allocations: 92.92 kB / 5.134 GB, free: 55.11 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003559/14.67, allocations: 79.2 kB / 5.134 GB, free: 55.11 MB / 0.9636 GB Notification: Performance of sort global known variables: time 0.004881/14.67, allocations: 1.807 MB / 5.136 GB, free: 54.97 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.01145/14.69, allocations: 1.964 MB / 5.138 GB, free: 54.67 MB / 0.9636 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.008237/14.69, allocations: 3.881 MB / 5.141 GB, free: 53.34 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.009309/14.7, allocations: 3.22 MB / 5.145 GB, free: 53.03 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.346e-05/14.7, allocations: 3.344 kB / 5.145 GB, free: 53.03 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.002432/14.71, allocations: 0.9377 MB / 5.146 GB, free: 52.93 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01143/14.72, allocations: 1.185 MB / 5.147 GB, free: 52.9 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01829/14.74, allocations: 4.941 MB / 5.152 GB, free: 51.7 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005083/14.74, allocations: 2.44 MB / 5.154 GB, free: 50.94 MB / 0.9636 GB Notification: Performance of SimCode: time 1.463e-06/14.74, allocations: 0 / 5.154 GB, free: 50.94 MB / 0.9636 GB Notification: Performance of Templates: time 0.2205/14.96, allocations: 84.13 MB / 5.236 GB, free: 45.47 MB / 0.9636 GB