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={"static"}) Notification: Performance of loadModel(Buildings): time 3.923/3.923, allocations: 403.3 MB / 415.4 MB, free: 13 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.808e-05/3.815e-05, allocations: 4 kB / 0.4991 GB, free: 13.34 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6416/0.6417, allocations: 92.68 MB / 0.5897 GB, free: 14.48 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2291/0.8708, allocations: 121.2 MB / 0.708 GB, free: 5.086 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003418/0.8712, allocations: 87.94 kB / 0.7081 GB, free: 5 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.01252/0.8837, allocations: 2.325 MB / 0.7104 GB, free: 2.672 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.954e-06/0.8838, allocations: 0 / 0.7104 GB, free: 2.672 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 8.636e-06/0.8838, allocations: 4 kB / 0.7104 GB, free: 2.668 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.0003616/0.8842, allocations: 330.5 kB / 0.7107 GB, free: 2.301 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.351e-05/0.8843, allocations: 12.03 kB / 0.7107 GB, free: 2.289 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.528e-05/0.8843, allocations: 30.56 kB / 0.7108 GB, free: 2.25 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.969e-05/0.8844, allocations: 3.953 kB / 0.7108 GB, free: 2.246 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001295/0.8845, allocations: 159.1 kB / 0.7109 GB, free: 2.051 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.496e-05/0.8845, allocations: 3.984 kB / 0.7109 GB, free: 2.047 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.225e-05/0.8846, allocations: 4 kB / 0.7109 GB, free: 2.043 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001126/0.8847, allocations: 41.64 kB / 0.711 GB, free: 1.996 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.806e-06/0.8847, allocations: 3.938 kB / 0.711 GB, free: 1.992 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.437e-06/0.8847, allocations: 0 / 0.711 GB, free: 1.992 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.8847, allocations: 0 / 0.711 GB, free: 1.992 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.157e-05/0.8848, allocations: 19.92 kB / 0.711 GB, free: 1.973 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001936/0.885, allocations: 153.6 kB / 0.7111 GB, free: 1.773 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001136/0.8851, allocations: 34.67 kB / 0.7112 GB, free: 1.73 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.032e-05/0.8852, allocations: 8.859 kB / 0.7112 GB, free: 1.719 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001963/0.8872, allocations: 0.5589 MB / 0.7117 GB, free: 1.086 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.705e-05/0.8872, allocations: 38.5 kB / 0.7118 GB, free: 1.039 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=3): time 2.265e-06/0.8873, allocations: 0 / 0.7118 GB, free: 1.039 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3): time 0.0001852/0.8874, allocations: 41.7 kB / 0.7118 GB, free: 0.9922 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.235e-05/0.8875, allocations: 51.41 kB / 0.7118 GB, free: 0.9297 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.611e-05/0.8876, allocations: 92.98 kB / 0.7119 GB, free: 0.832 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.746e-05/0.8876, allocations: 25.7 kB / 0.712 GB, free: 0.8008 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.947e-05/0.8877, allocations: 80.14 kB / 0.712 GB, free: 0.7188 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.392e-05/0.8877, allocations: 11.94 kB / 0.712 GB, free: 0.707 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.527e-06/0.8877, allocations: 4 kB / 0.7121 GB, free: 0.7031 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001234/0.8879, allocations: 318.8 kB / 0.7124 GB, free: 392 kB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.945e-05/0.8879, allocations: 0 / 0.7124 GB, free: 392 kB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.931e-05/0.8879, allocations: 4 kB / 0.7124 GB, free: 388 kB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.338e-05/0.888, allocations: 11.98 kB / 0.7124 GB, free: 376 kB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.888, allocations: 0 / 0.7124 GB, free: 376 kB / 0.5886 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001012/0.8881, allocations: 41.64 kB / 0.7124 GB, free: 328 kB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/0.8881, allocations: 4 kB / 0.7124 GB, free: 324 kB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.8881, allocations: 0 / 0.7124 GB, free: 324 kB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.8882, allocations: 11.92 kB / 0.7124 GB, free: 312 kB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.171e-05/0.8883, allocations: 8 kB / 0.7124 GB, free: 304 kB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.8883, allocations: 0 / 0.7124 GB, free: 304 kB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.487e-05/0.8883, allocations: 0 / 0.7124 GB, free: 304 kB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.444e-06/0.8883, allocations: 0 / 0.7124 GB, free: 304 kB / 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.884e-05/0.8885, allocations: 112.5 kB / 0.7125 GB, free: 188 kB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.034e-05/0.8885, allocations: 4 kB / 0.7125 GB, free: 184 kB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001656/0.8886, allocations: 53.12 kB / 0.7126 GB, free: 120 kB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.8887, allocations: 4 kB / 0.7126 GB, free: 116 kB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.8887, allocations: 0 / 0.7126 GB, free: 116 kB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.317e-06/0.8887, allocations: 3.984 kB / 0.7126 GB, free: 112 kB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001571/0.8889, allocations: 161.5 kB / 0.7128 GB, free: 15.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.8889, allocations: 0 / 0.7128 GB, free: 15.9 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.671e-05/0.8889, allocations: 11.98 kB / 0.7128 GB, free: 15.89 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.889, allocations: 0 / 0.7128 GB, free: 15.89 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.005e-06/0.889, allocations: 0 / 0.7128 GB, free: 15.89 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.889, allocations: 0 / 0.7128 GB, free: 15.89 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.017e-06/0.889, allocations: 4 kB / 0.7128 GB, free: 15.89 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001245/0.8891, allocations: 73.31 kB / 0.7128 GB, free: 15.8 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.23e-05/0.8892, allocations: 77.16 kB / 0.7129 GB, free: 15.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.553e-05/0.8892, allocations: 7.984 kB / 0.7129 GB, free: 15.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.001e-05/0.8892, allocations: 0 / 0.7129 GB, free: 15.7 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.828e-05/0.8893, allocations: 0 / 0.7129 GB, free: 15.7 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.911e-06/0.8893, allocations: 0 / 0.7129 GB, free: 15.7 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 6.872e-05/0.8894, allocations: 87.27 kB / 0.713 GB, free: 15.61 MB / 0.6042 GB Notification: Performance of sort global known variables: time 5.91e-07/0.8894, allocations: 4.031 kB / 0.713 GB, free: 15.61 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003903/0.8898, allocations: 35.94 kB / 0.713 GB, free: 15.57 MB / 0.6042 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.0006181/0.8904, allocations: 0.6356 MB / 0.7137 GB, free: 14.91 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001116/0.8906, allocations: 12 kB / 0.7137 GB, free: 14.89 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.8906, allocations: 0 / 0.7137 GB, free: 14.89 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 3.692e-05/0.8906, allocations: 15.92 kB / 0.7137 GB, free: 14.88 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000249/0.8909, allocations: 15.92 kB / 0.7137 GB, free: 14.86 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003739/0.8913, allocations: 94.58 kB / 0.7138 GB, free: 14.73 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002753/0.8916, allocations: 0.6809 MB / 0.7145 GB, free: 14.03 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 4.512e-05/0.8916, allocations: 4 kB / 0.7145 GB, free: 14.02 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.271e-05/0.8917, allocations: 15.38 kB / 0.7145 GB, free: 14.01 MB / 0.6042 GB Notification: Performance of SimCode: time 8.11e-07/0.8917, allocations: 0 / 0.7145 GB, free: 14.01 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01801/0.9097, allocations: 1.45 MB / 0.7159 GB, free: 12.64 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002967/0.9101, allocations: 184.3 kB / 0.7161 GB, free: 12.41 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.252/3.162, allocations: 0 / 0.7161 GB, free: 12.41 MB / 0.6042 GB