Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl,fileNamePrefix="Buildings_8_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_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.1.4-maint.8.1.x/package.mo): time 1.41/1.41, allocations: 289.8 MB / 297.1 MB, free: 9.113 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.0009577/0.0009577, allocations: 180.4 kB / 366.3 MB, free: 11.34 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.07/1.07, allocations: 205.1 MB / 0.6256 GB, free: 11.36 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007701/0.0007703, allocations: 81.67 kB / 0.7396 GB, free: 6.566 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.3442/0.345, allocations: 122.4 MB / 0.8591 GB, free: 148 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1442/0.4892, allocations: 116.3 MB / 0.9727 GB, free: 31.61 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.644/4.133, allocations: 2.394 GB / 3.367 GB, free: 301.4 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002438/4.133, allocations: 107.9 kB / 3.367 GB, free: 301.3 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 4.363/8.496, allocations: 1.709 GB / 5.076 GB, free: 43.43 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.109e-05/8.496, allocations: 8 kB / 5.076 GB, free: 43.42 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008273/8.504, allocations: 1.517 MB / 5.077 GB, free: 41.98 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008069/8.512, allocations: 4.195 MB / 5.081 GB, free: 37.84 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004364/8.513, allocations: 247.6 kB / 5.081 GB, free: 37.59 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003259/8.513, allocations: 147.2 kB / 5.082 GB, free: 37.45 MB / 0.9948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003578/8.516, allocations: 2.274 MB / 5.084 GB, free: 35.17 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003337/8.52, allocations: 2.453 MB / 5.086 GB, free: 32.57 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.134e-05/8.52, allocations: 5.469 kB / 5.086 GB, free: 32.57 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002136/8.52, allocations: 7.906 kB / 5.086 GB, free: 32.56 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.828e-05/8.52, allocations: 84.25 kB / 5.086 GB, free: 32.48 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01794/8.538, allocations: 13.33 MB / 5.099 GB, free: 18.71 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002482/8.541, allocations: 1.724 MB / 5.101 GB, free: 17 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001195/8.542, allocations: 0.9143 MB / 5.102 GB, free: 16.09 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009619/8.551, allocations: 5.882 MB / 5.108 GB, free: 9.875 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001215/8.553, allocations: 0.9756 MB / 5.109 GB, free: 8.887 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=149): time 2.575e-06/8.553, allocations: 3.938 kB / 5.109 GB, free: 8.883 MB / 0.9948 GB Notification: Performance of matching and sorting (n=149): time 0.004116/8.557, allocations: 2.008 MB / 5.111 GB, free: 6.852 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.139e-05/8.557, allocations: 222.9 kB / 5.111 GB, free: 6.582 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002713/8.56, allocations: 2.43 MB / 5.113 GB, free: 4.156 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001394/8.56, allocations: 29.7 kB / 5.113 GB, free: 4.121 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006273/8.56, allocations: 0.9843 MB / 5.114 GB, free: 3.121 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000396/8.561, allocations: 493.5 kB / 5.115 GB, free: 2.633 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001171/8.561, allocations: 3.656 kB / 5.115 GB, free: 2.633 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 8.181e-05/8.561, allocations: 381.8 kB / 5.115 GB, free: 2.254 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001011/8.562, allocations: 0.7263 MB / 5.116 GB, free: 1.527 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001287/8.563, allocations: 1.388 MB / 5.117 GB, free: 15.86 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002508/8.566, allocations: 1.05 MB / 5.118 GB, free: 14.84 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.608e-06/8.566, allocations: 4 kB / 5.118 GB, free: 14.83 MB / 1.01 GB Notification: Performance of matching and sorting (n=240) (initialization): time 0.004986/8.571, allocations: 2.55 MB / 5.121 GB, free: 12.27 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 0.00174/8.573, allocations: 5.825 MB / 5.126 GB, free: 5.957 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.85e-05/8.573, allocations: 16 kB / 5.126 GB, free: 5.941 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001606/8.573, allocations: 48.84 kB / 5.126 GB, free: 5.891 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002828/8.576, allocations: 0.5788 MB / 5.127 GB, free: 5.328 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001093/8.577, allocations: 1.369 MB / 5.128 GB, free: 3.855 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003589/8.58, allocations: 433.6 kB / 5.129 GB, free: 3.461 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002431/8.581, allocations: 115.9 kB / 5.129 GB, free: 3.348 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 7.675e-06/8.581, allocations: 7.984 kB / 5.129 GB, free: 3.34 MB / 1.01 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004344/8.585, allocations: 2.137 MB / 5.131 GB, free: 1.191 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.583e-05/8.585, allocations: 19.98 kB / 5.131 GB, free: 1.172 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001069/8.585, allocations: 55.16 kB / 5.131 GB, free: 1.121 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002671/8.588, allocations: 0.5583 MB / 5.131 GB, free: 0.5781 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3327/8.921, allocations: 1.372 MB / 5.133 GB, free: 174.7 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003812/8.924, allocations: 359.3 kB / 5.133 GB, free: 174.7 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002279/8.925, allocations: 118.9 kB / 5.133 GB, free: 174.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.0004787/8.925, allocations: 171.8 kB / 5.133 GB, free: 174.6 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004403/8.926, allocations: 318.5 kB / 5.134 GB, free: 174.6 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004422/8.93, allocations: 2.297 MB / 5.136 GB, free: 174.4 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.505e-05/8.93, allocations: 16.31 kB / 5.136 GB, free: 174.4 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/8.93, allocations: 2.781 kB / 5.136 GB, free: 174.4 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002751/8.933, allocations: 1.968 MB / 5.138 GB, free: 173.8 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007835/8.941, allocations: 5.139 MB / 5.143 GB, free: 173.1 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.623e-06/8.941, allocations: 3.844 kB / 5.143 GB, free: 173.1 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002139/8.943, allocations: 413.9 kB / 5.143 GB, free: 173.1 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.371e-05/8.943, allocations: 31.56 kB / 5.143 GB, free: 173.1 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001359/8.943, allocations: 41.23 kB / 5.143 GB, free: 173.1 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007319/8.944, allocations: 1.349 MB / 5.145 GB, free: 171.9 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/8.944, allocations: 6.672 kB / 5.145 GB, free: 171.9 MB / 1.01 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004615/8.948, allocations: 3.59 MB / 5.148 GB, free: 171 MB / 1.01 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.006168/8.955, allocations: 5.258 MB / 5.153 GB, free: 169.6 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001301/8.956, allocations: 0.6865 MB / 5.154 GB, free: 169.4 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000464/8.956, allocations: 10.22 kB / 5.154 GB, free: 169.4 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002495/8.959, allocations: 259.6 kB / 5.154 GB, free: 169.4 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000152/8.959, allocations: 96.27 kB / 5.154 GB, free: 169.4 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001636/8.959, allocations: 80.34 kB / 5.154 GB, free: 169.4 MB / 1.01 GB Notification: Performance of sort global known variables: time 0.002251/8.962, allocations: 1.804 MB / 5.156 GB, free: 169.2 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.008026/8.97, allocations: 2.986 MB / 5.159 GB, free: 169.1 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.004798/8.974, allocations: 3.875 MB / 5.163 GB, free: 168 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.004462/8.979, allocations: 3.215 MB / 5.166 GB, free: 167.6 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 6.271e-06/8.979, allocations: 3.25 kB / 5.166 GB, free: 167.6 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.001177/8.98, allocations: 0.9443 MB / 5.167 GB, free: 167.5 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005213/8.985, allocations: 1.193 MB / 5.168 GB, free: 167.5 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009347/8.995, allocations: 4.965 MB / 5.173 GB, free: 166.3 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002275/8.997, allocations: 2.464 MB / 5.175 GB, free: 165.6 MB / 1.01 GB Notification: Performance of SimCode: time 6.02e-07/8.997, allocations: 2.844 kB / 5.175 GB, free: 165.6 MB / 1.01 GB (rm -f Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.pipe ; mkfifo Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.pipe ; head -c 1048576 < Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.pipe >> ../files/Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_ChillerSetPointControl_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_ChillerSetPointControl.fmu > Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.pipe 2>&1)