Running command: "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="Buildings_5_0_1_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.97/3.97, allocations: 403.3 MB / 415.4 MB, free: 13.02 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 4.767e-05/4.759e-05, allocations: 4 kB / 0.4991 GB, free: 13.34 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6407/0.6408, allocations: 92.66 MB / 0.5896 GB, free: 14.38 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.071/1.712, allocations: 325.1 MB / 0.9071 GB, free: 30.7 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003112/1.712, allocations: 80 kB / 0.9072 GB, free: 30.66 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.02615/1.738, allocations: 7.617 MB / 0.9146 GB, free: 24.49 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.582e-06/1.738, allocations: 0 / 0.9146 GB, free: 24.49 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 8.857e-06/1.738, allocations: 0 / 0.9146 GB, free: 24.49 MB / 0.6511 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.000347/1.739, allocations: 340.9 kB / 0.9149 GB, free: 24.12 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.979e-05/1.739, allocations: 8.031 kB / 0.915 GB, free: 24.11 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.546e-05/1.739, allocations: 34.56 kB / 0.915 GB, free: 24.07 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.528e-05/1.739, allocations: 3.953 kB / 0.915 GB, free: 24.06 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.543e-05/1.739, allocations: 167.1 kB / 0.9151 GB, free: 23.86 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.969e-05/1.739, allocations: 25.7 kB / 0.9152 GB, free: 23.83 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.468e-06/1.739, allocations: 4 kB / 0.9152 GB, free: 23.82 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001248/1.739, allocations: 41.19 kB / 0.9152 GB, free: 23.78 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/1.739, allocations: 3.938 kB / 0.9152 GB, free: 23.78 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.438e-05/1.739, allocations: 0 / 0.9152 GB, free: 23.78 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.055e-05/1.739, allocations: 3.938 kB / 0.9152 GB, free: 23.77 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.103e-05/1.739, allocations: 19.5 kB / 0.9152 GB, free: 23.76 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006224/1.74, allocations: 0.597 MB / 0.9158 GB, free: 23.05 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 4.297e-05/1.74, allocations: 18.58 kB / 0.9158 GB, free: 23.02 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.876e-05/1.74, allocations: 4.859 kB / 0.9158 GB, free: 23.02 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002565/1.74, allocations: 359.2 kB / 0.9162 GB, free: 22.6 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.67e-05/1.74, allocations: 42.47 kB / 0.9162 GB, free: 22.55 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=1): time 1.913e-06/1.74, allocations: 8 kB / 0.9162 GB, free: 22.54 MB / 0.6511 GB Notification: Performance of matching and sorting (n=1): time 0.0001478/1.74, allocations: 33.66 kB / 0.9163 GB, free: 22.5 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.54e-05/1.741, allocations: 53.91 kB / 0.9163 GB, free: 22.44 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.107e-05/1.741, allocations: 92.91 kB / 0.9164 GB, free: 22.34 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.24e-05/1.741, allocations: 25.7 kB / 0.9164 GB, free: 22.31 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 3.29e-05/1.741, allocations: 86.88 kB / 0.9165 GB, free: 22.22 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 1.075e-05/1.741, allocations: 7.906 kB / 0.9165 GB, free: 22.21 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.048e-06/1.741, allocations: 0 / 0.9165 GB, free: 22.21 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 6.378e-05/1.741, allocations: 317.6 kB / 0.9168 GB, free: 21.9 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.869e-05/1.741, allocations: 4 kB / 0.9168 GB, free: 21.89 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.594e-05/1.741, allocations: 13.72 kB / 0.9168 GB, free: 21.88 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.757e-05/1.741, allocations: 11.42 kB / 0.9169 GB, free: 21.87 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/1.741, allocations: 0 / 0.9169 GB, free: 21.87 MB / 0.6511 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.652e-05/1.741, allocations: 41.64 kB / 0.9169 GB, free: 21.82 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/1.741, allocations: 8.062 kB / 0.9169 GB, free: 21.81 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.483e-06/1.741, allocations: 0 / 0.9169 GB, free: 21.81 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.846e-05/1.741, allocations: 11.94 kB / 0.9169 GB, free: 21.8 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.439e-05/1.741, allocations: 4 kB / 0.9169 GB, free: 21.8 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/1.741, allocations: 0 / 0.9169 GB, free: 21.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.947e-05/1.741, allocations: 4 kB / 0.9169 GB, free: 21.79 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.586e-05/1.741, allocations: 11.44 kB / 0.9169 GB, free: 21.79 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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.665e-05/1.741, allocations: 104.5 kB / 0.917 GB, free: 21.68 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.077e-05/1.741, allocations: 0 / 0.917 GB, free: 21.68 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001239/1.741, allocations: 128.8 kB / 0.9172 GB, free: 21.54 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.64e-05/1.742, allocations: 179.5 kB / 0.9173 GB, free: 21.36 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.741e-05/1.742, allocations: 188.2 kB / 0.9175 GB, free: 21.17 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-05/1.742, allocations: 176.3 kB / 0.9177 GB, free: 20.99 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001785/1.742, allocations: 400.5 kB / 0.9181 GB, free: 20.55 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.159e-05/1.742, allocations: 112.9 kB / 0.9182 GB, free: 20.43 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.093e-05/1.742, allocations: 104.9 kB / 0.9183 GB, free: 20.32 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.609e-05/1.742, allocations: 180.4 kB / 0.9184 GB, free: 20.14 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.797e-05/1.742, allocations: 184.2 kB / 0.9186 GB, free: 19.95 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.513e-05/1.742, allocations: 182.6 kB / 0.9188 GB, free: 19.77 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-05/1.742, allocations: 180.3 kB / 0.919 GB, free: 19.58 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.435e-05/1.742, allocations: 310.5 kB / 0.9193 GB, free: 19.26 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.276e-05/1.742, allocations: 181.7 kB / 0.9194 GB, free: 19.06 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.251e-05/1.742, allocations: 184.2 kB / 0.9196 GB, free: 18.87 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001572/1.742, allocations: 105 kB / 0.9197 GB, free: 18.76 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.86e-05/1.743, allocations: 180.3 kB / 0.9199 GB, free: 18.58 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.229e-05/1.743, allocations: 104.9 kB / 0.92 GB, free: 18.47 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 4.973e-05/1.743, allocations: 87.23 kB / 0.9201 GB, free: 18.38 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.41e-07/1.743, allocations: 0 / 0.9201 GB, free: 18.38 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004069/1.743, allocations: 39.48 kB / 0.9201 GB, free: 18.35 MB / 0.6511 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 (0): * Single equations (assignments): 0 * 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.0004857/1.744, allocations: 0.858 MB / 0.9209 GB, free: 17.46 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 8.702e-05/1.744, allocations: 14.81 kB / 0.9209 GB, free: 17.45 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/1.744, allocations: 4 kB / 0.921 GB, free: 17.45 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 4.348e-06/1.744, allocations: 3.984 kB / 0.921 GB, free: 17.45 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002941/1.744, allocations: 0.5174 MB / 0.9215 GB, free: 16.93 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003679/1.744, allocations: 174 kB / 0.9216 GB, free: 16.72 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001387/1.744, allocations: 0.6809 MB / 0.9223 GB, free: 16.01 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 6.381e-05/1.745, allocations: 8.359 kB / 0.9223 GB, free: 16 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.063e-05/1.745, allocations: 7.438 kB / 0.9223 GB, free: 16 MB / 0.6511 GB Notification: Performance of SimCode: time 2.134e-06/1.745, allocations: 0 / 0.9223 GB, free: 16 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0198/1.764, allocations: 1.838 MB / 0.9241 GB, free: 14.31 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003354/1.765, allocations: 200.1 kB / 0.9243 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.312/4.077, allocations: 0 / 0.9243 GB, free: 14.09 MB / 0.6511 GB