Running command: "" <> buildModelFMU(BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(BuildingSystems): time 3.436/3.436, allocations: 343.7 MB / 355.9 MB, free: 9.387 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.497e-05/3.512e-05, allocations: 0 / 436.6 MB, free: 2.379 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1801/0.1801, allocations: 77.73 MB / 0.5023 GB, free: 4.492 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 14.33/14.51, allocations: 4.581 GB / 5.083 GB, free: 95.36 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003034/14.51, allocations: 80.5 kB / 5.083 GB, free: 95.29 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.1385/14.65, allocations: 45.08 MB / 5.127 GB, free: 49.4 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.413e-06/14.65, allocations: 4 kB / 5.127 GB, free: 49.4 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 8.345e-06/14.65, allocations: 0 / 5.127 GB, free: 49.4 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003112/14.65, allocations: 326.5 kB / 5.127 GB, free: 49.04 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/14.65, allocations: 8.031 kB / 5.127 GB, free: 49.03 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.133e-05/14.65, allocations: 38.5 kB / 5.127 GB, free: 48.98 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002425/14.65, allocations: 15.98 kB / 5.127 GB, free: 48.96 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.016e-05/14.65, allocations: 171 kB / 5.127 GB, free: 48.76 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.682e-05/14.65, allocations: 29.7 kB / 5.128 GB, free: 48.72 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.173e-05/14.65, allocations: 3.953 kB / 5.128 GB, free: 48.72 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001257/14.65, allocations: 49.62 kB / 5.128 GB, free: 48.66 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/14.65, allocations: 0 / 5.128 GB, free: 48.66 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.311e-05/14.65, allocations: 0 / 5.128 GB, free: 48.66 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.992e-05/14.65, allocations: 8 kB / 5.128 GB, free: 48.66 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.767e-05/14.65, allocations: 19.92 kB / 5.128 GB, free: 48.64 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003923/14.65, allocations: 268.8 kB / 5.128 GB, free: 48.32 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 3.777e-05/14.65, allocations: 18.58 kB / 5.128 GB, free: 48.3 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.835e-05/14.65, allocations: 4.859 kB / 5.128 GB, free: 48.29 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 6.222e-06/14.65, allocations: 0 / 5.128 GB, free: 48.29 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.201e-05/14.65, allocations: 30.56 kB / 5.128 GB, free: 48.25 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=1): time 1.373e-06/14.65, allocations: 0 / 5.128 GB, free: 48.25 MB / 0.6667 GB Notification: Performance of matching and sorting (n=1): time 0.0001208/14.65, allocations: 41.7 kB / 5.128 GB, free: 48.2 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.691e-05/14.65, allocations: 51.41 kB / 5.128 GB, free: 48.14 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.216e-05/14.65, allocations: 96.98 kB / 5.128 GB, free: 48.04 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 1.215e-05/14.65, allocations: 25.7 kB / 5.128 GB, free: 48.01 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 3.276e-05/14.65, allocations: 88.05 kB / 5.128 GB, free: 47.92 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 8.496e-06/14.65, allocations: 7.906 kB / 5.128 GB, free: 47.91 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.048e-06/14.65, allocations: 0 / 5.128 GB, free: 47.91 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 5.709e-05/14.65, allocations: 314.8 kB / 5.128 GB, free: 47.59 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.019e-05/14.65, allocations: 4 kB / 5.128 GB, free: 47.59 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.254e-05/14.65, allocations: 30.59 kB / 5.129 GB, free: 47.55 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.067e-05/14.65, allocations: 8 kB / 5.129 GB, free: 47.54 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/14.65, allocations: 0 / 5.129 GB, free: 47.54 MB / 0.6667 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.57e-05/14.65, allocations: 53.62 kB / 5.129 GB, free: 47.48 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/14.65, allocations: 4 kB / 5.129 GB, free: 47.48 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/14.65, allocations: 4.094 kB / 5.129 GB, free: 47.48 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/14.65, allocations: 4 kB / 5.129 GB, free: 47.47 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.858e-05/14.65, allocations: 4 kB / 5.129 GB, free: 47.47 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/14.65, allocations: 3.938 kB / 5.129 GB, free: 47.46 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.967e-05/14.65, allocations: 7.938 kB / 5.129 GB, free: 47.46 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.811e-06/14.65, allocations: 3.938 kB / 5.129 GB, free: 47.45 MB / 0.6667 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.285e-05/14.65, allocations: 108.9 kB / 5.129 GB, free: 47.34 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.916e-05/14.65, allocations: 4.281 kB / 5.129 GB, free: 47.34 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.028e-05/14.65, allocations: 7.125 kB / 5.129 GB, free: 47.33 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/14.65, allocations: 7.984 kB / 5.129 GB, free: 47.32 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/14.65, allocations: 0 / 5.129 GB, free: 47.32 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/14.65, allocations: 0 / 5.129 GB, free: 47.32 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002155/14.65, allocations: 342.8 kB / 5.129 GB, free: 46.93 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/14.65, allocations: 0 / 5.129 GB, free: 46.93 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.16e-05/14.65, allocations: 4 kB / 5.129 GB, free: 46.93 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.494e-06/14.65, allocations: 0 / 5.129 GB, free: 46.93 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.394e-06/14.65, allocations: 3.984 kB / 5.129 GB, free: 46.92 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.836e-06/14.65, allocations: 7.969 kB / 5.129 GB, free: 46.91 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/14.65, allocations: 3.938 kB / 5.129 GB, free: 46.91 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.571e-05/14.65, allocations: 61 kB / 5.129 GB, free: 46.83 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 2.512e-05/14.65, allocations: 77.11 kB / 5.129 GB, free: 46.74 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.986e-05/14.65, allocations: 4 kB / 5.129 GB, free: 46.73 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.093e-05/14.65, allocations: 7.984 kB / 5.129 GB, free: 46.73 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.038e-05/14.65, allocations: 0 / 5.129 GB, free: 46.73 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.544e-06/14.65, allocations: 4.031 kB / 5.129 GB, free: 46.72 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 3.318e-05/14.65, allocations: 79.28 kB / 5.129 GB, free: 46.64 MB / 0.6667 GB Notification: Performance of sort global known variables: time 4.31e-07/14.65, allocations: 0 / 5.129 GB, free: 46.64 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0003778/14.66, allocations: 43.98 kB / 5.129 GB, free: 46.6 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 (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.0008939/14.66, allocations: 1.071 MB / 5.13 GB, free: 45.51 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 7.97e-05/14.66, allocations: 12 kB / 5.13 GB, free: 45.5 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/14.66, allocations: 3.938 kB / 5.13 GB, free: 45.5 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 8.616e-06/14.66, allocations: 4 kB / 5.13 GB, free: 45.49 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001738/14.66, allocations: 5.828 kB / 5.13 GB, free: 45.49 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002951/14.66, allocations: 95.27 kB / 5.131 GB, free: 45.36 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001241/14.66, allocations: 0.677 MB / 5.131 GB, free: 44.66 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 7.959e-05/14.66, allocations: 15.91 kB / 5.131 GB, free: 44.64 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.978e-05/14.66, allocations: 7.438 kB / 5.131 GB, free: 44.63 MB / 0.6667 GB Notification: Performance of SimCode: time 8.31e-07/14.66, allocations: 4 kB / 5.131 GB, free: 44.63 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03612/14.69, allocations: 12.32 MB / 5.143 GB, free: 32.4 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001804/14.69, allocations: 194.5 kB / 5.143 GB, free: 32.18 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.97/17.66, allocations: 0 / 5.143 GB, free: 32.18 MB / 0.6667 GB