Running command: "" <> buildModelFMU(Buildings.Media.Specialized.Air.Examples.PerfectGasTestImplementation,fileNamePrefix="Buildings_5_0_1_Buildings_Media_Specialized_Air_Examples_PerfectGasTestImplementation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.994/3.994, allocations: 403.3 MB / 415.4 MB, free: 13.02 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 4.284e-05/4.324e-05, allocations: 15.05 kB / 0.4991 GB, free: 13.36 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.637/0.6371, allocations: 92.67 MB / 0.5896 GB, free: 14.48 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 15/15.64, allocations: 4.647 GB / 5.236 GB, free: 222.3 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003079/15.64, allocations: 84.81 kB / 5.236 GB, free: 222.3 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 0.7886/16.43, allocations: 251 MB / 5.481 GB, free: 39.46 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.755e-06/16.43, allocations: 4 kB / 5.481 GB, free: 39.46 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 2.716e-05/16.43, allocations: 11.94 kB / 5.481 GB, free: 39.45 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.001863/16.43, allocations: 0.7519 MB / 5.482 GB, free: 38.65 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.939e-05/16.43, allocations: 16.03 kB / 5.482 GB, free: 38.63 MB / 0.7761 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001147/16.43, allocations: 75.56 kB / 5.482 GB, free: 38.55 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003905/16.43, allocations: 51.52 kB / 5.482 GB, free: 38.5 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005884/16.43, allocations: 338 kB / 5.483 GB, free: 38.13 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.926e-05/16.43, allocations: 24.78 kB / 5.483 GB, free: 38.11 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.495e-05/16.43, allocations: 36 kB / 5.483 GB, free: 38.07 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009332/16.43, allocations: 387.7 kB / 5.483 GB, free: 37.68 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.333e-05/16.43, allocations: 0 / 5.483 GB, free: 37.68 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.409e-05/16.43, allocations: 16 kB / 5.483 GB, free: 37.67 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.117e-05/16.43, allocations: 12 kB / 5.483 GB, free: 37.66 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008634/16.43, allocations: 379 kB / 5.483 GB, free: 37.29 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003065/16.44, allocations: 1.572 MB / 5.485 GB, free: 35.57 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005993/16.44, allocations: 276.1 kB / 5.485 GB, free: 35.29 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003187/16.44, allocations: 150.2 kB / 5.485 GB, free: 35.14 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 5.639e-05/16.44, allocations: 7.984 kB / 5.485 GB, free: 35.13 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.479e-05/16.44, allocations: 42.56 kB / 5.485 GB, free: 35.08 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=32): time 2.825e-06/16.44, allocations: 0 / 5.485 GB, free: 35.08 MB / 0.7761 GB Notification: Performance of matching and sorting (n=41): time 0.005808/16.44, allocations: 1.424 MB / 5.487 GB, free: 33.59 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.581e-05/16.44, allocations: 63.17 kB / 5.487 GB, free: 33.52 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004502/16.45, allocations: 291.4 kB / 5.487 GB, free: 33.23 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 6.519e-05/16.45, allocations: 33.7 kB / 5.487 GB, free: 33.2 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001234/16.45, allocations: 196.5 kB / 5.487 GB, free: 33 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001166/16.45, allocations: 141.9 kB / 5.488 GB, free: 32.86 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.604e-05/16.45, allocations: 8 kB / 5.488 GB, free: 32.85 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 8.518e-05/16.45, allocations: 342.8 kB / 5.488 GB, free: 32.51 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003826/16.45, allocations: 160.8 kB / 5.488 GB, free: 32.35 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004206/16.45, allocations: 204.2 kB / 5.488 GB, free: 32.14 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004632/16.45, allocations: 193.6 kB / 5.488 GB, free: 31.95 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/16.45, allocations: 0 / 5.488 GB, free: 31.95 MB / 0.7761 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001502/16.45, allocations: 0.5526 MB / 5.489 GB, free: 31.38 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.46e-05/16.45, allocations: 10.59 kB / 5.489 GB, free: 31.38 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.908e-06/16.45, allocations: 0 / 5.489 GB, free: 31.38 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004875/16.45, allocations: 90.52 kB / 5.489 GB, free: 31.28 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001207/16.45, allocations: 115.9 kB / 5.489 GB, free: 31.16 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003575/16.45, allocations: 4.167 MB / 5.493 GB, free: 26.59 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007437/16.45, allocations: 32.11 kB / 5.493 GB, free: 26.56 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.651e-05/16.45, allocations: 16 kB / 5.493 GB, free: 26.55 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 46 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002073/16.45, allocations: 125.6 kB / 5.493 GB, free: 26.42 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001179/16.46, allocations: 43.53 kB / 5.493 GB, free: 26.38 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001508/16.46, allocations: 55.2 kB / 5.494 GB, free: 26.31 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/16.46, allocations: 8.078 kB / 5.494 GB, free: 26.3 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/16.46, allocations: 0 / 5.494 GB, free: 26.3 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001183/16.46, allocations: 0.6477 MB / 5.494 GB, free: 25.59 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002416/16.46, allocations: 1.132 MB / 5.495 GB, free: 24.38 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/16.46, allocations: 0 / 5.495 GB, free: 24.38 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001285/16.46, allocations: 120 kB / 5.495 GB, free: 24.26 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002835/16.46, allocations: 56.81 kB / 5.495 GB, free: 24.2 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.105e-05/16.46, allocations: 15.98 kB / 5.495 GB, free: 24.18 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001592/16.46, allocations: 1.556 MB / 5.497 GB, free: 22.49 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/16.46, allocations: 4.031 kB / 5.497 GB, free: 22.49 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001758/16.46, allocations: 0.8172 MB / 5.498 GB, free: 21.6 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004199/16.46, allocations: 164.7 kB / 5.498 GB, free: 21.42 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.916e-05/16.46, allocations: 8 kB / 5.498 GB, free: 21.41 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007698/16.47, allocations: 39.91 kB / 5.498 GB, free: 21.38 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.55e-05/16.47, allocations: 31.86 kB / 5.498 GB, free: 21.34 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.686e-05/16.47, allocations: 27.97 kB / 5.498 GB, free: 21.32 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0003467/16.47, allocations: 227.1 kB / 5.498 GB, free: 21.1 MB / 0.7761 GB Notification: Performance of sort global known variables: time 4.71e-07/16.47, allocations: 0 / 5.498 GB, free: 21.1 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.001239/16.47, allocations: 216 kB / 5.498 GB, free: 20.89 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 38 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003581/16.47, allocations: 2.645 MB / 5.501 GB, free: 18.18 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.001702/16.47, allocations: 0.7251 MB / 5.502 GB, free: 17.41 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 7.153e-06/16.47, allocations: 7.938 kB / 5.502 GB, free: 17.4 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0007561/16.47, allocations: 322.9 kB / 5.502 GB, free: 17.07 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002295/16.48, allocations: 237 kB / 5.502 GB, free: 16.84 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00351/16.48, allocations: 0.9863 MB / 5.503 GB, free: 15.81 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003651/16.48, allocations: 0.8314 MB / 5.504 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.000781/16.48, allocations: 99.33 kB / 5.504 GB, free: 14.85 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002977/16.48, allocations: 123.4 kB / 5.504 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of SimCode: time 1.693e-06/16.48, allocations: 0 / 5.504 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6877/17.17, allocations: 32.13 MB / 5.536 GB, free: 202.2 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002252/17.17, allocations: 203.1 kB / 5.536 GB, free: 202 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.886/21.05, allocations: 0 / 5.536 GB, free: 202 MB / 0.7761 GB