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.761/3.761, allocations: 403.3 MB / 415.4 MB, free: 13.03 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 4.521e-05/4.523e-05, allocations: 11.92 kB / 0.4991 GB, free: 13.36 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.622/0.622, allocations: 92.67 MB / 0.5896 GB, free: 14.52 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2298/0.8519, allocations: 121.2 MB / 0.708 GB, free: 5.129 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003445/0.8523, allocations: 83.94 kB / 0.7081 GB, free: 5.047 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.01284/0.8651, allocations: 2.313 MB / 0.7104 GB, free: 2.73 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.764e-06/0.8652, allocations: 0 / 0.7104 GB, free: 2.73 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.291e-05/0.8652, allocations: 0 / 0.7104 GB, free: 2.73 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.0003693/0.8656, allocations: 342.4 kB / 0.7107 GB, free: 2.352 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.805e-05/0.8656, allocations: 8.031 kB / 0.7107 GB, free: 2.344 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.623e-05/0.8657, allocations: 30.56 kB / 0.7107 GB, free: 2.305 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.684e-05/0.8657, allocations: 11.94 kB / 0.7107 GB, free: 2.293 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001392/0.8659, allocations: 159.1 kB / 0.7109 GB, free: 2.098 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.47e-05/0.8659, allocations: 4 kB / 0.7109 GB, free: 2.094 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.144e-05/0.8659, allocations: 8 kB / 0.7109 GB, free: 2.086 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001079/0.8661, allocations: 29.7 kB / 0.7109 GB, free: 2.051 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.8661, allocations: 0 / 0.7109 GB, free: 2.051 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.298e-06/0.8661, allocations: 0 / 0.7109 GB, free: 2.051 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.8661, allocations: 7.984 kB / 0.7109 GB, free: 2.043 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.101e-05/0.8662, allocations: 15.89 kB / 0.711 GB, free: 2.027 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002039/0.8664, allocations: 165.6 kB / 0.7111 GB, free: 1.816 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001064/0.8665, allocations: 30.64 kB / 0.7111 GB, free: 1.777 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.103e-05/0.8666, allocations: 12.86 kB / 0.7112 GB, free: 1.762 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002002/0.8686, allocations: 0.555 MB / 0.7117 GB, free: 1.133 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.353e-05/0.8687, allocations: 30.56 kB / 0.7117 GB, free: 1.094 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=3): time 2.485e-06/0.8687, allocations: 4 kB / 0.7117 GB, free: 1.09 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3): time 0.0001999/0.8689, allocations: 49.62 kB / 0.7118 GB, free: 1.035 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.35e-05/0.8689, allocations: 51.41 kB / 0.7118 GB, free: 0.9727 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001094/0.8691, allocations: 89 kB / 0.7119 GB, free: 0.8789 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.148e-05/0.8691, allocations: 29.7 kB / 0.7119 GB, free: 0.8438 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.519e-05/0.8692, allocations: 80.14 kB / 0.712 GB, free: 0.7617 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.245e-05/0.8692, allocations: 7.812 kB / 0.712 GB, free: 0.7539 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.258e-06/0.8692, allocations: 0 / 0.712 GB, free: 0.7539 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001485/0.8694, allocations: 326.9 kB / 0.7123 GB, free: 436 kB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.278e-05/0.8694, allocations: 4 kB / 0.7123 GB, free: 432 kB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.982e-05/0.8694, allocations: 4 kB / 0.7123 GB, free: 428 kB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.099e-05/0.8695, allocations: 4 kB / 0.7123 GB, free: 424 kB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.8695, allocations: 0 / 0.7123 GB, free: 424 kB / 0.5886 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001155/0.8696, allocations: 49.62 kB / 0.7124 GB, free: 368 kB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/0.8696, allocations: 4 kB / 0.7124 GB, free: 364 kB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.8697, allocations: 0 / 0.7124 GB, free: 364 kB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.083e-05/0.8697, allocations: 4 kB / 0.7124 GB, free: 360 kB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.15e-05/0.8698, allocations: 4 kB / 0.7124 GB, free: 356 kB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/0.8698, allocations: 4 kB / 0.7124 GB, free: 352 kB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.46e-05/0.8698, allocations: 0 / 0.7124 GB, free: 352 kB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.036e-06/0.8699, allocations: 0 / 0.7124 GB, free: 352 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.452e-05/0.8699, allocations: 111.2 kB / 0.7125 GB, free: 236 kB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.158e-05/0.87, allocations: 0 / 0.7125 GB, free: 236 kB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001763/0.8701, allocations: 65.05 kB / 0.7126 GB, free: 160 kB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.566e-06/0.8702, allocations: 0 / 0.7126 GB, free: 160 kB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.8702, allocations: 0 / 0.7126 GB, free: 160 kB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.8702, allocations: 4 kB / 0.7126 GB, free: 156 kB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001698/0.8704, allocations: 157.5 kB / 0.7127 GB, free: 15.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.8704, allocations: 4 kB / 0.7127 GB, free: 15.95 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.404e-05/0.8704, allocations: 4 kB / 0.7127 GB, free: 15.94 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.19e-06/0.8705, allocations: 0 / 0.7127 GB, free: 15.94 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.444e-06/0.8705, allocations: 3.938 kB / 0.7127 GB, free: 15.94 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.8705, allocations: 0 / 0.7127 GB, free: 15.94 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.8705, allocations: 0 / 0.7127 GB, free: 15.94 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001286/0.8706, allocations: 77.31 kB / 0.7128 GB, free: 15.84 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 5.346e-05/0.8707, allocations: 81.11 kB / 0.7129 GB, free: 15.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.613e-05/0.8707, allocations: 48 / 0.7129 GB, free: 15.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.366e-05/0.8708, allocations: 3.984 kB / 0.7129 GB, free: 15.74 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.437e-05/0.8708, allocations: 3.984 kB / 0.7129 GB, free: 15.74 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.745e-06/0.8708, allocations: 7.938 kB / 0.7129 GB, free: 15.73 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.214e-05/0.8709, allocations: 75.28 kB / 0.713 GB, free: 15.66 MB / 0.6042 GB Notification: Performance of sort global known variables: time 4.41e-07/0.8709, allocations: 0 / 0.713 GB, free: 15.66 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003308/0.8712, allocations: 35.94 kB / 0.713 GB, free: 15.62 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.0006891/0.8719, allocations: 0.6411 MB / 0.7136 GB, free: 14.95 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001177/0.872, allocations: 23.92 kB / 0.7137 GB, free: 14.93 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.8721, allocations: 4 kB / 0.7137 GB, free: 14.93 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 2.416e-05/0.8721, allocations: 4 kB / 0.7137 GB, free: 14.92 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002038/0.8723, allocations: 4 kB / 0.7137 GB, free: 14.92 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003878/0.8727, allocations: 98.58 kB / 0.7138 GB, free: 14.79 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003457/0.8731, allocations: 0.677 MB / 0.7144 GB, free: 14.08 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 4.976e-05/0.8731, allocations: 7.938 kB / 0.7144 GB, free: 14.07 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.79e-05/0.8732, allocations: 19.42 kB / 0.7145 GB, free: 14.05 MB / 0.6042 GB Notification: Performance of SimCode: time 8.21e-07/0.8732, allocations: 0 / 0.7145 GB, free: 14.05 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01963/0.8928, allocations: 1.455 MB / 0.7159 GB, free: 12.68 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000302/0.8932, allocations: 184.6 kB / 0.7161 GB, free: 12.46 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.154/3.048, allocations: 5.188 kB / 0.7161 GB, free: 12.45 MB / 0.6042 GB