Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.conf.json 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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl,fileNamePrefix="Buildings_7_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 7.0.1/package.mo): time 2.257/2.257, allocations: 248.6 MB / 255.9 MB, free: 7.16 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001639/0.001639, allocations: 183 kB / 315.1 MB, free: 4.273 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.974/1.974, allocations: 205.1 MB / 0.5658 GB, free: 372 kB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00164/0.00164, allocations: 94.77 kB / 0.67 GB, free: 5.578 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.5259/0.5276, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2084/0.736, allocations: 106.2 MB / 0.8835 GB, free: 13.34 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.453/7.189, allocations: 2.511 GB / 3.394 GB, free: 197.8 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003272/7.189, allocations: 107.2 kB / 3.394 GB, free: 197.8 MB / 0.8698 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 8.523/15.71, allocations: 1.662 GB / 5.056 GB, free: 84.64 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.507e-05/15.71, allocations: 8.125 kB / 5.056 GB, free: 84.64 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0205/15.73, allocations: 1.527 MB / 5.057 GB, free: 84.43 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02492/15.76, allocations: 4.172 MB / 5.061 GB, free: 83.84 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001077/15.76, allocations: 257.7 kB / 5.062 GB, free: 83.77 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00126/15.76, allocations: 145.2 kB / 5.062 GB, free: 83.77 MB / 0.9636 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009646/15.77, allocations: 2.274 MB / 5.064 GB, free: 83.75 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00977/15.78, allocations: 2.45 MB / 5.066 GB, free: 83.36 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.304e-05/15.78, allocations: 9.875 kB / 5.066 GB, free: 83.36 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004492/15.78, allocations: 2.156 kB / 5.066 GB, free: 83.36 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001676/15.78, allocations: 84.45 kB / 5.067 GB, free: 83.35 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04735/15.83, allocations: 13.33 MB / 5.08 GB, free: 77.41 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005926/15.83, allocations: 1.723 MB / 5.081 GB, free: 77.35 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003014/15.84, allocations: 0.9058 MB / 5.082 GB, free: 77.33 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02622/15.86, allocations: 5.862 MB / 5.088 GB, free: 74.79 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004042/15.87, allocations: 0.9699 MB / 5.089 GB, free: 74.71 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=149): time 1.568e-05/15.87, allocations: 2.469 kB / 5.089 GB, free: 74.71 MB / 0.9636 GB Notification: Performance of matching and sorting (n=149): time 0.01213/15.88, allocations: 2.004 MB / 5.091 GB, free: 74.39 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001034/15.88, allocations: 230.2 kB / 5.091 GB, free: 74.14 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007453/15.89, allocations: 2.423 MB / 5.093 GB, free: 73.89 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0006618/15.89, allocations: 31.73 kB / 5.093 GB, free: 73.86 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.00174/15.89, allocations: 0.9886 MB / 5.094 GB, free: 73.34 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.001249/15.89, allocations: 495.4 kB / 5.095 GB, free: 73.02 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004741/15.89, allocations: 6.188 kB / 5.095 GB, free: 73.02 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0003943/15.89, allocations: 375.8 kB / 5.095 GB, free: 72.71 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003036/15.9, allocations: 0.7313 MB / 5.096 GB, free: 72.71 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003475/15.9, allocations: 1.383 MB / 5.097 GB, free: 71.97 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004645/15.9, allocations: 1.049 MB / 5.098 GB, free: 71.95 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-05/15.9, allocations: 4.75 kB / 5.098 GB, free: 71.95 MB / 0.9636 GB Notification: Performance of matching and sorting (n=240) (initialization): time 0.008931/15.91, allocations: 2.552 MB / 5.101 GB, free: 71.61 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.00133/15.91, allocations: 5.821 MB / 5.106 GB, free: 65.44 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.031e-05/15.91, allocations: 16.91 kB / 5.106 GB, free: 65.44 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002881/15.91, allocations: 54.41 kB / 5.107 GB, free: 65.43 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00594/15.92, allocations: 0.5788 MB / 5.107 GB, free: 65.43 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001303/15.92, allocations: 1.371 MB / 5.108 GB, free: 64.16 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007058/15.93, allocations: 431 kB / 5.109 GB, free: 64.07 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005635/15.93, allocations: 119.1 kB / 5.109 GB, free: 64.07 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.216e-05/15.93, allocations: 2.781 kB / 5.109 GB, free: 64.07 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007619/15.94, allocations: 2.144 MB / 5.111 GB, free: 63.92 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-05/15.94, allocations: 13.84 kB / 5.111 GB, free: 63.92 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001609/15.94, allocations: 54.14 kB / 5.111 GB, free: 63.91 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005331/15.94, allocations: 0.5661 MB / 5.112 GB, free: 63.91 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001241/15.94, allocations: 1.366 MB / 5.113 GB, free: 62.65 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006336/15.95, allocations: 357.7 kB / 5.113 GB, free: 62.58 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005294/15.95, allocations: 113.6 kB / 5.113 GB, free: 62.58 MB / 0.9636 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.0007829/15.95, allocations: 172 kB / 5.114 GB, free: 62.46 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001231/15.95, allocations: 321.8 kB / 5.114 GB, free: 62.29 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009204/15.96, allocations: 2.289 MB / 5.116 GB, free: 62.07 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.409e-05/15.96, allocations: 20.72 kB / 5.116 GB, free: 62.07 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.973e-05/15.96, allocations: 3.844 kB / 5.116 GB, free: 62.07 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006358/15.97, allocations: 1.966 MB / 5.118 GB, free: 61.49 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01774/15.99, allocations: 5.135 MB / 5.123 GB, free: 60.66 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.09e-05/15.99, allocations: 3.844 kB / 5.123 GB, free: 60.66 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004387/15.99, allocations: 408.6 kB / 5.123 GB, free: 60.66 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001542/15.99, allocations: 35.31 kB / 5.124 GB, free: 60.66 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002438/15.99, allocations: 35.89 kB / 5.124 GB, free: 60.66 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001188/15.99, allocations: 1.352 MB / 5.125 GB, free: 59.38 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.045e-06/15.99, allocations: 9.969 kB / 5.125 GB, free: 59.38 MB / 0.9636 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0106/16, allocations: 3.589 MB / 5.128 GB, free: 58.39 MB / 0.9636 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01875/16.02, allocations: 5.256 MB / 5.134 GB, free: 57.03 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003119/16.03, allocations: 0.6769 MB / 5.134 GB, free: 56.75 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001728/16.03, allocations: 13.02 kB / 5.134 GB, free: 56.75 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006187/16.03, allocations: 257.8 kB / 5.134 GB, free: 56.74 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004843/16.03, allocations: 97.59 kB / 5.135 GB, free: 56.74 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004211/16.03, allocations: 76.98 kB / 5.135 GB, free: 56.74 MB / 0.9636 GB Notification: Performance of sort global known variables: time 0.005712/16.04, allocations: 1.811 MB / 5.136 GB, free: 56.59 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.01826/16.06, allocations: 2.98 MB / 5.139 GB, free: 56.29 MB / 0.9636 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.00941/16.07, allocations: 3.865 MB / 5.143 GB, free: 54.97 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.01011/16.08, allocations: 3.222 MB / 5.146 GB, free: 54.66 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.321e-05/16.08, allocations: 0 / 5.146 GB, free: 54.66 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.002768/16.08, allocations: 0.9462 MB / 5.147 GB, free: 54.56 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01247/16.09, allocations: 1.192 MB / 5.148 GB, free: 54.54 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02009/16.11, allocations: 4.951 MB / 5.153 GB, free: 53.32 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006638/16.12, allocations: 2.461 MB / 5.156 GB, free: 52.56 MB / 0.9636 GB Notification: Performance of SimCode: time 2.365e-06/16.12, allocations: 3.391 kB / 5.156 GB, free: 52.56 MB / 0.9636 GB