Running command: "" <> buildModelFMU(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(BuildingSystems): time 3.295/3.295, allocations: 343.8 MB / 355.9 MB, free: 9.398 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.237e-05/4.221e-05, allocations: 4 kB / 436.7 MB, free: 2.387 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1846/0.1847, allocations: 77.73 MB / 0.5023 GB, free: 4.504 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.405/1.589, allocations: 310.5 MB / 0.8055 GB, free: 190.8 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002955/1.59, allocations: 79.02 kB / 0.8056 GB, free: 190.8 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.02465/1.614, allocations: 7.647 MB / 0.8131 GB, free: 189.8 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.543e-06/1.614, allocations: 0 / 0.8131 GB, free: 189.8 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 6.903e-06/1.615, allocations: 0 / 0.8131 GB, free: 189.8 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.615, allocations: 337 kB / 0.8134 GB, free: 189.5 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.609e-05/1.615, allocations: 7.812 kB / 0.8134 GB, free: 189.5 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.534e-05/1.615, allocations: 37.62 kB / 0.8135 GB, free: 189.4 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.325e-05/1.615, allocations: 7.875 kB / 0.8135 GB, free: 189.4 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.483e-05/1.615, allocations: 170.5 kB / 0.8136 GB, free: 189.2 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.7e-05/1.615, allocations: 25.7 kB / 0.8137 GB, free: 189.2 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.39e-05/1.615, allocations: 3.906 kB / 0.8137 GB, free: 189.2 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001196/1.615, allocations: 45.05 kB / 0.8137 GB, free: 189.1 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/1.615, allocations: 0 / 0.8137 GB, free: 189.1 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.359e-05/1.615, allocations: 3.984 kB / 0.8137 GB, free: 189.1 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.869e-05/1.615, allocations: 0 / 0.8137 GB, free: 189.1 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.256e-05/1.615, allocations: 15.56 kB / 0.8137 GB, free: 189.1 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006312/1.616, allocations: 0.5953 MB / 0.8143 GB, free: 188.5 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 3.819e-05/1.616, allocations: 18.52 kB / 0.8143 GB, free: 188.5 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.806e-05/1.616, allocations: 8.328 kB / 0.8143 GB, free: 188.5 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002542/1.616, allocations: 363.8 kB / 0.8147 GB, free: 188.1 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.818e-05/1.617, allocations: 38.5 kB / 0.8147 GB, free: 188 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=1): time 1.533e-06/1.617, allocations: 0 / 0.8147 GB, free: 188 MB / 0.6511 GB Notification: Performance of matching and sorting (n=1): time 0.0001358/1.617, allocations: 37.38 kB / 0.8147 GB, free: 188 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.433e-05/1.617, allocations: 55.31 kB / 0.8148 GB, free: 187.9 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.918e-05/1.617, allocations: 96.33 kB / 0.8149 GB, free: 187.8 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.263e-05/1.617, allocations: 25.7 kB / 0.8149 GB, free: 187.8 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 3.011e-05/1.617, allocations: 80.14 kB / 0.815 GB, free: 187.7 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 8.025e-06/1.617, allocations: 11.75 kB / 0.815 GB, free: 187.7 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.598e-06/1.617, allocations: 3.938 kB / 0.815 GB, free: 187.7 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 5.715e-05/1.617, allocations: 310.8 kB / 0.8153 GB, free: 187.4 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.694e-05/1.617, allocations: 0 / 0.8153 GB, free: 187.4 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.757e-05/1.617, allocations: 24.36 kB / 0.8153 GB, free: 187.4 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.598e-05/1.617, allocations: 7.875 kB / 0.8153 GB, free: 187.4 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/1.617, allocations: 3.875 kB / 0.8153 GB, free: 187.4 MB / 0.6511 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.733e-05/1.617, allocations: 47.73 kB / 0.8154 GB, free: 187.3 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/1.617, allocations: 3.938 kB / 0.8154 GB, free: 187.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/1.617, allocations: 4.266 kB / 0.8154 GB, free: 187.3 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/1.617, allocations: 3.781 kB / 0.8154 GB, free: 187.3 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.323e-05/1.617, allocations: 7.328 kB / 0.8154 GB, free: 187.3 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.458e-06/1.617, allocations: 3.953 kB / 0.8154 GB, free: 187.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.723e-05/1.617, allocations: 0 / 0.8154 GB, free: 187.3 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.367e-05/1.617, allocations: 3.844 kB / 0.8154 GB, free: 187.3 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.54e-05/1.617, allocations: 109 kB / 0.8155 GB, free: 187.2 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.95e-05/1.617, allocations: 7.922 kB / 0.8155 GB, free: 187.2 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000115/1.618, allocations: 123.5 kB / 0.8156 GB, free: 187.1 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.535e-05/1.618, allocations: 176.3 kB / 0.8158 GB, free: 186.9 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.461e-05/1.618, allocations: 184.1 kB / 0.816 GB, free: 186.7 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.552e-05/1.618, allocations: 180.2 kB / 0.8162 GB, free: 186.5 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001774/1.618, allocations: 411.4 kB / 0.8165 GB, free: 186.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.225e-05/1.618, allocations: 104.9 kB / 0.8166 GB, free: 186 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.081e-05/1.618, allocations: 107.2 kB / 0.8167 GB, free: 185.9 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.311e-05/1.618, allocations: 176.4 kB / 0.8169 GB, free: 185.7 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.782e-05/1.618, allocations: 188.1 kB / 0.8171 GB, free: 185.5 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.273e-05/1.618, allocations: 183 kB / 0.8173 GB, free: 185.3 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-05/1.618, allocations: 180.3 kB / 0.8174 GB, free: 185.1 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.179e-05/1.618, allocations: 309.1 kB / 0.8177 GB, free: 184.8 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.291e-05/1.618, allocations: 181.5 kB / 0.8179 GB, free: 184.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.246e-05/1.618, allocations: 187.8 kB / 0.8181 GB, free: 184.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001563/1.619, allocations: 105 kB / 0.8182 GB, free: 184.3 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.15e-05/1.619, allocations: 183.6 kB / 0.8184 GB, free: 184.2 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.254e-05/1.619, allocations: 104.9 kB / 0.8185 GB, free: 184.1 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 4.63e-05/1.619, allocations: 79.19 kB / 0.8185 GB, free: 184 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.01e-07/1.619, allocations: 0 / 0.8185 GB, free: 184 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003894/1.619, allocations: 34.02 kB / 0.8186 GB, free: 184 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.0004851/1.62, allocations: 0.8673 MB / 0.8194 GB, free: 183.1 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 8.784e-05/1.62, allocations: 11.75 kB / 0.8194 GB, free: 183.1 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/1.62, allocations: 0 / 0.8194 GB, free: 183.1 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 2.324e-06/1.62, allocations: 0 / 0.8194 GB, free: 183.1 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000308/1.62, allocations: 0.5231 MB / 0.8199 GB, free: 182.6 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003888/1.62, allocations: 180.8 kB / 0.8201 GB, free: 182.4 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001523/1.621, allocations: 0.6806 MB / 0.8208 GB, free: 181.7 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 7.667e-05/1.621, allocations: 3.906 kB / 0.8208 GB, free: 181.7 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.368e-05/1.621, allocations: 11.38 kB / 0.8208 GB, free: 181.7 MB / 0.6511 GB Notification: Performance of SimCode: time 8.52e-07/1.621, allocations: 0 / 0.8208 GB, free: 181.7 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0239/1.645, allocations: 1.821 MB / 0.8226 GB, free: 181.4 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003327/1.645, allocations: 218.5 kB / 0.8228 GB, free: 181.1 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.441/4.087, allocations: 0 / 0.8228 GB, free: 181.1 MB / 0.6511 GB