Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl,fileNamePrefix="Buildings_8_0_0_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_ChillerSetPointControl",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl,fileNamePrefix="Buildings_8_0_0_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_ChillerSetPointControl",fmuType="me",version="2.0",platforms={"static"}) [: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.0/package.mo): time 2.156/2.156, allocations: 284.8 MB / 292.1 MB, free: 9.82 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.001605/0.001605, allocations: 190.9 kB / 360.3 MB, free: 0.9805 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.677/1.677, allocations: 205.1 MB / 0.6187 GB, free: 3.316 MB / 442.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001259/0.001259, allocations: 93.52 kB / 0.7317 GB, free: 1.84 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.4937/0.495, allocations: 121.4 MB / 0.8502 GB, free: 149.8 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1885/0.6835, allocations: 115.3 MB / 0.9628 GB, free: 56.98 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.221/5.904, allocations: 2.393 GB / 3.356 GB, free: 265.9 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003583/5.905, allocations: 105.5 kB / 3.356 GB, free: 265.9 MB / 0.948 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 6.993/12.9, allocations: 1.709 GB / 5.064 GB, free: 42.91 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/12.9, allocations: 8 kB / 5.064 GB, free: 42.9 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01697/12.92, allocations: 1.52 MB / 5.066 GB, free: 41.45 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01674/12.93, allocations: 4.186 MB / 5.07 GB, free: 37.32 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009275/12.93, allocations: 244.3 kB / 5.07 GB, free: 37.08 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008683/12.93, allocations: 144 kB / 5.07 GB, free: 36.94 MB / 0.9792 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007563/12.94, allocations: 2.281 MB / 5.073 GB, free: 34.65 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007218/12.95, allocations: 2.451 MB / 5.075 GB, free: 32.06 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.886e-05/12.95, allocations: 4 kB / 5.075 GB, free: 32.05 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004087/12.95, allocations: 11.89 kB / 5.075 GB, free: 32.04 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.247e-05/12.95, allocations: 88.2 kB / 5.075 GB, free: 31.95 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0363/12.99, allocations: 13.34 MB / 5.088 GB, free: 18.16 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005292/12.99, allocations: 1.728 MB / 5.09 GB, free: 16.43 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002549/12.99, allocations: 0.9173 MB / 5.091 GB, free: 15.52 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01995/13.01, allocations: 5.87 MB / 5.096 GB, free: 9.324 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002467/13.02, allocations: 0.9771 MB / 5.097 GB, free: 8.332 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=149): time 4.478e-06/13.02, allocations: 4 kB / 5.097 GB, free: 8.328 MB / 0.9792 GB Notification: Performance of matching and sorting (n=149): time 0.008495/13.02, allocations: 2.001 MB / 5.099 GB, free: 6.301 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.43e-05/13.03, allocations: 233.2 kB / 5.1 GB, free: 6.023 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005607/13.03, allocations: 2.418 MB / 5.102 GB, free: 3.609 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0005985/13.03, allocations: 33.7 kB / 5.102 GB, free: 3.57 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.001168/13.03, allocations: 0.9966 MB / 5.103 GB, free: 2.555 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009679/13.03, allocations: 491.1 kB / 5.103 GB, free: 2.074 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002224/13.03, allocations: 4 kB / 5.103 GB, free: 2.07 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001454/13.03, allocations: 377.8 kB / 5.104 GB, free: 1.695 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002032/13.04, allocations: 0.7341 MB / 5.105 GB, free: 0.9609 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002776/13.04, allocations: 1.384 MB / 5.106 GB, free: 15.3 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004756/13.04, allocations: 1.047 MB / 5.107 GB, free: 14.28 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.256e-05/13.04, allocations: 4 kB / 5.107 GB, free: 14.28 MB / 0.9948 GB Notification: Performance of matching and sorting (n=240) (initialization): time 0.01045/13.05, allocations: 2.545 MB / 5.109 GB, free: 11.71 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.002853/13.06, allocations: 5.826 MB / 5.115 GB, free: 5.402 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.025e-05/13.06, allocations: 15.98 kB / 5.115 GB, free: 5.387 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000269/13.06, allocations: 44.86 kB / 5.115 GB, free: 5.34 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006034/13.06, allocations: 0.5835 MB / 5.116 GB, free: 4.773 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001766/13.07, allocations: 1.375 MB / 5.117 GB, free: 3.289 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007016/13.07, allocations: 435.2 kB / 5.117 GB, free: 2.895 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006031/13.07, allocations: 115.9 kB / 5.118 GB, free: 2.781 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/13.07, allocations: 4 kB / 5.118 GB, free: 2.777 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00827/13.08, allocations: 2.144 MB / 5.12 GB, free: 0.6211 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.372e-05/13.08, allocations: 16 kB / 5.12 GB, free: 0.6055 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001698/13.08, allocations: 60.16 kB / 5.12 GB, free: 0.5469 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005484/13.09, allocations: 0.5604 MB / 5.12 GB, free: 0 / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001671/13.09, allocations: 1.374 MB / 5.122 GB, free: 14.53 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006342/13.1, allocations: 355.5 kB / 5.122 GB, free: 14.2 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006207/13.1, allocations: 119.9 kB / 5.122 GB, free: 14.09 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.0007605/13.1, allocations: 161.8 kB / 5.122 GB, free: 13.92 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001901/13.1, allocations: 320 kB / 5.123 GB, free: 13.61 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01246/13.11, allocations: 2.284 MB / 5.125 GB, free: 11.33 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.36e-05/13.11, allocations: 19.98 kB / 5.125 GB, free: 11.31 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.157e-05/13.11, allocations: 4 kB / 5.125 GB, free: 11.31 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006189/13.12, allocations: 1.958 MB / 5.127 GB, free: 9.242 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01569/13.13, allocations: 5.152 MB / 5.132 GB, free: 4.008 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.268e-05/13.13, allocations: 6.172 kB / 5.132 GB, free: 4.008 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004371/13.14, allocations: 414.6 kB / 5.132 GB, free: 3.613 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001468/13.14, allocations: 36.94 kB / 5.132 GB, free: 3.574 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002311/13.14, allocations: 31.97 kB / 5.132 GB, free: 3.543 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001462/13.14, allocations: 1.345 MB / 5.134 GB, free: 2.086 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.05e-05/13.14, allocations: 7.938 kB / 5.134 GB, free: 2.078 MB / 1.01 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.429/13.57, allocations: 3.595 MB / 5.137 GB, free: 164.4 MB / 1.01 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01168/13.58, allocations: 5.257 MB / 5.142 GB, free: 163.2 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002397/13.58, allocations: 0.689 MB / 5.143 GB, free: 163.1 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007223/13.58, allocations: 8.219 kB / 5.143 GB, free: 163.1 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004655/13.59, allocations: 262.6 kB / 5.143 GB, free: 163.1 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002191/13.59, allocations: 96.92 kB / 5.143 GB, free: 163.1 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000274/13.59, allocations: 80.23 kB / 5.143 GB, free: 163.1 MB / 1.01 GB Notification: Performance of sort global known variables: time 0.003874/13.59, allocations: 1.807 MB / 5.145 GB, free: 163 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.01376/13.61, allocations: 2.976 MB / 5.148 GB, free: 163 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.007592/13.61, allocations: 3.866 MB / 5.152 GB, free: 161.8 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.008096/13.62, allocations: 3.218 MB / 5.155 GB, free: 161.5 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 9.337e-06/13.62, allocations: 4.906 kB / 5.155 GB, free: 161.5 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.00219/13.62, allocations: 0.9437 MB / 5.156 GB, free: 161.4 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009943/13.63, allocations: 1.194 MB / 5.157 GB, free: 161.4 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01547/13.65, allocations: 4.966 MB / 5.162 GB, free: 160.2 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004175/13.65, allocations: 2.457 MB / 5.164 GB, free: 159.4 MB / 1.01 GB Notification: Performance of SimCode: time 1.153e-06/13.65, allocations: 0 / 5.164 GB, free: 159.4 MB / 1.01 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_ChillerSetPointControl_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_ChillerSetPointControl.fmu > Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.pipe 2>&1)