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={"dynamic"}) Notification: Performance of loadModel(Buildings): time 4.676/4.676, allocations: 404.2 MB / 411.3 MB, free: 400 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.32e-05/3.33e-05, allocations: 4 kB / 0.4945 GB, free: 1.312 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7719/0.772, allocations: 92.7 MB / 0.5851 GB, free: 2.297 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 15.99/16.77, allocations: 4.646 GB / 5.231 GB, free: 46.66 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003468/16.77, allocations: 83.02 kB / 5.231 GB, free: 46.62 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.711/18.48, allocations: 248.2 MB / 5.474 GB, free: 116.4 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.573e-06/18.48, allocations: 4 kB / 5.474 GB, free: 116.4 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 2.885e-05/18.48, allocations: 8 kB / 5.474 GB, free: 116.4 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.001958/18.48, allocations: 0.752 MB / 5.474 GB, free: 115.6 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.08e-05/18.48, allocations: 16 kB / 5.474 GB, free: 115.6 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004623/18.48, allocations: 55.53 kB / 5.474 GB, free: 115.6 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006797/18.48, allocations: 330 kB / 5.475 GB, free: 115.2 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.445e-05/18.48, allocations: 12 kB / 5.475 GB, free: 115.2 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.361e-05/18.48, allocations: 24 kB / 5.475 GB, free: 115.2 MB / 0.7761 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009697/18.48, allocations: 365.3 kB / 5.475 GB, free: 114.8 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009076/18.48, allocations: 330.4 kB / 5.475 GB, free: 114.5 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.797e-05/18.48, allocations: 0 / 5.475 GB, free: 114.5 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.444e-05/18.48, allocations: 0 / 5.475 GB, free: 114.5 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.166e-05/18.48, allocations: 12 kB / 5.475 GB, free: 114.5 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003462/18.49, allocations: 1.485 MB / 5.477 GB, free: 112.8 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005793/18.49, allocations: 251 kB / 5.477 GB, free: 112.6 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003143/18.49, allocations: 132.8 kB / 5.477 GB, free: 112.5 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 6.109e-05/18.49, allocations: 15.97 kB / 5.477 GB, free: 112.4 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.286e-05/18.49, allocations: 42.5 kB / 5.477 GB, free: 112.4 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=32): time 3.617e-06/18.49, allocations: 4 kB / 5.477 GB, free: 112.4 MB / 0.7761 GB Notification: Performance of matching and sorting (n=41): time 0.005236/18.49, allocations: 1.225 MB / 5.478 GB, free: 111.1 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.951e-05/18.49, allocations: 59.19 kB / 5.479 GB, free: 111 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003316/18.49, allocations: 220.4 kB / 5.479 GB, free: 110.8 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 8.603e-05/18.49, allocations: 29.7 kB / 5.479 GB, free: 110.8 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001184/18.49, allocations: 200.1 kB / 5.479 GB, free: 110.6 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001287/18.49, allocations: 138 kB / 5.479 GB, free: 110.4 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.854e-05/18.49, allocations: 0 / 5.479 GB, free: 110.4 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 8.724e-05/18.49, allocations: 346.8 kB / 5.479 GB, free: 110.1 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003827/18.49, allocations: 152.8 kB / 5.48 GB, free: 109.9 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004109/18.5, allocations: 195.3 kB / 5.48 GB, free: 109.7 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004687/18.5, allocations: 180.7 kB / 5.48 GB, free: 109.6 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.297e-06/18.5, allocations: 0 / 5.48 GB, free: 109.6 MB / 0.7761 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001512/18.5, allocations: 0.5072 MB / 5.48 GB, free: 109 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.596e-05/18.5, allocations: 7.953 kB / 5.48 GB, free: 109 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.236e-05/18.5, allocations: 4 kB / 5.48 GB, free: 109 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005025/18.5, allocations: 90.62 kB / 5.48 GB, free: 108.9 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001333/18.5, allocations: 115.9 kB / 5.481 GB, free: 108.8 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00368/18.5, allocations: 3.988 MB / 5.484 GB, free: 104.5 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006995/18.5, allocations: 32.06 kB / 5.485 GB, free: 104.5 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.003e-05/18.5, allocations: 16 kB / 5.485 GB, free: 104.4 MB / 0.7761 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient.port.h:VARIABLE(flow=false min = -10000000000.0 max = 10000000000.0 unit = "J/kg" nominal = 1000000.0 ) "Specific mixture enthalpy in the connection point" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient.port.Xi[1]:VARIABLE(flow=false min = 0.0 max = 1.0 unit = "kg/kg" nominal = 0.1 ) "Independent mixture mass fractions m_i/m in the connection point" type: Real [1] 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.0002907/18.5, allocations: 114.9 kB / 5.485 GB, free: 104.3 MB / 0.7761 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001352/18.51, allocations: 439.6 kB / 5.485 GB, free: 103.9 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000137/18.51, allocations: 47.56 kB / 5.485 GB, free: 103.8 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000163/18.51, allocations: 47.39 kB / 5.485 GB, free: 103.8 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.103e-06/18.51, allocations: 4 kB / 5.485 GB, free: 103.8 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/18.51, allocations: 0 / 5.485 GB, free: 103.8 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001154/18.51, allocations: 0.6239 MB / 5.486 GB, free: 103.1 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00269/18.51, allocations: 1.035 MB / 5.487 GB, free: 102 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.598e-06/18.51, allocations: 0 / 5.487 GB, free: 102 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00187/18.51, allocations: 112 kB / 5.487 GB, free: 101.9 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004135/18.51, allocations: 68.75 kB / 5.487 GB, free: 101.8 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.398e-05/18.51, allocations: 7.938 kB / 5.487 GB, free: 101.8 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002318/18.51, allocations: 1.501 MB / 5.488 GB, free: 100.2 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.325e-06/18.51, allocations: 4.031 kB / 5.488 GB, free: 100.2 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002399/18.52, allocations: 0.7903 MB / 5.489 GB, free: 99.32 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005221/18.52, allocations: 160.7 kB / 5.489 GB, free: 99.14 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001508/18.52, allocations: 7.984 kB / 5.489 GB, free: 99.13 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001107/18.52, allocations: 23.92 kB / 5.489 GB, free: 99.11 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001254/18.52, allocations: 31.95 kB / 5.489 GB, free: 99.08 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001024/18.52, allocations: 19.98 kB / 5.489 GB, free: 99.06 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0003269/18.52, allocations: 172.5 kB / 5.49 GB, free: 98.89 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7.71e-07/18.52, allocations: 0 / 5.49 GB, free: 98.89 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.002062/18.52, allocations: 199.9 kB / 5.49 GB, free: 98.7 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.005102/18.53, allocations: 2.713 MB / 5.492 GB, free: 95.91 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.002039/18.53, allocations: 0.6874 MB / 5.493 GB, free: 95.2 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.055e-05/18.53, allocations: 4 kB / 5.493 GB, free: 95.19 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.001091/18.53, allocations: 309.4 kB / 5.493 GB, free: 94.88 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00267/18.53, allocations: 184.7 kB / 5.494 GB, free: 94.7 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005249/18.54, allocations: 0.9492 MB / 5.495 GB, free: 93.7 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005509/18.54, allocations: 0.8395 MB / 5.495 GB, free: 92.83 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.001181/18.54, allocations: 83.23 kB / 5.495 GB, free: 92.75 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004889/18.54, allocations: 119.4 kB / 5.496 GB, free: 92.64 MB / 0.7761 GB Notification: Performance of SimCode: time 1.393e-06/18.54, allocations: 0 / 5.496 GB, free: 92.64 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09499/18.64, allocations: 18.82 MB / 5.514 GB, free: 73.9 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002383/18.64, allocations: 167.2 kB / 5.514 GB, free: 73.7 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 4.187/22.82, allocations: 0 / 5.514 GB, free: 73.7 MB / 0.7761 GB