Running command: "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="Buildings_latest_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.523/4.523, allocations: 464.6 MB / 476.8 MB, free: 2.188 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.149e-05/4.153e-05, allocations: 8 kB / 0.5732 GB, free: 5.602 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2653/0.2654, allocations: 107.2 MB / 0.6778 GB, free: 10.25 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.192/1.458, allocations: 336.7 MB / 1.007 GB, free: 15.63 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003182/1.458, allocations: 78.83 kB / 1.007 GB, free: 15.59 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 0.02792/1.486, allocations: 7.678 MB / 1.014 GB, free: 9.379 MB / 0.8073 GB Notification: Performance of FrontEnd: time 2.234e-06/1.486, allocations: 0 / 1.014 GB, free: 9.379 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 7.644e-06/1.486, allocations: 0 / 1.014 GB, free: 9.379 MB / 0.8073 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.0004562/1.486, allocations: 354.2 kB / 1.015 GB, free: 8.992 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.987e-05/1.486, allocations: 8.031 kB / 1.015 GB, free: 8.984 MB / 0.8073 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.733e-05/1.487, allocations: 34.56 kB / 1.015 GB, free: 8.941 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.373e-05/1.487, allocations: 0 / 1.015 GB, free: 8.941 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001297/1.487, allocations: 166.7 kB / 1.015 GB, free: 8.742 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.838e-05/1.487, allocations: 33.7 kB / 1.015 GB, free: 8.703 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.778e-06/1.487, allocations: 0 / 1.015 GB, free: 8.703 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001371/1.487, allocations: 41.62 kB / 1.015 GB, free: 8.656 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/1.487, allocations: 0 / 1.015 GB, free: 8.656 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.298e-05/1.487, allocations: 0 / 1.015 GB, free: 8.656 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.852e-05/1.487, allocations: 0 / 1.015 GB, free: 8.656 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.766e-05/1.487, allocations: 15.61 kB / 1.015 GB, free: 8.645 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007935/1.488, allocations: 0.5994 MB / 1.015 GB, free: 7.938 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 4.634e-05/1.488, allocations: 18.58 kB / 1.015 GB, free: 7.91 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.481e-05/1.488, allocations: 8.797 kB / 1.015 GB, free: 7.898 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004089/1.488, allocations: 372.2 kB / 1.016 GB, free: 7.469 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.299e-05/1.488, allocations: 34.56 kB / 1.016 GB, free: 7.426 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=1): time 1.583e-06/1.489, allocations: 0 / 1.016 GB, free: 7.426 MB / 0.8073 GB Notification: Performance of matching and sorting (n=1): time 0.0001443/1.489, allocations: 33.61 kB / 1.016 GB, free: 7.387 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.033e-05/1.489, allocations: 55.44 kB / 1.016 GB, free: 7.32 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.766e-05/1.489, allocations: 100.6 kB / 1.016 GB, free: 7.219 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.904e-05/1.489, allocations: 25.7 kB / 1.016 GB, free: 7.188 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 5.714e-05/1.489, allocations: 80.14 kB / 1.016 GB, free: 7.105 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.025e-05/1.489, allocations: 3.906 kB / 1.016 GB, free: 7.102 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.587e-06/1.489, allocations: 0 / 1.016 GB, free: 7.102 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001316/1.489, allocations: 322.7 kB / 1.016 GB, free: 6.781 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.387e-05/1.489, allocations: 3.984 kB / 1.016 GB, free: 6.777 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.303e-05/1.489, allocations: 21.66 kB / 1.016 GB, free: 6.75 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.703e-05/1.489, allocations: 4 kB / 1.016 GB, free: 6.746 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/1.489, allocations: 0 / 1.016 GB, free: 6.746 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001026/1.489, allocations: 49.38 kB / 1.017 GB, free: 6.695 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/1.489, allocations: 4 kB / 1.017 GB, free: 6.691 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/1.489, allocations: 0 / 1.017 GB, free: 6.691 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/1.489, allocations: 0 / 1.017 GB, free: 6.691 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.584e-05/1.489, allocations: 12 kB / 1.017 GB, free: 6.68 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.838e-06/1.49, allocations: 7.938 kB / 1.017 GB, free: 6.672 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.242e-05/1.49, allocations: 7.875 kB / 1.017 GB, free: 6.664 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.419e-05/1.49, allocations: 3.984 kB / 1.017 GB, free: 6.66 MB / 0.8073 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 7.834e-05/1.49, allocations: 111.9 kB / 1.017 GB, free: 6.547 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.597e-05/1.49, allocations: 3.906 kB / 1.017 GB, free: 6.543 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000143/1.49, allocations: 113 kB / 1.017 GB, free: 6.422 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.398e-05/1.49, allocations: 180.3 kB / 1.017 GB, free: 6.238 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.877e-05/1.49, allocations: 188.1 kB / 1.017 GB, free: 6.051 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001036/1.49, allocations: 180.3 kB / 1.017 GB, free: 5.867 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003389/1.491, allocations: 401.2 kB / 1.018 GB, free: 5.418 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.966e-05/1.491, allocations: 108.9 kB / 1.018 GB, free: 5.305 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.605e-05/1.491, allocations: 105 kB / 1.018 GB, free: 5.195 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.642e-05/1.491, allocations: 179 kB / 1.018 GB, free: 5.016 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.576e-05/1.491, allocations: 184.2 kB / 1.018 GB, free: 4.828 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.427e-05/1.491, allocations: 180.2 kB / 1.018 GB, free: 4.645 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.871e-05/1.491, allocations: 184.2 kB / 1.019 GB, free: 4.457 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001589/1.491, allocations: 307.7 kB / 1.019 GB, free: 4.137 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 9.925e-05/1.491, allocations: 183.8 kB / 1.019 GB, free: 3.934 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.728e-05/1.491, allocations: 180.2 kB / 1.019 GB, free: 3.75 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001951/1.492, allocations: 109 kB / 1.019 GB, free: 3.637 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.144e-05/1.492, allocations: 187.4 kB / 1.019 GB, free: 3.449 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.451e-05/1.492, allocations: 105 kB / 1.02 GB, free: 3.34 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 6.287e-05/1.492, allocations: 79.28 kB / 1.02 GB, free: 3.262 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4.6e-07/1.492, allocations: 0 / 1.02 GB, free: 3.262 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0004432/1.492, allocations: 35.86 kB / 1.02 GB, free: 3.23 MB / 0.8073 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.000653/1.493, allocations: 0.8744 MB / 1.021 GB, free: 2.328 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 8.731e-05/1.493, allocations: 4 kB / 1.021 GB, free: 2.324 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/1.493, allocations: 128 / 1.021 GB, free: 2.324 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.305e-06/1.493, allocations: 4 kB / 1.021 GB, free: 2.32 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004065/1.493, allocations: 0.5255 MB / 1.021 GB, free: 1.793 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000425/1.494, allocations: 182.3 kB / 1.021 GB, free: 1.582 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000291/1.494, allocations: 0.6809 MB / 1.022 GB, free: 0.875 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 5.608e-05/1.494, allocations: 4 kB / 1.022 GB, free: 0.8711 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.995e-05/1.494, allocations: 11.44 kB / 1.022 GB, free: 0.8594 MB / 0.8073 GB Notification: Performance of SimCode: time 7.41e-07/1.494, allocations: 0 / 1.022 GB, free: 0.8594 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02204/1.516, allocations: 1.836 MB / 1.024 GB, free: 15.17 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003308/1.517, allocations: 206.8 kB / 1.024 GB, free: 14.95 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.329/3.846, allocations: 0 / 1.024 GB, free: 14.95 MB / 0.823 GB