Running command: "" <> buildModelFMU(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl,fileNamePrefix="Buildings_5_0_1_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_ChillerSetPointControl",fmuType="me",version="2.0",platforms={"dynamic"}) [: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 loadModel(Buildings): time 4.043/4.043, allocations: 404 MB / 410.9 MB, free: 4.906 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2804/4.324, allocations: 95.02 MB / 0.4941 GB, free: 7.293 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5567/4.88, allocations: 92.67 MB / 0.5846 GB, free: 3.367 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.277/11.16, allocations: 2.477 GB / 3.062 GB, free: 142.9 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003566/11.16, allocations: 106.5 kB / 3.062 GB, free: 142.8 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 621 * Number of variables: 621 Notification: Performance of Generate backend data structure: time 8.416/19.57, allocations: 1.632 GB / 4.694 GB, free: 32.12 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.853e-05/19.57, allocations: 8 kB / 4.694 GB, free: 32.11 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02188/19.6, allocations: 1.57 MB / 4.696 GB, free: 30.62 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02172/19.62, allocations: 4.539 MB / 4.7 GB, free: 26.16 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001249/19.62, allocations: 261.2 kB / 4.701 GB, free: 25.89 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001341/19.62, allocations: 160 kB / 4.701 GB, free: 25.74 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01028/19.63, allocations: 2.423 MB / 4.703 GB, free: 23.31 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01165/19.64, allocations: 2.675 MB / 4.706 GB, free: 20.46 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001361/19.64, allocations: 3.938 kB / 4.706 GB, free: 20.45 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008511/19.64, allocations: 11.91 kB / 4.706 GB, free: 20.44 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001285/19.64, allocations: 96.55 kB / 4.706 GB, free: 20.34 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04746/19.69, allocations: 14.84 MB / 4.72 GB, free: 4.945 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004481/19.7, allocations: 1.336 MB / 4.722 GB, free: 3.594 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003316/19.7, allocations: 0.9524 MB / 4.723 GB, free: 2.637 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0174/19.72, allocations: 5.098 MB / 4.727 GB, free: 13.23 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003788/19.72, allocations: 1.082 MB / 4.729 GB, free: 12.11 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=150): time 7.144e-06/19.72, allocations: 3.25 kB / 4.729 GB, free: 12.11 MB / 0.8386 GB Notification: Performance of matching and sorting (n=153): time 0.03754/19.76, allocations: 6.622 MB / 4.735 GB, free: 5.359 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003397/19.76, allocations: 0.509 MB / 4.736 GB, free: 4.738 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009056/19.77, allocations: 2.519 MB / 4.738 GB, free: 2.227 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.000693/19.77, allocations: 29.7 kB / 4.738 GB, free: 2.191 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.002255/19.77, allocations: 1.108 MB / 4.739 GB, free: 1.062 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.001474/19.77, allocations: 0.498 MB / 4.74 GB, free: 0.5586 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005438/19.77, allocations: 2.875 kB / 4.74 GB, free: 0.5586 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0004828/19.77, allocations: 390.2 kB / 4.74 GB, free: 176 kB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.4244/20.2, allocations: 0.826 MB / 4.741 GB, free: 139 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003802/20.2, allocations: 1.59 MB / 4.742 GB, free: 138.2 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005498/20.21, allocations: 1.142 MB / 4.743 GB, free: 138.2 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-05/20.21, allocations: 6.125 kB / 4.743 GB, free: 138.2 MB / 0.8386 GB Notification: Performance of matching and sorting (n=276) (initialization): time 0.01297/20.22, allocations: 2.868 MB / 4.746 GB, free: 138 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.001687/20.22, allocations: 6.902 MB / 4.753 GB, free: 130.7 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001048/20.22, allocations: 21.64 kB / 4.753 GB, free: 130.7 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005153/20.22, allocations: 87.53 kB / 4.753 GB, free: 130.7 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008103/20.23, allocations: 0.6525 MB / 4.754 GB, free: 130.7 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001965/20.23, allocations: 1.927 MB / 4.756 GB, free: 128.9 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009633/20.24, allocations: 374.5 kB / 4.756 GB, free: 128.9 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009568/20.24, allocations: 132.1 kB / 4.756 GB, free: 128.9 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/20.24, allocations: 9.406 kB / 4.756 GB, free: 128.9 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01024/20.25, allocations: 2.384 MB / 4.758 GB, free: 128.8 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-05/20.25, allocations: 23.53 kB / 4.758 GB, free: 128.8 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002829/20.25, allocations: 70.45 kB / 4.758 GB, free: 128.8 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007206/20.26, allocations: 0.628 MB / 4.759 GB, free: 128.8 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002314/20.26, allocations: 2.591 MB / 4.762 GB, free: 126.3 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00804/20.27, allocations: 307.2 kB / 4.762 GB, free: 126.3 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008538/20.27, allocations: 121.7 kB / 4.762 GB, free: 126.3 MB / 0.8386 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: limPID.addSat.u2:VARIABLE(protected = true ) "Connector of Real input signal 2" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 71 * Number of states: 0 () * Number of discrete variables: 17 ($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,limPID.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (270): * Single equations (assignments): 263 * Array equations: 2 * Algorithm blocks: 2 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * 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: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.001049/20.27, allocations: 183 kB / 4.762 GB, free: 126.2 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001549/20.28, allocations: 329.5 kB / 4.763 GB, free: 126.2 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01093/20.29, allocations: 2.424 MB / 4.765 GB, free: 126 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.042e-05/20.29, allocations: 22.94 kB / 4.765 GB, free: 126 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.495e-05/20.29, allocations: 7.219 kB / 4.765 GB, free: 126 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007088/20.29, allocations: 2.073 MB / 4.767 GB, free: 125.4 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02053/20.31, allocations: 5.529 MB / 4.772 GB, free: 124.4 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.359e-05/20.31, allocations: 4.844 kB / 4.772 GB, free: 124.4 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005458/20.32, allocations: 417.7 kB / 4.773 GB, free: 124.4 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000692/20.32, allocations: 149.9 kB / 4.773 GB, free: 124.4 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000494/20.32, allocations: 38.47 kB / 4.773 GB, free: 124.4 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002905/20.32, allocations: 3.087 MB / 4.776 GB, free: 121.6 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.3e-05/20.32, allocations: 7.25 kB / 4.776 GB, free: 121.6 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0129/20.34, allocations: 3.864 MB / 4.78 GB, free: 120.5 MB / 0.8386 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01655/20.35, allocations: 5.555 MB / 4.785 GB, free: 118.9 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003172/20.36, allocations: 0.6679 MB / 4.786 GB, free: 118.7 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001657/20.36, allocations: 9.25 kB / 4.786 GB, free: 118.7 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007492/20.37, allocations: 300.7 kB / 4.786 GB, free: 118.7 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000558/20.37, allocations: 98.81 kB / 4.786 GB, free: 118.7 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004044/20.37, allocations: 84.89 kB / 4.786 GB, free: 118.7 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.005668/20.37, allocations: 1.861 MB / 4.788 GB, free: 118.5 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.01894/20.39, allocations: 2.814 MB / 4.791 GB, free: 118.5 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 (164): * Single equations (assignments): 152 * 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: 4 * 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: 3 {1 3,1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.009102/20.4, allocations: 3.842 MB / 4.795 GB, free: 117.3 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.01155/20.41, allocations: 3.759 MB / 4.798 GB, free: 116.8 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.32e-05/20.41, allocations: 2.031 kB / 4.798 GB, free: 116.8 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.00347/20.42, allocations: 0.9914 MB / 4.799 GB, free: 116.7 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01363/20.43, allocations: 1.216 MB / 4.8 GB, free: 116.7 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02952/20.46, allocations: 5.183 MB / 4.805 GB, free: 115.4 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008942/20.47, allocations: 2.534 MB / 4.808 GB, free: 114.7 MB / 0.8386 GB Notification: Performance of SimCode: time 2.034e-06/20.47, allocations: 0 / 4.808 GB, free: 114.7 MB / 0.8386 GB