Running command: "" <> buildModelFMU(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU,fileNamePrefix="Buildings_5_0_1_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_KMinusU",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 3.98/3.98, allocations: 404 MB / 410.9 MB, free: 4.926 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2665/4.247, allocations: 95.01 MB / 0.4941 GB, free: 7.359 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5115/4.758, allocations: 92.69 MB / 0.5846 GB, free: 3.434 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2475/5.006, allocations: 120 MB / 0.7018 GB, free: 13.69 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003697/5.006, allocations: 91.94 kB / 0.7019 GB, free: 13.6 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.003889/5.01, allocations: 0.8055 MB / 0.7027 GB, free: 12.75 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.755e-05/5.01, allocations: 12 kB / 0.7027 GB, free: 12.74 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.751e-05/5.01, allocations: 3.906 kB / 0.7027 GB, free: 12.73 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001488/5.01, allocations: 171.1 kB / 0.7029 GB, free: 12.53 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.488e-05/5.01, allocations: 0 / 0.7029 GB, free: 12.53 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.363e-05/5.01, allocations: 0 / 0.7029 GB, free: 12.53 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.459e-05/5.011, allocations: 11.88 kB / 0.7029 GB, free: 12.52 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.249e-05/5.011, allocations: 41.69 kB / 0.7029 GB, free: 12.47 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/5.011, allocations: 0 / 0.7029 GB, free: 12.47 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.567e-05/5.011, allocations: 3.906 kB / 0.7029 GB, free: 12.46 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/5.011, allocations: 4 kB / 0.7029 GB, free: 12.46 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004792/5.011, allocations: 233.5 kB / 0.7032 GB, free: 12.2 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 7.52e-05/5.011, allocations: 26.58 kB / 0.7032 GB, free: 12.16 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.668e-05/5.011, allocations: 8.922 kB / 0.7032 GB, free: 12.15 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.747e-05/5.011, allocations: 4 kB / 0.7032 GB, free: 12.14 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.308e-05/5.011, allocations: 38.41 kB / 0.7032 GB, free: 12.1 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 2.104e-06/5.011, allocations: 3.938 kB / 0.7032 GB, free: 12.09 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.0002208/5.012, allocations: 45.69 kB / 0.7033 GB, free: 12.04 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.585e-05/5.012, allocations: 51.41 kB / 0.7033 GB, free: 11.98 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.516e-05/5.012, allocations: 93 kB / 0.7034 GB, free: 11.88 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.706e-05/5.012, allocations: 25.7 kB / 0.7034 GB, free: 11.85 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.731e-05/5.012, allocations: 92.17 kB / 0.7035 GB, free: 11.76 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.93e-05/5.012, allocations: 3.906 kB / 0.7035 GB, free: 11.75 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.009e-06/5.012, allocations: 0 / 0.7035 GB, free: 11.75 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001186/5.012, allocations: 314.8 kB / 0.7038 GB, free: 11.44 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.865e-05/5.012, allocations: 8 kB / 0.7038 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.182e-05/5.012, allocations: 0 / 0.7038 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.232e-05/5.012, allocations: 4 kB / 0.7038 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/5.012, allocations: 0 / 0.7038 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001287/5.012, allocations: 53.61 kB / 0.7039 GB, free: 11.37 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.952e-05/5.012, allocations: 7.984 kB / 0.7039 GB, free: 11.36 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.402e-05/5.012, allocations: 0 / 0.7039 GB, free: 11.36 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/5.012, allocations: 0 / 0.7039 GB, free: 11.36 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000131/5.013, allocations: 4 kB / 0.7039 GB, free: 11.36 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.237e-06/5.013, allocations: 4 kB / 0.7039 GB, free: 11.35 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.784e-05/5.013, allocations: 0 / 0.7039 GB, free: 11.35 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.305e-06/5.013, allocations: 0 / 0.7039 GB, free: 11.35 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.877e-05/5.013, allocations: 116.9 kB / 0.704 GB, free: 11.23 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.293e-05/5.013, allocations: 3.984 kB / 0.704 GB, free: 11.23 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.734e-05/5.013, allocations: 7.625 kB / 0.704 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.152e-06/5.013, allocations: 4 kB / 0.704 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/5.013, allocations: 0 / 0.704 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.563e-06/5.013, allocations: 7.844 kB / 0.704 GB, free: 11.2 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002025/5.013, allocations: 134.5 kB / 0.7042 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/5.013, allocations: 0 / 0.7042 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.406e-05/5.013, allocations: 11.98 kB / 0.7042 GB, free: 11.02 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.427e-06/5.013, allocations: 4 kB / 0.7042 GB, free: 11.02 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.233e-05/5.013, allocations: 4 kB / 0.7042 GB, free: 11.02 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/5.013, allocations: 0 / 0.7042 GB, free: 11.02 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.45e-06/5.013, allocations: 3.984 kB / 0.7042 GB, free: 11.01 MB / 0.5886 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001671/5.014, allocations: 139.4 kB / 0.7043 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002807/5.014, allocations: 0.5116 MB / 0.7048 GB, free: 10.33 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 4.756e-05/5.014, allocations: 81.11 kB / 0.7049 GB, free: 10.23 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.107e-05/5.014, allocations: 0 / 0.7049 GB, free: 10.23 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001334/5.014, allocations: 3.906 kB / 0.7049 GB, free: 10.23 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.785e-05/5.014, allocations: 4 kB / 0.7049 GB, free: 10.22 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.851e-06/5.014, allocations: 0 / 0.7049 GB, free: 10.22 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5.263e-05/5.014, allocations: 83.27 kB / 0.705 GB, free: 10.14 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.001387/5.016, allocations: 7.938 kB / 0.705 GB, free: 10.13 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001521/5.016, allocations: 110.6 kB / 0.7051 GB, free: 10.02 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001219/5.016, allocations: 15.94 kB / 0.7051 GB, free: 10 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/5.016, allocations: 0 / 0.7051 GB, free: 10 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 3.965e-05/5.016, allocations: 8 kB / 0.7051 GB, free: 9.996 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002071/5.016, allocations: 0.75 kB / 0.7051 GB, free: 9.996 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003995/5.017, allocations: 59.92 kB / 0.7052 GB, free: 9.914 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003343/5.017, allocations: 0.6959 MB / 0.7059 GB, free: 9.191 MB / 0.5886 GB Notification: Performance of SimCode: time 8.81e-07/5.017, allocations: 0 / 0.7059 GB, free: 9.191 MB / 0.5886 GB