Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_HeatExchangers_CoolingTowers_Correlations_Examples_YorkCalc",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.189/4.189, allocations: 460.4 MB / 472.6 MB, free: 5.398 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.685e-05/4.675e-05, allocations: 4 kB / 0.5682 GB, free: 10.07 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2361/0.2362, allocations: 106.2 MB / 0.6719 GB, free: 15.67 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8536/1.09, allocations: 132.5 MB / 0.8013 GB, free: 12.67 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002798/1.09, allocations: 91.06 kB / 0.8014 GB, free: 12.66 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01173/1.102, allocations: 2.359 MB / 0.8037 GB, free: 12.21 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.933e-06/1.102, allocations: 0 / 0.8037 GB, free: 12.21 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.905e-06/1.102, allocations: 0 / 0.8037 GB, free: 12.21 MB / 0.6355 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.0002878/1.102, allocations: 332.4 kB / 0.804 GB, free: 11.86 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.537e-05/1.102, allocations: 11.69 kB / 0.8041 GB, free: 11.86 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.498e-05/1.102, allocations: 30.56 kB / 0.8041 GB, free: 11.82 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.451e-05/1.102, allocations: 7 kB / 0.8041 GB, free: 11.82 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.786e-05/1.103, allocations: 163 kB / 0.8042 GB, free: 11.62 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.411e-05/1.103, allocations: 4.719 kB / 0.8043 GB, free: 11.62 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.274e-05/1.103, allocations: 3.938 kB / 0.8043 GB, free: 11.61 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.975e-05/1.103, allocations: 35.06 kB / 0.8043 GB, free: 11.58 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/1.103, allocations: 0 / 0.8043 GB, free: 11.58 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.348e-06/1.103, allocations: 4 kB / 0.8043 GB, free: 11.58 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.99e-06/1.103, allocations: 0 / 0.8043 GB, free: 11.58 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.792e-05/1.103, allocations: 10.56 kB / 0.8043 GB, free: 11.58 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001859/1.103, allocations: 155.6 kB / 0.8045 GB, free: 11.39 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 9.516e-05/1.103, allocations: 32.31 kB / 0.8045 GB, free: 11.36 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.625e-05/1.103, allocations: 12.55 kB / 0.8045 GB, free: 11.36 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001767/1.105, allocations: 0.5556 MB / 0.805 GB, free: 10.96 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.883e-05/1.105, allocations: 34.41 kB / 0.8051 GB, free: 10.92 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 2.375e-06/1.105, allocations: 4 kB / 0.8051 GB, free: 10.91 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.000171/1.105, allocations: 43.72 kB / 0.8051 GB, free: 10.88 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.873e-05/1.105, allocations: 56.69 kB / 0.8052 GB, free: 10.82 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.527e-05/1.105, allocations: 85 kB / 0.8053 GB, free: 10.73 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.001e-05/1.105, allocations: 29.39 kB / 0.8053 GB, free: 10.7 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 1.995e-05/1.105, allocations: 83.92 kB / 0.8054 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.704e-05/1.105, allocations: 5.781 kB / 0.8054 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.908e-06/1.105, allocations: 0 / 0.8054 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.192e-05/1.106, allocations: 318.9 kB / 0.8057 GB, free: 10.29 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.003e-05/1.106, allocations: 8.391 kB / 0.8057 GB, free: 10.29 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.624e-05/1.106, allocations: 3.812 kB / 0.8057 GB, free: 10.29 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.502e-05/1.106, allocations: 3.906 kB / 0.8057 GB, free: 10.29 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.197e-06/1.106, allocations: 1.922 kB / 0.8057 GB, free: 10.29 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.546e-05/1.106, allocations: 53.88 kB / 0.8057 GB, free: 10.25 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/1.106, allocations: 7.812 kB / 0.8057 GB, free: 10.24 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/1.106, allocations: 0 / 0.8057 GB, free: 10.24 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/1.106, allocations: 1.641 kB / 0.8057 GB, free: 10.24 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.137e-05/1.106, allocations: 11.66 kB / 0.8058 GB, free: 10.24 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.633e-06/1.106, allocations: 0 / 0.8058 GB, free: 10.24 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.414e-05/1.106, allocations: 0 / 0.8058 GB, free: 10.24 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.883e-06/1.106, allocations: 0 / 0.8058 GB, free: 10.24 MB / 0.6355 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 5.064e-05/1.106, allocations: 109.2 kB / 0.8059 GB, free: 10.13 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.166e-05/1.106, allocations: 3.875 kB / 0.8059 GB, free: 10.13 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001446/1.106, allocations: 57.03 kB / 0.8059 GB, free: 10.08 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/1.106, allocations: 0 / 0.8059 GB, free: 10.08 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/1.106, allocations: 4 kB / 0.8059 GB, free: 10.08 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/1.106, allocations: 0 / 0.8059 GB, free: 10.08 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.496e-05/1.106, allocations: 156.9 kB / 0.8061 GB, free: 9.887 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/1.106, allocations: 3.969 kB / 0.8061 GB, free: 9.887 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.884e-05/1.106, allocations: 3.719 kB / 0.8061 GB, free: 9.887 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/1.106, allocations: 0 / 0.8061 GB, free: 9.887 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.975e-06/1.106, allocations: 1.031 kB / 0.8061 GB, free: 9.887 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.736e-06/1.106, allocations: 3.984 kB / 0.8061 GB, free: 9.883 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/1.106, allocations: 0 / 0.8061 GB, free: 9.883 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.631e-05/1.107, allocations: 79.38 kB / 0.8062 GB, free: 9.812 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 2.263e-05/1.107, allocations: 81.02 kB / 0.8062 GB, free: 9.715 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.477e-05/1.107, allocations: 1.406 kB / 0.8062 GB, free: 9.715 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.956e-05/1.107, allocations: 0 / 0.8062 GB, free: 9.715 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.662e-05/1.107, allocations: 3.875 kB / 0.8062 GB, free: 9.715 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.15e-06/1.107, allocations: 5.391 kB / 0.8062 GB, free: 9.711 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.329e-05/1.107, allocations: 78.41 kB / 0.8063 GB, free: 9.637 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.11e-07/1.107, allocations: 0 / 0.8063 GB, free: 9.637 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000365/1.107, allocations: 32.47 kB / 0.8064 GB, free: 9.625 MB / 0.6355 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.0009263/1.108, allocations: 0.6469 MB / 0.807 GB, free: 25.02 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 9.566e-05/1.108, allocations: 15.59 kB / 0.807 GB, free: 25.02 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.399e-06/1.108, allocations: 0 / 0.807 GB, free: 25.02 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 2.398e-05/1.108, allocations: 16.33 kB / 0.807 GB, free: 25.01 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002043/1.108, allocations: 3.875 kB / 0.807 GB, free: 25.01 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003508/1.109, allocations: 101.6 kB / 0.8071 GB, free: 24.89 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002435/1.109, allocations: 0.677 MB / 0.8078 GB, free: 24.2 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 4.347e-05/1.109, allocations: 7.812 kB / 0.8078 GB, free: 24.2 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.017e-05/1.109, allocations: 11.59 kB / 0.8078 GB, free: 24.19 MB / 0.6511 GB Notification: Performance of SimCode: time 9.11e-07/1.109, allocations: 3.938 kB / 0.8078 GB, free: 24.19 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02237/1.132, allocations: 1.454 MB / 0.8092 GB, free: 23.94 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002357/1.132, allocations: 176.3 kB / 0.8094 GB, free: 23.72 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.325/3.457, allocations: 0 / 0.8094 GB, free: 23.72 MB / 0.6511 GB