Running command: "" <> buildModelFMU(Buildings.Media.Examples.AirTemperatureEnthalpyInversion,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_AirTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.45/4.45, allocations: 464.6 MB / 476.8 MB, free: 2.199 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.846e-05/3.87e-05, allocations: 4 kB / 0.5732 GB, free: 5.645 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2524/0.2524, allocations: 107.1 MB / 0.6778 GB, free: 10.3 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.469/7.721, allocations: 2.172 GB / 2.849 GB, free: 263.1 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003069/7.722, allocations: 70.69 kB / 2.849 GB, free: 263.1 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.116/7.838, allocations: 36.57 MB / 2.885 GB, free: 250.2 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.104e-06/7.838, allocations: 4 kB / 2.885 GB, free: 250.2 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 7.585e-06/7.838, allocations: 0 / 2.885 GB, free: 250.2 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.0003444/7.838, allocations: 333.9 kB / 2.885 GB, free: 249.9 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.518e-05/7.838, allocations: 12.03 kB / 2.885 GB, free: 249.9 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.692e-05/7.838, allocations: 42.3 kB / 2.886 GB, free: 249.8 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003311/7.838, allocations: 23.92 kB / 2.886 GB, free: 249.8 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.972e-05/7.839, allocations: 171 kB / 2.886 GB, free: 249.6 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.518e-05/7.839, allocations: 25.7 kB / 2.886 GB, free: 249.6 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.442e-05/7.839, allocations: 3.938 kB / 2.886 GB, free: 249.5 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001311/7.839, allocations: 45.31 kB / 2.886 GB, free: 249.5 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.869e-06/7.839, allocations: 0 / 2.886 GB, free: 249.5 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.298e-05/7.839, allocations: 4 kB / 2.886 GB, free: 249.5 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.203e-05/7.839, allocations: 4 kB / 2.886 GB, free: 249.5 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.594e-05/7.839, allocations: 19.69 kB / 2.886 GB, free: 249.5 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003488/7.839, allocations: 255.9 kB / 2.886 GB, free: 249.2 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 5.602e-05/7.839, allocations: 22.52 kB / 2.886 GB, free: 249.2 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.498e-05/7.839, allocations: 8.922 kB / 2.886 GB, free: 249.1 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001741/7.84, allocations: 96.53 kB / 2.886 GB, free: 249 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.748e-05/7.84, allocations: 38.5 kB / 2.886 GB, free: 249 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=2): time 1.733e-06/7.84, allocations: 0 / 2.886 GB, free: 249 MB / 0.8855 GB Notification: Performance of matching and sorting (n=2): time 0.0002478/7.84, allocations: 52.73 kB / 2.886 GB, free: 248.9 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.457e-05/7.84, allocations: 51.41 kB / 2.886 GB, free: 248.9 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.624e-05/7.84, allocations: 93.03 kB / 2.886 GB, free: 248.8 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.539e-05/7.84, allocations: 33.02 kB / 2.886 GB, free: 248.7 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 3.573e-05/7.84, allocations: 91.97 kB / 2.887 GB, free: 248.6 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 9.458e-06/7.84, allocations: 3.906 kB / 2.887 GB, free: 248.6 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.847e-06/7.84, allocations: 0 / 2.887 GB, free: 248.6 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 5.731e-05/7.84, allocations: 318.7 kB / 2.887 GB, free: 248.3 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.943e-05/7.84, allocations: 3.938 kB / 2.887 GB, free: 248.3 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.366e-05/7.84, allocations: 30.19 kB / 2.887 GB, free: 248.3 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.954e-05/7.84, allocations: 8 kB / 2.887 GB, free: 248.3 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/7.84, allocations: 0 / 2.887 GB, free: 248.3 MB / 0.8855 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.753e-05/7.84, allocations: 53.25 kB / 2.887 GB, free: 248.2 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/7.84, allocations: 4 kB / 2.887 GB, free: 248.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/7.841, allocations: 0 / 2.887 GB, free: 248.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/7.841, allocations: 7.953 kB / 2.887 GB, free: 248.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.672e-05/7.841, allocations: 8.094 kB / 2.887 GB, free: 248.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/7.841, allocations: 0 / 2.887 GB, free: 248.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.304e-05/7.841, allocations: 4 kB / 2.887 GB, free: 248.2 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.592e-06/7.841, allocations: 0 / 2.887 GB, free: 248.2 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 5.423e-05/7.841, allocations: 106.9 kB / 2.887 GB, free: 248.1 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.958e-05/7.841, allocations: 0 / 2.887 GB, free: 248.1 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.759e-05/7.841, allocations: 10.86 kB / 2.887 GB, free: 248.1 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/7.841, allocations: 0 / 2.887 GB, free: 248.1 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/7.841, allocations: 7.953 kB / 2.887 GB, free: 248.1 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/7.841, allocations: 0 / 2.887 GB, free: 248.1 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002799/7.841, allocations: 367.3 kB / 2.887 GB, free: 247.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/7.841, allocations: 288 / 2.887 GB, free: 247.7 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.882e-05/7.841, allocations: 4 kB / 2.887 GB, free: 247.7 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/7.841, allocations: 3.953 kB / 2.887 GB, free: 247.7 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.263e-06/7.841, allocations: 3.938 kB / 2.887 GB, free: 247.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.145e-06/7.841, allocations: 4 kB / 2.887 GB, free: 247.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/7.841, allocations: 4 kB / 2.887 GB, free: 247.6 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001026/7.841, allocations: 87.62 kB / 2.888 GB, free: 247.5 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 2.781e-05/7.841, allocations: 89 kB / 2.888 GB, free: 247.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.924e-05/7.841, allocations: 0 / 2.888 GB, free: 247.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000113/7.842, allocations: 4 kB / 2.888 GB, free: 247.4 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.887e-05/7.842, allocations: 4.031 kB / 2.888 GB, free: 247.4 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.417e-06/7.842, allocations: 0 / 2.888 GB, free: 247.4 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 3.198e-05/7.842, allocations: 86.64 kB / 2.888 GB, free: 247.3 MB / 0.8855 GB Notification: Performance of sort global known variables: time 4.41e-07/7.842, allocations: 0 / 2.888 GB, free: 247.3 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0004005/7.842, allocations: 41.56 kB / 2.888 GB, free: 247.3 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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.0009147/7.843, allocations: 1.145 MB / 2.889 GB, free: 246.2 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 8.735e-05/7.843, allocations: 16 kB / 2.889 GB, free: 246.1 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/7.843, allocations: 0 / 2.889 GB, free: 246.1 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 1.733e-05/7.843, allocations: 7.938 kB / 2.889 GB, free: 246.1 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001828/7.843, allocations: 7.812 kB / 2.889 GB, free: 246.1 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003126/7.844, allocations: 99.56 kB / 2.889 GB, free: 246 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001325/7.844, allocations: 0.6848 MB / 2.89 GB, free: 245.3 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 8.714e-05/7.844, allocations: 12.3 kB / 2.89 GB, free: 245.3 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.262e-05/7.844, allocations: 7.438 kB / 2.89 GB, free: 245.3 MB / 0.8855 GB Notification: Performance of SimCode: time 6.82e-07/7.844, allocations: 0 / 2.89 GB, free: 245.3 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03278/7.877, allocations: 11.93 MB / 2.901 GB, free: 233.4 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001853/7.877, allocations: 163.9 kB / 2.901 GB, free: 233.2 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.077/10.95, allocations: 0 / 2.901 GB, free: 233.2 MB / 0.8855 GB