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 4.005/4.005, allocations: 403.3 MB / 415.4 MB, free: 12.99 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 4.467e-05/4.473e-05, allocations: 11.92 kB / 0.4991 GB, free: 13.34 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6491/0.6492, allocations: 92.67 MB / 0.5896 GB, free: 14.48 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.071/1.72, allocations: 325.1 MB / 0.9071 GB, free: 30.96 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002863/1.72, allocations: 76.64 kB / 0.9072 GB, free: 30.92 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.02489/1.745, allocations: 7.605 MB / 0.9146 GB, free: 24.77 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.903e-06/1.745, allocations: 0 / 0.9146 GB, free: 24.77 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 7.965e-06/1.745, allocations: 0 / 0.9146 GB, free: 24.77 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.0003412/1.745, allocations: 342.4 kB / 0.9149 GB, free: 24.39 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.7e-05/1.746, allocations: 8.031 kB / 0.9149 GB, free: 24.38 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.452e-05/1.746, allocations: 38.25 kB / 0.915 GB, free: 24.34 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.578e-05/1.746, allocations: 7.953 kB / 0.915 GB, free: 24.33 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.882e-05/1.746, allocations: 159.1 kB / 0.9151 GB, free: 24.14 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.037e-05/1.746, allocations: 33.7 kB / 0.9151 GB, free: 24.1 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.311e-05/1.746, allocations: 0 / 0.9151 GB, free: 24.1 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001276/1.746, allocations: 41.44 kB / 0.9152 GB, free: 24.05 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/1.746, allocations: 0 / 0.9152 GB, free: 24.05 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.239e-05/1.746, allocations: 3.938 kB / 0.9152 GB, free: 24.05 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.982e-05/1.746, allocations: 0 / 0.9152 GB, free: 24.05 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.666e-05/1.746, allocations: 19.88 kB / 0.9152 GB, free: 24.03 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006329/1.747, allocations: 0.5967 MB / 0.9158 GB, free: 23.32 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 3.986e-05/1.747, allocations: 22.27 kB / 0.9158 GB, free: 23.3 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.82e-05/1.747, allocations: 4.859 kB / 0.9158 GB, free: 23.29 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002507/1.747, allocations: 366.9 kB / 0.9162 GB, free: 22.86 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.71e-05/1.747, allocations: 38.56 kB / 0.9162 GB, free: 22.82 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=1): time 2.004e-06/1.747, allocations: 7.875 kB / 0.9162 GB, free: 22.81 MB / 0.6511 GB Notification: Performance of matching and sorting (n=1): time 0.0001416/1.747, allocations: 33.66 kB / 0.9162 GB, free: 22.77 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.602e-05/1.747, allocations: 51.41 kB / 0.9163 GB, free: 22.71 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.706e-05/1.747, allocations: 99.58 kB / 0.9164 GB, free: 22.61 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.231e-05/1.747, allocations: 25.7 kB / 0.9164 GB, free: 22.57 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 3.285e-05/1.748, allocations: 87.52 kB / 0.9165 GB, free: 22.49 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 7.814e-06/1.748, allocations: 3.906 kB / 0.9165 GB, free: 22.48 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.877e-06/1.748, allocations: 0 / 0.9165 GB, free: 22.48 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 5.822e-05/1.748, allocations: 314.9 kB / 0.9168 GB, free: 22.17 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.838e-05/1.748, allocations: 4 kB / 0.9168 GB, free: 22.16 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.917e-05/1.748, allocations: 21.02 kB / 0.9168 GB, free: 22.14 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.568e-05/1.748, allocations: 4 kB / 0.9168 GB, free: 22.14 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.367e-06/1.748, allocations: 0 / 0.9168 GB, free: 22.14 MB / 0.6511 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.811e-05/1.748, allocations: 49.06 kB / 0.9169 GB, free: 22.09 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/1.748, allocations: 12.06 kB / 0.9169 GB, free: 22.07 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/1.748, allocations: 3.984 kB / 0.9169 GB, free: 22.07 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/1.748, allocations: 3.953 kB / 0.9169 GB, free: 22.07 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.568e-05/1.748, allocations: 4 kB / 0.9169 GB, free: 22.06 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/1.748, allocations: 0 / 0.9169 GB, free: 22.06 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.092e-05/1.748, allocations: 4 kB / 0.9169 GB, free: 22.06 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.258e-05/1.748, allocations: 3.938 kB / 0.9169 GB, free: 22.05 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.351e-05/1.748, allocations: 101.5 kB / 0.917 GB, free: 21.95 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.193e-05/1.748, allocations: 7.984 kB / 0.917 GB, free: 21.94 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001156/1.748, allocations: 124.3 kB / 0.9171 GB, free: 21.81 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.598e-05/1.748, allocations: 180.2 kB / 0.9173 GB, free: 21.63 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-05/1.748, allocations: 180.2 kB / 0.9175 GB, free: 21.45 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.809e-05/1.748, allocations: 183.8 kB / 0.9176 GB, free: 21.26 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001973/1.749, allocations: 401.2 kB / 0.918 GB, free: 20.81 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.198e-05/1.749, allocations: 112.9 kB / 0.9181 GB, free: 20.7 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.269e-05/1.749, allocations: 108.8 kB / 0.9182 GB, free: 20.59 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.364e-05/1.749, allocations: 180.4 kB / 0.9184 GB, free: 20.4 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.733e-05/1.749, allocations: 180.3 kB / 0.9186 GB, free: 20.22 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.362e-05/1.749, allocations: 182.5 kB / 0.9188 GB, free: 20.04 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.562e-05/1.749, allocations: 184.2 kB / 0.9189 GB, free: 19.85 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.081e-05/1.749, allocations: 307 kB / 0.9192 GB, free: 19.53 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.488e-05/1.749, allocations: 186.1 kB / 0.9194 GB, free: 19.32 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.396e-05/1.749, allocations: 183.3 kB / 0.9196 GB, free: 19.14 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001527/1.749, allocations: 105 kB / 0.9197 GB, free: 19.03 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.082e-05/1.749, allocations: 184.2 kB / 0.9199 GB, free: 18.84 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.1e-05/1.749, allocations: 105 kB / 0.92 GB, free: 18.73 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 5.313e-05/1.749, allocations: 86.67 kB / 0.92 GB, free: 18.65 MB / 0.6511 GB Notification: Performance of sort global known variables: time 5.51e-07/1.749, allocations: 0 / 0.92 GB, free: 18.65 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003647/1.75, allocations: 39.88 kB / 0.9201 GB, free: 18.61 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.0004633/1.75, allocations: 0.8705 MB / 0.9209 GB, free: 17.71 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 8.54e-05/1.75, allocations: 11.44 kB / 0.9209 GB, free: 17.71 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/1.75, allocations: 0 / 0.9209 GB, free: 17.71 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 4.508e-06/1.75, allocations: 4 kB / 0.9209 GB, free: 17.7 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000281/1.751, allocations: 0.5217 MB / 0.9215 GB, free: 17.18 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003622/1.751, allocations: 174 kB / 0.9216 GB, free: 16.97 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001366/1.751, allocations: 0.6774 MB / 0.9223 GB, free: 16.27 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 6.174e-05/1.751, allocations: 7.938 kB / 0.9223 GB, free: 16.26 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.495e-05/1.751, allocations: 11.44 kB / 0.9223 GB, free: 16.25 MB / 0.6511 GB Notification: Performance of SimCode: time 9.01e-07/1.751, allocations: 3.938 kB / 0.9223 GB, free: 16.25 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0198/1.771, allocations: 1.824 MB / 0.9241 GB, free: 14.57 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002662/1.772, allocations: 204 kB / 0.9243 GB, free: 14.36 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.35/4.121, allocations: 0 / 0.9243 GB, free: 14.36 MB / 0.6511 GB