Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_ChillerSetPointControl",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.235/1.235, allocations: 249.4 MB / 256.7 MB, free: 7.609 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00095/0.0009503, allocations: 177.3 kB / 316 MB, free: 7.945 MB / 254.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.139/1.139, allocations: 205.1 MB / 0.5667 GB, free: 3.344 MB / 414.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007631/0.0007631, allocations: 87.33 kB / 0.671 GB, free: 8.484 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.3349/0.3357, allocations: 112.5 MB / 0.7808 GB, free: 106.7 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1686/0.5043, allocations: 106.3 MB / 0.8847 GB, free: 248 kB / 0.545 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.434/4.938, allocations: 2.511 GB / 3.396 GB, free: 246.7 MB / 0.8731 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002446/4.939, allocations: 99.92 kB / 3.396 GB, free: 246.6 MB / 0.8731 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 4.866/9.805, allocations: 1.662 GB / 5.057 GB, free: 82.91 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.11e-05/9.805, allocations: 11.31 kB / 5.057 GB, free: 82.91 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008844/9.814, allocations: 1.518 MB / 5.059 GB, free: 82.68 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009201/9.823, allocations: 4.18 MB / 5.063 GB, free: 82.09 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004864/9.824, allocations: 246.3 kB / 5.063 GB, free: 82.02 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004592/9.824, allocations: 147.5 kB / 5.063 GB, free: 82.01 MB / 0.9356 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003834/9.828, allocations: 2.28 MB / 5.065 GB, free: 82 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0036/9.832, allocations: 2.445 MB / 5.068 GB, free: 81.6 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.266e-05/9.832, allocations: 2.531 kB / 5.068 GB, free: 81.6 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002213/9.832, allocations: 5.719 kB / 5.068 GB, free: 81.6 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.974e-05/9.832, allocations: 86.69 kB / 5.068 GB, free: 81.59 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02042/9.853, allocations: 13.31 MB / 5.081 GB, free: 75.65 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003238/9.856, allocations: 1.729 MB / 5.083 GB, free: 75.59 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001391/9.857, allocations: 0.92 MB / 5.084 GB, free: 75.57 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01233/9.87, allocations: 5.86 MB / 5.089 GB, free: 73.03 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001287/9.871, allocations: 0.9629 MB / 5.09 GB, free: 72.95 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=149): time 3.847e-06/9.871, allocations: 3.969 kB / 5.09 GB, free: 72.95 MB / 0.9356 GB Notification: Performance of matching and sorting (n=149): time 0.00449/9.875, allocations: 1.997 MB / 5.092 GB, free: 72.62 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.275e-05/9.876, allocations: 231.5 kB / 5.092 GB, free: 72.37 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003084/9.879, allocations: 2.423 MB / 5.095 GB, free: 72.12 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0001445/9.879, allocations: 33.08 kB / 5.095 GB, free: 72.09 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007472/9.88, allocations: 0.9863 MB / 5.096 GB, free: 71.57 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004458/9.88, allocations: 493.1 kB / 5.096 GB, free: 71.25 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001187/9.88, allocations: 3.281 kB / 5.096 GB, free: 71.25 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 9.168e-05/9.88, allocations: 381.2 kB / 5.097 GB, free: 70.95 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001023/9.881, allocations: 0.7352 MB / 5.097 GB, free: 70.95 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001303/9.883, allocations: 1.384 MB / 5.099 GB, free: 70.2 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002326/9.885, allocations: 1.053 MB / 5.1 GB, free: 70.18 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.305e-06/9.885, allocations: 3.125 kB / 5.1 GB, free: 70.18 MB / 0.9356 GB Notification: Performance of matching and sorting (n=240) (initialization): time 0.004963/9.89, allocations: 2.55 MB / 5.102 GB, free: 69.84 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008697/9.891, allocations: 5.821 MB / 5.108 GB, free: 63.67 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.942e-05/9.891, allocations: 20.31 kB / 5.108 GB, free: 63.67 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001535/9.891, allocations: 51.16 kB / 5.108 GB, free: 63.66 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002689/9.894, allocations: 0.5763 MB / 5.108 GB, free: 63.66 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008557/9.895, allocations: 1.371 MB / 5.11 GB, free: 62.39 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003847/9.898, allocations: 431.8 kB / 5.11 GB, free: 62.3 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002416/9.899, allocations: 115.2 kB / 5.11 GB, free: 62.3 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 7.344e-06/9.899, allocations: 6.438 kB / 5.11 GB, free: 62.3 MB / 0.9356 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004115/9.903, allocations: 2.147 MB / 5.112 GB, free: 62.16 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.891e-05/9.903, allocations: 22.73 kB / 5.112 GB, free: 62.16 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001039/9.903, allocations: 51.39 kB / 5.113 GB, free: 62.15 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002542/9.906, allocations: 0.5649 MB / 5.113 GB, free: 62.15 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008255/9.906, allocations: 1.366 MB / 5.114 GB, free: 60.88 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003592/9.91, allocations: 361 kB / 5.115 GB, free: 60.81 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00023/9.91, allocations: 112 kB / 5.115 GB, free: 60.81 MB / 0.9356 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.000506/9.911, allocations: 174.9 kB / 5.115 GB, free: 60.69 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005275/9.911, allocations: 317.8 kB / 5.115 GB, free: 60.53 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004548/9.916, allocations: 2.295 MB / 5.118 GB, free: 60.3 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.852e-05/9.916, allocations: 17.75 kB / 5.118 GB, free: 60.3 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/9.916, allocations: 2.531 kB / 5.118 GB, free: 60.3 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002824/9.919, allocations: 1.969 MB / 5.119 GB, free: 59.72 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008927/9.928, allocations: 5.121 MB / 5.124 GB, free: 58.91 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.885e-06/9.928, allocations: 7.844 kB / 5.125 GB, free: 58.91 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00214/9.93, allocations: 417.4 kB / 5.125 GB, free: 58.91 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001148/9.93, allocations: 36.61 kB / 5.125 GB, free: 58.9 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001462/9.93, allocations: 36.81 kB / 5.125 GB, free: 58.9 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008099/9.931, allocations: 1.355 MB / 5.126 GB, free: 57.63 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.431e-06/9.931, allocations: 2.906 kB / 5.126 GB, free: 57.63 MB / 0.9356 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005416/9.936, allocations: 3.591 MB / 5.13 GB, free: 56.64 MB / 0.9356 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.006792/9.943, allocations: 5.256 MB / 5.135 GB, free: 55.27 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001743/9.945, allocations: 0.6858 MB / 5.136 GB, free: 54.98 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000557/9.946, allocations: 6.875 kB / 5.136 GB, free: 54.98 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002633/9.948, allocations: 265.7 kB / 5.136 GB, free: 54.97 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001653/9.948, allocations: 87.42 kB / 5.136 GB, free: 54.97 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001679/9.949, allocations: 83.28 kB / 5.136 GB, free: 54.97 MB / 0.9356 GB Notification: Performance of sort global known variables: time 0.00253/9.951, allocations: 1.805 MB / 5.138 GB, free: 54.83 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.009026/9.96, allocations: 2.972 MB / 5.141 GB, free: 54.53 MB / 0.9356 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.005328/9.965, allocations: 3.875 MB / 5.144 GB, free: 53.21 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.005213/9.971, allocations: 3.223 MB / 5.148 GB, free: 52.9 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 7.253e-06/9.971, allocations: 2.75 kB / 5.148 GB, free: 52.9 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.001216/9.972, allocations: 0.9456 MB / 5.149 GB, free: 52.8 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005692/9.978, allocations: 1.183 MB / 5.15 GB, free: 52.78 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009539/9.987, allocations: 4.958 MB / 5.155 GB, free: 51.57 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002349/9.99, allocations: 2.46 MB / 5.157 GB, free: 50.82 MB / 0.9356 GB Notification: Performance of SimCode: time 8.71e-07/9.99, allocations: 0 / 5.157 GB, free: 50.82 MB / 0.9356 GB (rm -f Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_ChillerSetPointControl_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_ChillerSetPointControl.fmu > Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.pipe 2>&1)