Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc,fileNamePrefix="Buildings_5_0_1_Buildings_Fluid_HeatExchangers_CoolingTowers_Correlations_Examples_YorkCalc",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.263/4.263, allocations: 403.9 MB / 410.9 MB, free: 4.926 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2449/4.508, allocations: 95.02 MB / 0.4941 GB, free: 7.328 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.561/5.069, allocations: 92.69 MB / 0.5846 GB, free: 3.371 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2446/5.313, allocations: 120.5 MB / 0.7023 GB, free: 13.16 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003437/5.314, allocations: 83.94 kB / 0.7024 GB, free: 13.08 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.01582/5.33, allocations: 2.545 MB / 0.7049 GB, free: 10.49 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.055e-05/5.33, allocations: 16 kB / 0.7049 GB, free: 10.48 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.536e-05/5.33, allocations: 3.938 kB / 0.7049 GB, free: 10.47 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001592/5.33, allocations: 167 kB / 0.705 GB, free: 10.27 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.673e-05/5.33, allocations: 3.938 kB / 0.705 GB, free: 10.27 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.39e-05/5.33, allocations: 4 kB / 0.705 GB, free: 10.26 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.095e-05/5.33, allocations: 11.94 kB / 0.705 GB, free: 10.25 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.252e-05/5.33, allocations: 33.69 kB / 0.7051 GB, free: 10.21 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/5.33, allocations: 0 / 0.7051 GB, free: 10.21 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.125e-05/5.33, allocations: 0 / 0.7051 GB, free: 10.21 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.678e-06/5.33, allocations: 3.984 kB / 0.7051 GB, free: 10.21 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002437/5.33, allocations: 142.2 kB / 0.7052 GB, free: 10.03 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001395/5.331, allocations: 34.52 kB / 0.7053 GB, free: 9.988 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.65e-05/5.331, allocations: 16.92 kB / 0.7053 GB, free: 9.969 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002552/5.333, allocations: 0.637 MB / 0.7059 GB, free: 9.258 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.202e-05/5.333, allocations: 38.5 kB / 0.7059 GB, free: 9.211 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=3): time 2.625e-06/5.333, allocations: 0 / 0.7059 GB, free: 9.211 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3): time 0.0002673/5.334, allocations: 37.7 kB / 0.706 GB, free: 9.168 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.07e-05/5.334, allocations: 55.41 kB / 0.706 GB, free: 9.102 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.764e-05/5.334, allocations: 88.98 kB / 0.7061 GB, free: 9.008 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.808e-05/5.334, allocations: 25.7 kB / 0.7061 GB, free: 8.977 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.465e-05/5.334, allocations: 88.14 kB / 0.7062 GB, free: 8.887 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.078e-05/5.334, allocations: 3.906 kB / 0.7062 GB, free: 8.883 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.288e-06/5.334, allocations: 0 / 0.7062 GB, free: 8.883 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001201/5.334, allocations: 314.8 kB / 0.7065 GB, free: 8.566 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.229e-05/5.334, allocations: 4 kB / 0.7065 GB, free: 8.562 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.518e-05/5.334, allocations: 12.12 kB / 0.7065 GB, free: 8.551 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.582e-05/5.334, allocations: 3.984 kB / 0.7065 GB, free: 8.547 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.145e-06/5.334, allocations: 0 / 0.7065 GB, free: 8.547 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001569/5.334, allocations: 41.64 kB / 0.7066 GB, free: 8.5 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/5.334, allocations: 4 kB / 0.7066 GB, free: 8.496 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/5.334, allocations: 4 kB / 0.7066 GB, free: 8.492 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.831e-05/5.334, allocations: 3.984 kB / 0.7066 GB, free: 8.488 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.347e-05/5.334, allocations: 4 kB / 0.7066 GB, free: 8.484 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.092e-06/5.334, allocations: 0 / 0.7066 GB, free: 8.484 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.631e-05/5.335, allocations: 3.906 kB / 0.7066 GB, free: 8.48 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.917e-06/5.335, allocations: 4 kB / 0.7066 GB, free: 8.477 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 (3): * Single equations (assignments): 3 * 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.285e-05/5.335, allocations: 105 kB / 0.7067 GB, free: 8.367 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.723e-05/5.335, allocations: 4 kB / 0.7067 GB, free: 8.363 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002573/5.335, allocations: 53.22 kB / 0.7068 GB, free: 8.301 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.519e-06/5.335, allocations: 3.938 kB / 0.7068 GB, free: 8.297 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.225e-06/5.335, allocations: 4 kB / 0.7068 GB, free: 8.293 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.584e-06/5.335, allocations: 0 / 0.7068 GB, free: 8.293 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000128/5.335, allocations: 138.2 kB / 0.7069 GB, free: 8.121 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/5.335, allocations: 4 kB / 0.7069 GB, free: 8.117 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.673e-05/5.335, allocations: 4 kB / 0.7069 GB, free: 8.113 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/5.335, allocations: 0 / 0.7069 GB, free: 8.113 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.676e-06/5.335, allocations: 0 / 0.7069 GB, free: 8.113 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.17e-06/5.335, allocations: 3.984 kB / 0.7069 GB, free: 8.109 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.122e-06/5.335, allocations: 3.906 kB / 0.7069 GB, free: 8.105 MB / 0.5886 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001719/5.336, allocations: 65.12 kB / 0.707 GB, free: 8.023 MB / 0.5886 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002943/5.336, allocations: 461.6 kB / 0.7074 GB, free: 7.551 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 4.494e-05/5.336, allocations: 81.11 kB / 0.7075 GB, free: 7.453 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.824e-05/5.336, allocations: 0 / 0.7075 GB, free: 7.453 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.642e-05/5.336, allocations: 0 / 0.7075 GB, free: 7.453 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.803e-05/5.336, allocations: 3.906 kB / 0.7075 GB, free: 7.449 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.267e-06/5.336, allocations: 4 kB / 0.7075 GB, free: 7.445 MB / 0.5886 GB Notification: Performance of sort global known variables: time 4.164e-05/5.336, allocations: 79.28 kB / 0.7076 GB, free: 7.367 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.001385/5.337, allocations: 35.92 kB / 0.7076 GB, free: 7.332 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 (3): * Single equations (assignments): 3 * 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.0004481/5.338, allocations: 138.6 kB / 0.7077 GB, free: 7.188 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001157/5.338, allocations: 16 kB / 0.7077 GB, free: 7.172 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.135e-06/5.338, allocations: 0 / 0.7077 GB, free: 7.172 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 2.631e-05/5.338, allocations: 7.938 kB / 0.7078 GB, free: 7.164 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002317/5.338, allocations: 7.984 kB / 0.7078 GB, free: 7.156 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002783/5.339, allocations: 56.62 kB / 0.7078 GB, free: 7.078 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000303/5.339, allocations: 0.6876 MB / 0.7085 GB, free: 6.367 MB / 0.5886 GB Notification: Performance of SimCode: time 1.292e-06/5.339, allocations: 0 / 0.7085 GB, free: 6.367 MB / 0.5886 GB