Running command: "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="Buildings_7_0_0_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.414/4.414, allocations: 460.4 MB / 472.6 MB, free: 5.414 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.908e-05/3.936e-05, allocations: 7.984 kB / 0.5682 GB, free: 10.11 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2961/0.2962, allocations: 106.2 MB / 0.6719 GB, free: 15.7 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.193/1.49, allocations: 336.3 MB / 1 GB, free: 9.43 MB / 0.7917 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000326/1.49, allocations: 73.89 kB / 1 GB, free: 9.391 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 0.02871/1.519, allocations: 7.676 MB / 1.008 GB, free: 3.188 MB / 0.7917 GB Notification: Performance of FrontEnd: time 2.254e-06/1.519, allocations: 0 / 1.008 GB, free: 3.188 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 8.506e-06/1.519, allocations: 4 kB / 1.008 GB, free: 3.184 MB / 0.7917 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.0004607/1.519, allocations: 346 kB / 1.008 GB, free: 2.805 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 5.642e-05/1.519, allocations: 15.97 kB / 1.008 GB, free: 2.789 MB / 0.7917 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.882e-05/1.519, allocations: 30.56 kB / 1.008 GB, free: 2.75 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.034e-05/1.519, allocations: 3.953 kB / 1.008 GB, free: 2.746 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001465/1.52, allocations: 167 kB / 1.008 GB, free: 2.543 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.205e-05/1.52, allocations: 29.7 kB / 1.008 GB, free: 2.508 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.202e-05/1.52, allocations: 3.984 kB / 1.009 GB, free: 2.504 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001445/1.52, allocations: 40.88 kB / 1.009 GB, free: 2.461 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/1.52, allocations: 0 / 1.009 GB, free: 2.461 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.302e-05/1.52, allocations: 0 / 1.009 GB, free: 2.461 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.549e-05/1.52, allocations: 4 kB / 1.009 GB, free: 2.457 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.734e-05/1.52, allocations: 15.8 kB / 1.009 GB, free: 2.445 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008836/1.521, allocations: 0.6005 MB / 1.009 GB, free: 1.734 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 4.416e-05/1.521, allocations: 18.52 kB / 1.009 GB, free: 1.707 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.231e-05/1.521, allocations: 4.859 kB / 1.009 GB, free: 1.699 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003549/1.521, allocations: 362.9 kB / 1.01 GB, free: 1.277 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.152e-05/1.521, allocations: 30.56 kB / 1.01 GB, free: 1.238 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=1): time 1.914e-06/1.521, allocations: 0 / 1.01 GB, free: 1.238 MB / 0.7917 GB Notification: Performance of matching and sorting (n=1): time 0.0001673/1.522, allocations: 44.89 kB / 1.01 GB, free: 1.191 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.635e-05/1.522, allocations: 59.42 kB / 1.01 GB, free: 1.121 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.702e-05/1.522, allocations: 96.62 kB / 1.01 GB, free: 1.023 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/1.522, allocations: 25.7 kB / 1.01 GB, free: 0.9922 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 5.618e-05/1.522, allocations: 84.05 kB / 1.01 GB, free: 0.9062 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 1.323e-05/1.522, allocations: 3.906 kB / 1.01 GB, free: 0.9023 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.486e-06/1.522, allocations: 7.938 kB / 1.01 GB, free: 0.8945 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001335/1.522, allocations: 316.9 kB / 1.01 GB, free: 0.5781 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.829e-05/1.522, allocations: 0 / 1.01 GB, free: 0.5781 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.44e-05/1.522, allocations: 19.59 kB / 1.01 GB, free: 0.5547 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.593e-05/1.522, allocations: 4 kB / 1.01 GB, free: 0.5508 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.452e-06/1.522, allocations: 4 kB / 1.01 GB, free: 0.5469 MB / 0.7917 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000108/1.522, allocations: 44.69 kB / 1.01 GB, free: 0.5 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 2.093e-05/1.522, allocations: 4 kB / 1.01 GB, free: 0.4961 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.665e-06/1.522, allocations: 0 / 1.01 GB, free: 0.4961 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.691e-05/1.522, allocations: 0 / 1.01 GB, free: 0.4961 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.978e-05/1.522, allocations: 16 kB / 1.01 GB, free: 492 kB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.281e-05/1.523, allocations: 7.938 kB / 1.01 GB, free: 484 kB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.365e-05/1.523, allocations: 3.938 kB / 1.01 GB, free: 480 kB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.668e-05/1.523, allocations: 7.938 kB / 1.01 GB, free: 472 kB / 0.7917 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 8.372e-05/1.523, allocations: 104.4 kB / 1.01 GB, free: 364 kB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.049e-05/1.523, allocations: 0 / 1.01 GB, free: 364 kB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001527/1.523, allocations: 128.8 kB / 1.01 GB, free: 224 kB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.441e-05/1.523, allocations: 188.2 kB / 1.011 GB, free: 28 kB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.962e-05/1.523, allocations: 180.3 kB / 1.011 GB, free: 15.84 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.194e-05/1.523, allocations: 183.8 kB / 1.011 GB, free: 15.66 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002812/1.523, allocations: 405.2 kB / 1.011 GB, free: 15.21 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-05/1.524, allocations: 101 kB / 1.011 GB, free: 15.1 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.633e-05/1.524, allocations: 105 kB / 1.012 GB, free: 14.99 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.136e-05/1.524, allocations: 184.2 kB / 1.012 GB, free: 14.81 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.032e-05/1.524, allocations: 184.2 kB / 1.012 GB, free: 14.62 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.022e-05/1.524, allocations: 180.3 kB / 1.012 GB, free: 14.44 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.495e-05/1.524, allocations: 180.2 kB / 1.012 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001804/1.524, allocations: 307.4 kB / 1.013 GB, free: 13.93 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001356/1.524, allocations: 186 kB / 1.013 GB, free: 13.73 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001092/1.524, allocations: 180.3 kB / 1.013 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002329/1.525, allocations: 109 kB / 1.013 GB, free: 13.43 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.797e-05/1.525, allocations: 180.2 kB / 1.013 GB, free: 13.25 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.797e-05/1.525, allocations: 106.3 kB / 1.013 GB, free: 13.14 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 8.44e-05/1.525, allocations: 82.59 kB / 1.013 GB, free: 13.06 MB / 0.8073 GB Notification: Performance of sort global known variables: time 3.9e-07/1.525, allocations: 0 / 1.013 GB, free: 13.06 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0004051/1.525, allocations: 35.8 kB / 1.013 GB, free: 13.03 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.0007611/1.526, allocations: 0.8703 MB / 1.014 GB, free: 12.13 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 9.732e-05/1.526, allocations: 4 kB / 1.014 GB, free: 12.13 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/1.526, allocations: 128 / 1.014 GB, free: 12.13 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.665e-06/1.526, allocations: 4 kB / 1.014 GB, free: 12.12 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004442/1.527, allocations: 0.5266 MB / 1.015 GB, free: 11.6 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00043/1.527, allocations: 178.5 kB / 1.015 GB, free: 11.39 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000285/1.527, allocations: 0.677 MB / 1.016 GB, free: 10.68 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 6.727e-05/1.528, allocations: 8 kB / 1.016 GB, free: 10.68 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.751e-05/1.528, allocations: 10.5 kB / 1.016 GB, free: 10.67 MB / 0.8073 GB Notification: Performance of SimCode: time 9.71e-07/1.528, allocations: 0 / 1.016 GB, free: 10.67 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02526/1.553, allocations: 1.838 MB / 1.017 GB, free: 8.977 MB / 0.8073 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003288/1.553, allocations: 204 kB / 1.018 GB, free: 8.75 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.218/3.771, allocations: 0 / 1.018 GB, free: 8.75 MB / 0.8073 GB