Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.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.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_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.0.1-maint.8.0.x/package.mo): time 1.302/1.302, allocations: 285.5 MB / 292.8 MB, free: 10.47 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.0008916/0.0008916, allocations: 187.5 kB / 361.1 MB, free: 7.117 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.009/1.009, allocations: 205.1 MB / 0.6195 GB, free: 10.31 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.0007884/0.0007884, allocations: 88.11 kB / 0.7326 GB, free: 44.26 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.903e-06/6.913e-06, allocations: 4 kB / 0.8511 GB, free: 2.988 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3928/0.3928, allocations: 115.3 MB / 0.9637 GB, free: 78.06 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.077/3.469, allocations: 2.393 GB / 3.357 GB, free: 95.85 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002219/3.47, allocations: 105.5 kB / 3.357 GB, free: 95.75 MB / 0.948 GB Notification: Performance of FrontEnd: time 4.546/8.015, allocations: 1.705 GB / 5.062 GB, free: 88.11 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0004992/8.016, allocations: 105.3 kB / 5.062 GB, free: 88.09 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.008757/8.025, allocations: 3.776 MB / 5.066 GB, free: 86.55 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.614e-05/8.025, allocations: 9.312 kB / 5.066 GB, free: 86.55 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009266/8.034, allocations: 1.528 MB / 5.067 GB, free: 86.33 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01008/8.044, allocations: 4.189 MB / 5.071 GB, free: 85.66 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005332/8.045, allocations: 249.2 kB / 5.071 GB, free: 85.59 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006185/8.045, allocations: 145.3 kB / 5.072 GB, free: 85.59 MB / 0.9948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004223/8.049, allocations: 2.277 MB / 5.074 GB, free: 85.57 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004148/8.054, allocations: 2.452 MB / 5.076 GB, free: 85.18 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.878e-05/8.054, allocations: 5.125 kB / 5.076 GB, free: 85.18 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002742/8.054, allocations: 3.594 kB / 5.076 GB, free: 85.18 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-05/8.054, allocations: 96.09 kB / 5.076 GB, free: 85.17 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01966/8.074, allocations: 13.33 MB / 5.089 GB, free: 79.23 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002648/8.076, allocations: 1.724 MB / 5.091 GB, free: 79.17 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001219/8.078, allocations: 0.9185 MB / 5.092 GB, free: 79.15 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01016/8.088, allocations: 5.877 MB / 5.098 GB, free: 76.6 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00126/8.089, allocations: 0.978 MB / 5.099 GB, free: 76.52 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=149): time 3.697e-06/8.089, allocations: 0 / 5.099 GB, free: 76.52 MB / 0.9948 GB Notification: Performance of matching and sorting (n=149): time 0.004405/8.093, allocations: 2.01 MB / 5.101 GB, free: 76.19 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.328e-05/8.094, allocations: 228.3 kB / 5.101 GB, free: 75.94 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002985/8.097, allocations: 2.422 MB / 5.103 GB, free: 75.7 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001406/8.097, allocations: 29.45 kB / 5.103 GB, free: 75.66 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006705/8.097, allocations: 0.9903 MB / 5.104 GB, free: 75.16 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004211/8.098, allocations: 491.3 kB / 5.105 GB, free: 74.84 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001145/8.098, allocations: 0 / 5.105 GB, free: 74.84 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001014/8.098, allocations: 381.7 kB / 5.105 GB, free: 74.53 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001034/8.099, allocations: 0.7281 MB / 5.106 GB, free: 74.53 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001279/8.1, allocations: 1.39 MB / 5.107 GB, free: 73.78 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002261/8.103, allocations: 1.046 MB / 5.108 GB, free: 73.76 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.805e-06/8.103, allocations: 10.41 kB / 5.108 GB, free: 73.76 MB / 0.9948 GB Notification: Performance of matching and sorting (n=240) (initialization): time 0.004456/8.107, allocations: 2.543 MB / 5.111 GB, free: 73.42 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.000711/8.108, allocations: 5.829 MB / 5.116 GB, free: 67.25 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.46e-05/8.108, allocations: 15.75 kB / 5.116 GB, free: 67.25 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001421/8.108, allocations: 52.56 kB / 5.116 GB, free: 67.24 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002699/8.111, allocations: 0.574 MB / 5.117 GB, free: 67.24 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007759/8.112, allocations: 1.374 MB / 5.118 GB, free: 65.96 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003321/8.115, allocations: 432.5 kB / 5.119 GB, free: 65.87 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002142/8.115, allocations: 113.2 kB / 5.119 GB, free: 65.87 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 5.25e-06/8.115, allocations: 3.938 kB / 5.119 GB, free: 65.87 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003889/8.119, allocations: 2.156 MB / 5.121 GB, free: 65.72 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.109e-05/8.119, allocations: 19.69 kB / 5.121 GB, free: 65.72 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.197e-05/8.119, allocations: 54.2 kB / 5.121 GB, free: 65.71 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002523/8.122, allocations: 0.5639 MB / 5.122 GB, free: 65.71 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006672/8.122, allocations: 1.368 MB / 5.123 GB, free: 64.45 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002936/8.125, allocations: 364.7 kB / 5.123 GB, free: 64.38 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001973/8.125, allocations: 110.6 kB / 5.123 GB, free: 64.38 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.0004019/8.126, allocations: 169 kB / 5.123 GB, free: 64.26 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004228/8.126, allocations: 319.9 kB / 5.124 GB, free: 64.09 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004299/8.131, allocations: 2.301 MB / 5.126 GB, free: 63.87 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.519e-05/8.131, allocations: 15.06 kB / 5.126 GB, free: 63.87 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/8.131, allocations: 0 / 5.126 GB, free: 63.87 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002736/8.133, allocations: 1.97 MB / 5.128 GB, free: 63.29 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00764/8.141, allocations: 5.149 MB / 5.133 GB, free: 62.47 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.153e-06/8.141, allocations: 4.75 kB / 5.133 GB, free: 62.47 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00217/8.143, allocations: 409 kB / 5.133 GB, free: 62.47 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.303e-05/8.143, allocations: 36.11 kB / 5.133 GB, free: 62.46 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001271/8.143, allocations: 33.69 kB / 5.133 GB, free: 62.46 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006774/8.144, allocations: 1.349 MB / 5.135 GB, free: 61.2 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/8.144, allocations: 4.719 kB / 5.135 GB, free: 61.2 MB / 0.9948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004563/8.149, allocations: 3.586 MB / 5.138 GB, free: 60.21 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001169/8.15, allocations: 0.6869 MB / 5.139 GB, free: 59.93 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004683/8.15, allocations: 13.69 kB / 5.139 GB, free: 59.93 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002483/8.153, allocations: 262.1 kB / 5.139 GB, free: 59.92 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000163/8.153, allocations: 96.73 kB / 5.139 GB, free: 59.91 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001681/8.153, allocations: 84.05 kB / 5.139 GB, free: 59.91 MB / 0.9948 GB Notification: Performance of sort global known variables: time 0.002386/8.156, allocations: 1.803 MB / 5.141 GB, free: 59.77 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.005371/8.161, allocations: 1.972 MB / 5.143 GB, free: 59.47 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.004824/8.166, allocations: 3.859 MB / 5.147 GB, free: 58.12 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.004969/8.171, allocations: 3.222 MB / 5.15 GB, free: 57.81 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 5.992e-06/8.171, allocations: 4.688 kB / 5.15 GB, free: 57.81 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.001306/8.172, allocations: 0.9468 MB / 5.151 GB, free: 57.71 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006387/8.179, allocations: 1.2 MB / 5.152 GB, free: 57.68 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009476/8.188, allocations: 4.948 MB / 5.157 GB, free: 56.48 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002298/8.19, allocations: 2.441 MB / 5.159 GB, free: 55.72 MB / 0.9948 GB Notification: Performance of SimCode: time 4.91e-07/8.19, allocations: 0 / 5.159 GB, free: 55.72 MB / 0.9948 GB Notification: Performance of Templates: time 0.1179/8.308, allocations: 84.29 MB / 5.242 GB, free: 26.4 MB / 0.9948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.makefile (rm -f Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.sim & ./Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.pipe 2>&1)