Running command: "" <> buildModelFMU(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,fileNamePrefix="Buildings_latest_Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.481/4.481, allocations: 464.6 MB / 476.8 MB, free: 2.188 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.628e-05/3.636e-05, allocations: 4 kB / 0.5732 GB, free: 5.621 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2429/0.2429, allocations: 107.2 MB / 0.6778 GB, free: 10.27 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 15.32/15.56, allocations: 4.605 GB / 5.283 GB, free: 217.3 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003699/15.56, allocations: 80.77 kB / 5.283 GB, free: 217.2 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.1396/15.7, allocations: 45.1 MB / 5.327 GB, free: 179.7 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.085e-06/15.7, allocations: 0 / 5.327 GB, free: 179.7 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 8.215e-06/15.7, allocations: 3.938 kB / 5.327 GB, free: 179.7 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003554/15.7, allocations: 337.9 kB / 5.327 GB, free: 179.3 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.287e-05/15.7, allocations: 16.02 kB / 5.327 GB, free: 179.3 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.977e-05/15.7, allocations: 30.56 kB / 5.327 GB, free: 179.3 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002914/15.7, allocations: 19.98 kB / 5.327 GB, free: 179.2 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001027/15.7, allocations: 159.1 kB / 5.327 GB, free: 179 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.115e-05/15.7, allocations: 33.39 kB / 5.327 GB, free: 179 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.133e-05/15.7, allocations: 3.938 kB / 5.327 GB, free: 179 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001463/15.7, allocations: 49.45 kB / 5.327 GB, free: 178.9 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.938e-06/15.7, allocations: 4 kB / 5.327 GB, free: 178.9 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.895e-05/15.7, allocations: 7.969 kB / 5.327 GB, free: 178.9 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.118e-05/15.7, allocations: 0 / 5.327 GB, free: 178.9 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.38e-05/15.7, allocations: 15.44 kB / 5.328 GB, free: 178.9 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000433/15.7, allocations: 256 kB / 5.328 GB, free: 178.6 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 3.866e-05/15.7, allocations: 18.58 kB / 5.328 GB, free: 178.6 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.356e-05/15.7, allocations: 12.86 kB / 5.328 GB, free: 178.6 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 6.672e-06/15.7, allocations: 0 / 5.328 GB, free: 178.6 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.892e-05/15.7, allocations: 30.56 kB / 5.328 GB, free: 178.6 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=1): time 1.613e-06/15.7, allocations: 0 / 5.328 GB, free: 178.6 MB / 0.8855 GB Notification: Performance of matching and sorting (n=1): time 0.0001421/15.7, allocations: 41.03 kB / 5.328 GB, free: 178.5 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.233e-05/15.7, allocations: 51.41 kB / 5.328 GB, free: 178.4 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.071e-05/15.7, allocations: 104.9 kB / 5.328 GB, free: 178.3 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.447e-05/15.7, allocations: 25.7 kB / 5.328 GB, free: 178.3 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 4.165e-05/15.7, allocations: 88.05 kB / 5.328 GB, free: 178.2 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 1.177e-05/15.7, allocations: 11.83 kB / 5.328 GB, free: 178.2 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.388e-06/15.7, allocations: 0 / 5.328 GB, free: 178.2 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 6.589e-05/15.7, allocations: 314.7 kB / 5.328 GB, free: 177.9 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.079e-05/15.7, allocations: 4 kB / 5.328 GB, free: 177.9 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.89e-05/15.7, allocations: 22.52 kB / 5.328 GB, free: 177.9 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.501e-05/15.7, allocations: 19.48 kB / 5.328 GB, free: 177.8 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/15.7, allocations: 0 / 5.328 GB, free: 177.8 MB / 0.8855 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001004/15.7, allocations: 52.53 kB / 5.329 GB, free: 177.8 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/15.7, allocations: 7.938 kB / 5.329 GB, free: 177.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/15.7, allocations: 3.984 kB / 5.329 GB, free: 177.8 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.801e-05/15.7, allocations: 4 kB / 5.329 GB, free: 177.8 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.471e-05/15.7, allocations: 4 kB / 5.329 GB, free: 177.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/15.7, allocations: 4.094 kB / 5.329 GB, free: 177.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.033e-05/15.7, allocations: 4 kB / 5.329 GB, free: 177.8 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.602e-06/15.7, allocations: 0 / 5.329 GB, free: 177.8 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 6.116e-05/15.7, allocations: 105 kB / 5.329 GB, free: 177.7 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.212e-05/15.7, allocations: 7.891 kB / 5.329 GB, free: 177.6 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.428e-05/15.7, allocations: 3.125 kB / 5.329 GB, free: 177.6 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/15.7, allocations: 0 / 5.329 GB, free: 177.6 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/15.7, allocations: 0 / 5.329 GB, free: 177.6 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/15.7, allocations: 4 kB / 5.329 GB, free: 177.6 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002474/15.7, allocations: 358.3 kB / 5.329 GB, free: 177.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/15.7, allocations: 0 / 5.329 GB, free: 177.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.039e-05/15.7, allocations: 0 / 5.329 GB, free: 177.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/15.7, allocations: 0 / 5.329 GB, free: 177.2 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.122e-06/15.7, allocations: 0 / 5.329 GB, free: 177.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/15.7, allocations: 256 / 5.329 GB, free: 177.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/15.7, allocations: 0 / 5.329 GB, free: 177.2 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.87e-05/15.7, allocations: 68.92 kB / 5.329 GB, free: 177.2 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 3.239e-05/15.7, allocations: 85.19 kB / 5.329 GB, free: 177.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.095e-05/15.7, allocations: 4 kB / 5.329 GB, free: 177.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000113/15.7, allocations: 0 / 5.329 GB, free: 177.1 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.948e-05/15.7, allocations: 4 kB / 5.329 GB, free: 177 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.384e-06/15.7, allocations: 0 / 5.329 GB, free: 177 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 4.538e-05/15.7, allocations: 86.45 kB / 5.329 GB, free: 177 MB / 0.8855 GB Notification: Performance of sort global known variables: time 4.1e-07/15.7, allocations: 3.938 kB / 5.329 GB, free: 177 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0004175/15.7, allocations: 46.77 kB / 5.329 GB, free: 176.9 MB / 0.8855 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 (1): * Single equations (assignments): 1 * 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.001044/15.71, allocations: 1.065 MB / 5.33 GB, free: 175.9 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 9.897e-05/15.71, allocations: 12 kB / 5.33 GB, free: 175.8 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/15.71, allocations: 0 / 5.33 GB, free: 175.8 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 1.175e-05/15.71, allocations: 11.92 kB / 5.33 GB, free: 175.8 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002048/15.71, allocations: 7.516 kB / 5.33 GB, free: 175.8 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003211/15.71, allocations: 95.02 kB / 5.33 GB, free: 175.7 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001604/15.71, allocations: 0.677 MB / 5.331 GB, free: 175 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 8.369e-05/15.71, allocations: 8.25 kB / 5.331 GB, free: 175 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.56e-05/15.71, allocations: 11 kB / 5.331 GB, free: 175 MB / 0.8855 GB Notification: Performance of SimCode: time 7.91e-07/15.71, allocations: 4 kB / 5.331 GB, free: 175 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03815/15.74, allocations: 12.34 MB / 5.343 GB, free: 162.7 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002003/15.74, allocations: 192.6 kB / 5.343 GB, free: 162.5 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.967/18.71, allocations: 4 kB / 5.343 GB, free: 162.5 MB / 0.8855 GB