Running command: "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="Buildings_6_0_0_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.089/4.089, allocations: 432.7 MB / 444.9 MB, free: 15.71 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.72e-05/3.742e-05, allocations: 4.438 kB / 0.5338 GB, free: 12.21 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2224/0.2224, allocations: 98.72 MB / 0.6302 GB, free: 6.145 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.09/1.313, allocations: 329.4 MB / 0.9519 GB, free: 0.5547 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000324/1.313, allocations: 83.81 kB / 0.952 GB, free: 0.5078 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.02815/1.341, allocations: 7.596 MB / 0.9594 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.734e-06/1.342, allocations: 0 / 0.9594 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.664e-06/1.342, allocations: 0 / 0.9594 GB, free: 10.38 MB / 0.7136 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.0004732/1.342, allocations: 354.6 kB / 0.9597 GB, free: 9.992 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.356e-05/1.342, allocations: 8.031 kB / 0.9597 GB, free: 9.984 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.624e-05/1.342, allocations: 34.56 kB / 0.9598 GB, free: 9.941 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.8e-05/1.342, allocations: 3.984 kB / 0.9598 GB, free: 9.938 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001314/1.342, allocations: 167 kB / 0.9599 GB, free: 9.734 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.982e-05/1.342, allocations: 29.7 kB / 0.96 GB, free: 9.699 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.293e-05/1.342, allocations: 0 / 0.96 GB, free: 9.699 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000136/1.343, allocations: 41.56 kB / 0.96 GB, free: 9.656 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.358e-06/1.343, allocations: 4 kB / 0.96 GB, free: 9.652 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.313e-05/1.343, allocations: 0 / 0.96 GB, free: 9.652 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.992e-05/1.343, allocations: 0 / 0.96 GB, free: 9.652 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.016e-05/1.343, allocations: 15.23 kB / 0.96 GB, free: 9.641 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007981/1.344, allocations: 0.6005 MB / 0.9606 GB, free: 8.93 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 4.343e-05/1.344, allocations: 26.45 kB / 0.9606 GB, free: 8.895 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.676e-05/1.344, allocations: 16.84 kB / 0.9607 GB, free: 8.875 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003458/1.344, allocations: 364.1 kB / 0.961 GB, free: 8.453 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.266e-05/1.344, allocations: 34.56 kB / 0.961 GB, free: 8.41 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=1): time 2.024e-06/1.344, allocations: 0 / 0.961 GB, free: 8.41 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1): time 0.0001565/1.344, allocations: 33.66 kB / 0.9611 GB, free: 8.371 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.791e-05/1.344, allocations: 55.22 kB / 0.9611 GB, free: 8.309 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.139e-05/1.344, allocations: 89 kB / 0.9612 GB, free: 8.215 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.746e-05/1.344, allocations: 33.67 kB / 0.9612 GB, free: 8.176 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.598e-05/1.345, allocations: 92.03 kB / 0.9613 GB, free: 8.082 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.021e-05/1.345, allocations: 7.594 kB / 0.9613 GB, free: 8.078 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.427e-06/1.345, allocations: 0 / 0.9613 GB, free: 8.078 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001208/1.345, allocations: 310.8 kB / 0.9616 GB, free: 7.766 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.267e-05/1.345, allocations: 4 kB / 0.9616 GB, free: 7.762 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.194e-05/1.345, allocations: 17.03 kB / 0.9616 GB, free: 7.742 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.213e-05/1.345, allocations: 11.98 kB / 0.9617 GB, free: 7.73 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/1.345, allocations: 0 / 0.9617 GB, free: 7.73 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.997e-05/1.345, allocations: 37.7 kB / 0.9617 GB, free: 7.688 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.206e-05/1.345, allocations: 14.58 kB / 0.9617 GB, free: 7.676 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/1.345, allocations: 0 / 0.9617 GB, free: 7.676 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/1.345, allocations: 4 kB / 0.9617 GB, free: 7.672 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.69e-05/1.345, allocations: 7.75 kB / 0.9617 GB, free: 7.668 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.193e-05/1.345, allocations: 3.953 kB / 0.9617 GB, free: 7.664 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.843e-05/1.345, allocations: 0 / 0.9617 GB, free: 7.664 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.69e-05/1.345, allocations: 8.062 kB / 0.9617 GB, free: 7.656 MB / 0.7136 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.371e-05/1.345, allocations: 101 kB / 0.9618 GB, free: 7.551 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.87e-05/1.345, allocations: 0 / 0.9618 GB, free: 7.551 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001439/1.345, allocations: 124.8 kB / 0.9619 GB, free: 7.426 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.182e-05/1.346, allocations: 180.2 kB / 0.9621 GB, free: 7.242 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.402e-05/1.346, allocations: 184.2 kB / 0.9623 GB, free: 7.055 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.955e-05/1.346, allocations: 184.2 kB / 0.9625 GB, free: 6.867 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002726/1.346, allocations: 405.2 kB / 0.9629 GB, free: 6.414 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.243e-05/1.346, allocations: 104.4 kB / 0.963 GB, free: 6.309 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.396e-05/1.346, allocations: 105 kB / 0.9631 GB, free: 6.199 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.847e-05/1.346, allocations: 180.4 kB / 0.9632 GB, free: 6.016 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.286e-05/1.346, allocations: 184.3 kB / 0.9634 GB, free: 5.828 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.327e-05/1.346, allocations: 184.2 kB / 0.9636 GB, free: 5.641 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.809e-05/1.346, allocations: 180.2 kB / 0.9638 GB, free: 5.457 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001625/1.347, allocations: 311.3 kB / 0.964 GB, free: 5.133 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 9.736e-05/1.347, allocations: 186 kB / 0.9642 GB, free: 4.926 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.154e-05/1.347, allocations: 184.2 kB / 0.9644 GB, free: 4.738 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001826/1.347, allocations: 101 kB / 0.9645 GB, free: 4.633 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.28e-05/1.347, allocations: 184.1 kB / 0.9647 GB, free: 4.449 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.21e-05/1.347, allocations: 106.2 kB / 0.9648 GB, free: 4.34 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 7.475e-05/1.347, allocations: 83.27 kB / 0.9649 GB, free: 4.258 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.31e-07/1.347, allocations: 0 / 0.9649 GB, free: 4.258 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004155/1.348, allocations: 35.19 kB / 0.9649 GB, free: 4.227 MB / 0.7136 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.0006733/1.348, allocations: 0.8675 MB / 0.9657 GB, free: 3.336 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.691e-05/1.348, allocations: 11.98 kB / 0.9657 GB, free: 3.324 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/1.348, allocations: 0 / 0.9657 GB, free: 3.324 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.404e-06/1.348, allocations: 0 / 0.9657 GB, free: 3.324 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000403/1.349, allocations: 0.5263 MB / 0.9663 GB, free: 2.797 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004066/1.349, allocations: 170.4 kB / 0.9664 GB, free: 2.594 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000278/1.35, allocations: 0.677 MB / 0.9671 GB, free: 1.891 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 8.158e-05/1.35, allocations: 4 kB / 0.9671 GB, free: 1.887 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.441e-05/1.35, allocations: 7.438 kB / 0.9671 GB, free: 1.879 MB / 0.7136 GB Notification: Performance of SimCode: time 9.41e-07/1.35, allocations: 4 kB / 0.9671 GB, free: 1.875 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02248/1.372, allocations: 1.824 MB / 0.9689 GB, free: 204 kB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0005195/1.373, allocations: 214.9 kB / 0.9691 GB, free: 15.97 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.226/3.598, allocations: 0 / 0.9691 GB, free: 15.97 MB / 0.7292 GB