Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo) Running command: translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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_3.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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.7858/0.7858, allocations: 132.4 MB / 139.7 MB, free: 15.59 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001252/0.001252, allocations: 179.8 kB / 171.6 MB, free: 1.988 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.673/1.673, allocations: 170.5 MB / 373.8 MB, free: 15.83 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001659/0.001659, allocations: 117.5 kB / 444.4 MB, free: 9.359 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.567/0.567, allocations: 73.39 MB / 0.666 GB, free: 62.34 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.062/6.629, allocations: 2.445 GB / 3.111 GB, free: 211.8 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002916/6.63, allocations: 100.5 kB / 3.111 GB, free: 211.8 MB / 0.6198 GB Notification: Performance of FrontEnd: time 6.588/13.22, allocations: 1.571 GB / 4.682 GB, free: 38.55 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0008789/13.22, allocations: 98.44 kB / 4.682 GB, free: 38.53 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 606 * Number of variables: 606 Notification: Performance of Generate backend data structure: time 0.01708/13.24, allocations: 4.056 MB / 4.686 GB, free: 36.7 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.221e-05/13.24, allocations: 9.531 kB / 4.686 GB, free: 36.7 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01352/13.25, allocations: 1.56 MB / 4.687 GB, free: 36.48 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01641/13.27, allocations: 4.314 MB / 4.691 GB, free: 35.82 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007754/13.27, allocations: 255.5 kB / 4.692 GB, free: 35.75 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001471/13.27, allocations: 152.1 kB / 4.692 GB, free: 35.74 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008246/13.28, allocations: 2.406 MB / 4.694 GB, free: 35.73 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01106/13.29, allocations: 2.63 MB / 4.697 GB, free: 35.25 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001487/13.29, allocations: 6.656 kB / 4.697 GB, free: 35.25 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009358/13.29, allocations: 3.625 kB / 4.697 GB, free: 35.25 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001356/13.29, allocations: 97.28 kB / 4.697 GB, free: 35.24 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03466/13.32, allocations: 14.5 MB / 4.711 GB, free: 28.34 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003133/13.33, allocations: 1.308 MB / 4.712 GB, free: 28.29 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001996/13.33, allocations: 0.9251 MB / 4.713 GB, free: 28.26 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01297/13.34, allocations: 4.848 MB / 4.718 GB, free: 26.08 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00192/13.34, allocations: 1.051 MB / 4.719 GB, free: 25.93 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=146): time 6.913e-06/13.34, allocations: 1.969 kB / 4.719 GB, free: 25.93 MB / 0.6823 GB Notification: Performance of matching and sorting (n=149): time 0.02006/13.36, allocations: 4.901 MB / 4.724 GB, free: 24.52 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002506/13.36, allocations: 0.5375 MB / 4.724 GB, free: 23.88 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00861/13.37, allocations: 2.54 MB / 4.727 GB, free: 23.63 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0009598/13.37, allocations: 32.58 kB / 4.727 GB, free: 23.6 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.002072/13.38, allocations: 1.08 MB / 4.728 GB, free: 23.02 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.001324/13.38, allocations: 499.8 kB / 4.728 GB, free: 22.7 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005707/13.38, allocations: 3.438 kB / 4.728 GB, free: 22.7 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002657/13.38, allocations: 389.5 kB / 4.729 GB, free: 22.39 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002253/13.38, allocations: 0.9025 MB / 4.73 GB, free: 22.39 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002917/13.38, allocations: 1.617 MB / 4.731 GB, free: 21.62 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003997/13.39, allocations: 1.202 MB / 4.732 GB, free: 21.59 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.738e-05/13.39, allocations: 4.312 kB / 4.732 GB, free: 21.59 MB / 0.6823 GB Notification: Performance of matching and sorting (n=273) (initialization): time 0.01077/13.4, allocations: 2.892 MB / 4.735 GB, free: 21.34 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.001974/13.4, allocations: 5.602 MB / 4.741 GB, free: 15.38 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-05/13.4, allocations: 12.38 kB / 4.741 GB, free: 15.38 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003139/13.4, allocations: 55.03 kB / 4.741 GB, free: 15.37 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003924/13.4, allocations: 0.6323 MB / 4.741 GB, free: 15.37 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001371/13.41, allocations: 1.329 MB / 4.743 GB, free: 14.18 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006296/13.41, allocations: 424.7 kB / 4.743 GB, free: 14.15 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00104/13.41, allocations: 130.2 kB / 4.743 GB, free: 14.15 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/13.41, allocations: 9.062 kB / 4.743 GB, free: 14.15 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008623/13.42, allocations: 2.472 MB / 4.746 GB, free: 14.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.37e-05/13.42, allocations: 15.56 kB / 4.746 GB, free: 14.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00022/13.42, allocations: 58.81 kB / 4.746 GB, free: 14.09 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004163/13.43, allocations: 0.6056 MB / 4.746 GB, free: 14.09 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001853/13.43, allocations: 1.336 MB / 4.748 GB, free: 28.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006527/13.43, allocations: 354.8 kB / 4.748 GB, free: 28.89 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001/13.44, allocations: 131 kB / 4.748 GB, free: 28.89 MB / 0.698 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: limPID.addSat.u2:VARIABLE() "Connector of Real input signal 2" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 58 * Number of states: 0 () * Number of discrete variables: 16 ($PRE.triAndRes.firstTrigger,triAndRes.firstTrigger,$whenCondition3,triAndRes.sampleTrigger,$PRE.triAndRes.uniDel1.firstTrigger,triAndRes.uniDel1.firstTrigger,$PRE.triAndRes.sam.firstTrigger,triAndRes.sam.firstTrigger,$whenCondition1,triAndRes.sam.sampleTrigger,$whenCondition2,triAndRes.uniDel1.sampleTrigger,triAndRes.incY.y,triAndRes.sam.y,$PRE.triAndRes.uniDel1.y,triAndRes.uniDel1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (256): * Single equations (assignments): 250 * Array equations: 1 * Algorithm blocks: 3 * 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: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.001732/13.44, allocations: 176 kB / 4.748 GB, free: 28.77 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002059/13.44, allocations: 316.4 kB / 4.748 GB, free: 28.61 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009518/13.45, allocations: 2.308 MB / 4.751 GB, free: 28.46 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.135e-05/13.45, allocations: 17.09 kB / 4.751 GB, free: 28.46 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.432e-05/13.45, allocations: 0.9375 kB / 4.751 GB, free: 28.46 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005074/13.45, allocations: 1.967 MB / 4.753 GB, free: 27.95 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01772/13.47, allocations: 5.138 MB / 4.758 GB, free: 27.22 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.517e-05/13.47, allocations: 6.781 kB / 4.758 GB, free: 27.22 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002704/13.47, allocations: 419.7 kB / 4.758 GB, free: 27.22 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004118/13.48, allocations: 121.4 kB / 4.758 GB, free: 27.2 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002756/13.48, allocations: 39.45 kB / 4.758 GB, free: 27.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001708/13.48, allocations: 1.752 MB / 4.76 GB, free: 25.64 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-05/13.48, allocations: 12.84 kB / 4.76 GB, free: 25.64 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00893/13.49, allocations: 3.609 MB / 4.763 GB, free: 24.68 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003514/13.49, allocations: 0.6794 MB / 4.764 GB, free: 24.42 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001963/13.49, allocations: 10.09 kB / 4.764 GB, free: 24.42 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005057/13.5, allocations: 323.6 kB / 4.764 GB, free: 24.4 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002752/13.5, allocations: 99.55 kB / 4.765 GB, free: 24.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002958/13.5, allocations: 80.39 kB / 4.765 GB, free: 24.4 MB / 0.698 GB Notification: Performance of sort global known variables: time 0.005801/13.5, allocations: 1.88 MB / 4.766 GB, free: 24.25 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.01475/13.52, allocations: 1.817 MB / 4.768 GB, free: 24.13 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 12 (chi.vol1.dynBal.U,chi.vol2.dynBal.U,limPID.I.y,limPID.D.x,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.uniDel1.sampleTrigger,triAndRes.sam.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): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 5 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 3,1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.01088/13.53, allocations: 3.819 MB / 4.772 GB, free: 22.82 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.01085/13.54, allocations: 3.902 MB / 4.776 GB, free: 22.25 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.308e-05/13.54, allocations: 3.781 kB / 4.776 GB, free: 22.25 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.002399/13.54, allocations: 0.8647 MB / 4.777 GB, free: 22.2 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008884/13.55, allocations: 1.191 MB / 4.778 GB, free: 22.18 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01952/13.57, allocations: 5.035 MB / 4.783 GB, free: 20.73 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006687/13.58, allocations: 2.471 MB / 4.785 GB, free: 19.93 MB / 0.698 GB Notification: Performance of SimCode: time 1.643e-06/13.58, allocations: 0 / 4.785 GB, free: 19.93 MB / 0.698 GB Notification: Performance of Templates: time 0.7354/14.31, allocations: 90.81 MB / 4.874 GB, free: 97.74 MB / 0.698 GB make -j1 -f Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.makefile (rm -f Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.pipe ; mkfifo Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.pipe >> ../files/Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.sim & ./Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.pipe 2>&1)