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 4.385/4.385, allocations: 403.3 MB / 415.4 MB, free: 13.02 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.991e-05/3.999e-05, allocations: 4 kB / 0.4991 GB, free: 13.37 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7215/0.7216, allocations: 92.69 MB / 0.5896 GB, free: 14.39 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 14.76/15.48, allocations: 4.647 GB / 5.236 GB, free: 222.3 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002921/15.48, allocations: 78.5 kB / 5.236 GB, free: 222.3 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 0.8741/16.35, allocations: 251 MB / 5.482 GB, free: 38.14 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.533e-06/16.36, allocations: 3.938 kB / 5.482 GB, free: 38.14 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 2.847e-05/16.36, allocations: 8 kB / 5.482 GB, free: 38.13 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.36, allocations: 0.7558 MB / 5.482 GB, free: 37.33 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.573e-05/16.36, allocations: 12.03 kB / 5.482 GB, free: 37.32 MB / 0.7761 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001189/16.36, allocations: 75.56 kB / 5.482 GB, free: 37.24 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003847/16.36, allocations: 51.52 kB / 5.482 GB, free: 37.19 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005558/16.36, allocations: 338 kB / 5.483 GB, free: 36.82 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.793e-05/16.36, allocations: 24.78 kB / 5.483 GB, free: 36.79 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.072e-05/16.36, allocations: 36 kB / 5.483 GB, free: 36.76 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009285/16.36, allocations: 386.1 kB / 5.483 GB, free: 36.38 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.335e-05/16.36, allocations: 0 / 5.483 GB, free: 36.38 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.408e-05/16.36, allocations: 16 kB / 5.483 GB, free: 36.36 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.654e-05/16.36, allocations: 11.98 kB / 5.483 GB, free: 36.35 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008636/16.36, allocations: 369.4 kB / 5.484 GB, free: 35.99 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003097/16.36, allocations: 1.572 MB / 5.485 GB, free: 34.27 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005785/16.36, allocations: 272.2 kB / 5.485 GB, free: 33.99 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003142/16.36, allocations: 156.8 kB / 5.485 GB, free: 33.84 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 4.832e-05/16.36, allocations: 8 kB / 5.485 GB, free: 33.83 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.105e-05/16.36, allocations: 38.56 kB / 5.486 GB, free: 33.78 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=32): time 3.407e-06/16.36, allocations: 0 / 5.486 GB, free: 33.78 MB / 0.7761 GB Notification: Performance of matching and sorting (n=41): time 0.00551/16.37, allocations: 1.409 MB / 5.487 GB, free: 32.31 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.189e-05/16.37, allocations: 63.19 kB / 5.487 GB, free: 32.23 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004087/16.37, allocations: 291.3 kB / 5.487 GB, free: 31.95 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 5.776e-05/16.37, allocations: 37.7 kB / 5.487 GB, free: 31.91 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001119/16.37, allocations: 192.5 kB / 5.487 GB, free: 31.71 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001119/16.37, allocations: 145.9 kB / 5.488 GB, free: 31.57 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.654e-05/16.37, allocations: 8 kB / 5.488 GB, free: 31.56 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 8.308e-05/16.37, allocations: 338.8 kB / 5.488 GB, free: 31.22 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003867/16.37, allocations: 160.8 kB / 5.488 GB, free: 31.07 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004131/16.37, allocations: 207.3 kB / 5.488 GB, free: 30.86 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004526/16.37, allocations: 193.5 kB / 5.488 GB, free: 30.66 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/16.37, allocations: 0 / 5.488 GB, free: 30.66 MB / 0.7761 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001348/16.37, allocations: 0.5372 MB / 5.489 GB, free: 30.11 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.223e-05/16.37, allocations: 8.625 kB / 5.489 GB, free: 30.1 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.468e-06/16.37, allocations: 0 / 5.489 GB, free: 30.1 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003993/16.37, allocations: 98.44 kB / 5.489 GB, free: 30 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001212/16.38, allocations: 115.9 kB / 5.489 GB, free: 29.88 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00348/16.38, allocations: 4.148 MB / 5.493 GB, free: 25.33 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000749/16.38, allocations: 40.05 kB / 5.493 GB, free: 25.29 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.625e-05/16.38, allocations: 19.98 kB / 5.493 GB, free: 25.27 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.0001974/16.38, allocations: 132.4 kB / 5.493 GB, free: 25.14 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001415/16.38, allocations: 39.53 kB / 5.493 GB, free: 25.1 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001759/16.38, allocations: 51.2 kB / 5.494 GB, free: 25.05 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.354e-06/16.38, allocations: 8 kB / 5.494 GB, free: 25.04 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.038e-05/16.38, allocations: 0 / 5.494 GB, free: 25.04 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001277/16.38, allocations: 0.6515 MB / 5.494 GB, free: 24.32 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002629/16.38, allocations: 1.116 MB / 5.495 GB, free: 23.12 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.055e-06/16.38, allocations: 4 kB / 5.495 GB, free: 23.12 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001302/16.39, allocations: 120 kB / 5.495 GB, free: 23 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004478/16.39, allocations: 64.7 kB / 5.495 GB, free: 22.93 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001209/16.39, allocations: 12 kB / 5.495 GB, free: 22.92 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002352/16.39, allocations: 1.564 MB / 5.497 GB, free: 21.22 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/16.39, allocations: 0 / 5.497 GB, free: 21.22 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002473/16.39, allocations: 0.8055 MB / 5.498 GB, free: 20.35 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000578/16.39, allocations: 172.7 kB / 5.498 GB, free: 20.16 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001519/16.39, allocations: 16 kB / 5.498 GB, free: 20.14 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001106/16.39, allocations: 39.81 kB / 5.498 GB, free: 20.11 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001063/16.39, allocations: 27.91 kB / 5.498 GB, free: 20.08 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.418e-05/16.39, allocations: 19.98 kB / 5.498 GB, free: 20.06 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0004675/16.39, allocations: 227.1 kB / 5.498 GB, free: 19.84 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6.52e-07/16.39, allocations: 0 / 5.498 GB, free: 19.84 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.001875/16.4, allocations: 224 kB / 5.498 GB, free: 19.62 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.004861/16.4, allocations: 2.638 MB / 5.501 GB, free: 16.92 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.002142/16.4, allocations: 0.7177 MB / 5.502 GB, free: 16.18 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 8.586e-06/16.4, allocations: 0 / 5.502 GB, free: 16.18 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.001028/16.4, allocations: 309.6 kB / 5.502 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003228/16.41, allocations: 229.5 kB / 5.502 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004439/16.41, allocations: 0.984 MB / 5.503 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004911/16.41, allocations: 0.8392 MB / 5.504 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.001072/16.41, allocations: 95.33 kB / 5.504 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003973/16.41, allocations: 123.4 kB / 5.504 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of SimCode: time 1.974e-06/16.41, allocations: 0 / 5.504 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6636/17.08, allocations: 32.16 MB / 5.536 GB, free: 203.7 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002471/17.08, allocations: 201.8 kB / 5.536 GB, free: 203.5 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.008/21.09, allocations: 0 / 5.536 GB, free: 203.5 MB / 0.7761 GB