Running command: "" <> buildModelFMU(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_5_0_1_Buildings_Media_Examples_WaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.05/4.05, allocations: 403.3 MB / 415.4 MB, free: 13 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.671e-05/3.682e-05, allocations: 7.938 kB / 0.4991 GB, free: 13.36 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.635/0.6351, allocations: 92.67 MB / 0.5896 GB, free: 14.4 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.164/1.799, allocations: 354.5 MB / 0.9358 GB, free: 2.176 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002684/1.8, allocations: 67.41 kB / 0.9359 GB, free: 2.145 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.03803/1.838, allocations: 11.24 MB / 0.9468 GB, free: 9.461 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.533e-06/1.838, allocations: 0 / 0.9468 GB, free: 9.461 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 7.044e-06/1.838, allocations: 0 / 0.9468 GB, free: 9.461 MB / 0.6667 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.0004092/1.838, allocations: 325.9 kB / 0.9472 GB, free: 9.102 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.064e-05/1.838, allocations: 8.031 kB / 0.9472 GB, free: 9.094 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.664e-05/1.838, allocations: 34.55 kB / 0.9472 GB, free: 9.051 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.825e-05/1.839, allocations: 7.953 kB / 0.9472 GB, free: 9.043 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001427/1.839, allocations: 170.6 kB / 0.9474 GB, free: 8.84 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.284e-05/1.839, allocations: 29.64 kB / 0.9474 GB, free: 8.805 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.176e-05/1.839, allocations: 4 kB / 0.9474 GB, free: 8.801 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001341/1.839, allocations: 37.69 kB / 0.9474 GB, free: 8.758 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.296e-05/1.839, allocations: 0 / 0.9474 GB, free: 8.758 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.201e-05/1.839, allocations: 0 / 0.9474 GB, free: 8.758 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.485e-05/1.839, allocations: 7.266 kB / 0.9474 GB, free: 8.754 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.06e-05/1.839, allocations: 11.98 kB / 0.9475 GB, free: 8.742 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005332/1.84, allocations: 324.8 kB / 0.9478 GB, free: 8.363 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 4.655e-05/1.84, allocations: 25.83 kB / 0.9478 GB, free: 8.332 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.072e-05/1.84, allocations: 8.797 kB / 0.9478 GB, free: 8.32 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001114/1.84, allocations: 89.16 kB / 0.9479 GB, free: 8.215 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.53e-05/1.84, allocations: 34.52 kB / 0.9479 GB, free: 8.172 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=1): time 1.733e-06/1.84, allocations: 0 / 0.9479 GB, free: 8.172 MB / 0.6667 GB Notification: Performance of matching and sorting (n=1): time 0.000145/1.84, allocations: 33.7 kB / 0.9479 GB, free: 8.133 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.178e-05/1.84, allocations: 54.59 kB / 0.948 GB, free: 8.07 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.917e-05/1.84, allocations: 104.8 kB / 0.9481 GB, free: 7.961 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 2.318e-05/1.84, allocations: 29.7 kB / 0.9481 GB, free: 7.926 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 8.39e-05/1.84, allocations: 83.77 kB / 0.9482 GB, free: 7.844 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 9.298e-06/1.84, allocations: 7.844 kB / 0.9482 GB, free: 7.836 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.988e-06/1.84, allocations: 0 / 0.9482 GB, free: 7.836 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001433/1.841, allocations: 310.8 kB / 0.9485 GB, free: 7.523 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.1e-05/1.841, allocations: 8.031 kB / 0.9485 GB, free: 7.516 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.743e-05/1.841, allocations: 21.2 kB / 0.9485 GB, free: 7.492 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.611e-05/1.841, allocations: 4 kB / 0.9485 GB, free: 7.488 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/1.841, allocations: 0 / 0.9485 GB, free: 7.488 MB / 0.6667 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001055/1.841, allocations: 48.88 kB / 0.9486 GB, free: 7.438 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.054e-05/1.841, allocations: 8 kB / 0.9486 GB, free: 7.43 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.844e-06/1.841, allocations: 3.953 kB / 0.9486 GB, free: 7.426 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/1.841, allocations: 4.062 kB / 0.9486 GB, free: 7.422 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.425e-05/1.841, allocations: 4 kB / 0.9486 GB, free: 7.418 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.698e-06/1.841, allocations: 4 kB / 0.9486 GB, free: 7.414 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.711e-05/1.841, allocations: 0 / 0.9486 GB, free: 7.414 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.512e-05/1.841, allocations: 4 kB / 0.9486 GB, free: 7.41 MB / 0.6667 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.623e-05/1.841, allocations: 109.5 kB / 0.9487 GB, free: 7.297 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.558e-05/1.841, allocations: 0 / 0.9487 GB, free: 7.297 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001504/1.841, allocations: 128.2 kB / 0.9488 GB, free: 7.164 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.523e-05/1.841, allocations: 180.2 kB / 0.949 GB, free: 6.98 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.872e-05/1.842, allocations: 180.2 kB / 0.9492 GB, free: 6.797 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.079e-05/1.842, allocations: 183.6 kB / 0.9494 GB, free: 6.613 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002662/1.842, allocations: 405.2 kB / 0.9497 GB, free: 6.16 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.673e-05/1.842, allocations: 104.9 kB / 0.9498 GB, free: 6.051 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.636e-05/1.842, allocations: 112.7 kB / 0.95 GB, free: 5.938 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.018e-05/1.842, allocations: 176.3 kB / 0.9501 GB, free: 5.758 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.593e-05/1.842, allocations: 180.2 kB / 0.9503 GB, free: 5.574 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.181e-05/1.842, allocations: 178.6 kB / 0.9505 GB, free: 5.395 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.532e-05/1.842, allocations: 192.1 kB / 0.9507 GB, free: 5.199 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001707/1.843, allocations: 307 kB / 0.9509 GB, free: 4.879 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 9.746e-05/1.843, allocations: 182.1 kB / 0.9511 GB, free: 4.676 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.749e-05/1.843, allocations: 179.8 kB / 0.9513 GB, free: 4.496 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001775/1.843, allocations: 108.9 kB / 0.9514 GB, free: 4.383 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.015e-05/1.843, allocations: 180.2 kB / 0.9516 GB, free: 4.199 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.647e-05/1.843, allocations: 120.8 kB / 0.9517 GB, free: 4.074 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 6.57e-05/1.843, allocations: 86.97 kB / 0.9518 GB, free: 3.992 MB / 0.6667 GB Notification: Performance of sort global known variables: time 4.1e-07/1.843, allocations: 0 / 0.9518 GB, free: 3.992 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0003238/1.843, allocations: 19.94 kB / 0.9518 GB, free: 3.973 MB / 0.6667 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.0005934/1.844, allocations: 0.8354 MB / 0.9526 GB, free: 3.113 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 9.18e-05/1.844, allocations: 11.56 kB / 0.9526 GB, free: 3.105 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/1.844, allocations: 128 / 0.9526 GB, free: 3.105 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 2.726e-06/1.844, allocations: 8 kB / 0.9526 GB, free: 3.098 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004069/1.845, allocations: 0.5185 MB / 0.9531 GB, free: 2.574 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004147/1.845, allocations: 173.8 kB / 0.9533 GB, free: 2.371 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002951/1.845, allocations: 0.6774 MB / 0.9539 GB, free: 1.668 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 6.357e-05/1.845, allocations: 11.94 kB / 0.954 GB, free: 1.656 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.36e-05/1.846, allocations: 7.438 kB / 0.954 GB, free: 1.648 MB / 0.6667 GB Notification: Performance of SimCode: time 7.11e-07/1.846, allocations: 0 / 0.954 GB, free: 1.648 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0264/1.872, allocations: 1.59 MB / 0.9555 GB, free: 128 kB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000419/1.872, allocations: 162.4 kB / 0.9557 GB, free: 15.9 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.394/4.267, allocations: 0 / 0.9557 GB, free: 15.9 MB / 0.6823 GB