Running command: "" <> buildModelFMU(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,fileNamePrefix="Buildings_5_0_1_Buildings_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck",fmuType="me",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Buildings): time 4.615/4.615, allocations: 404.1 MB / 411.3 MB, free: 340 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.139e-05/3.149e-05, allocations: 4 kB / 0.4945 GB, free: 1.293 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6928/0.6929, allocations: 92.69 MB / 0.585 GB, free: 2.27 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 15.96/16.66, allocations: 4.643 GB / 5.228 GB, free: 47 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003194/16.66, allocations: 79.14 kB / 5.228 GB, free: 46.96 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 0.1396/16.8, allocations: 35.75 MB / 5.263 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.824e-06/16.8, allocations: 0 / 5.263 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 6.983e-06/16.8, allocations: 0 / 5.263 GB, free: 14.23 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003797/16.8, allocations: 350.4 kB / 5.264 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.283e-05/16.8, allocations: 12.03 kB / 5.264 GB, free: 13.83 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000269/16.8, allocations: 8 kB / 5.264 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.643e-05/16.8, allocations: 167.1 kB / 5.264 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.688e-05/16.8, allocations: 3.953 kB / 5.264 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.152e-05/16.8, allocations: 7.906 kB / 5.264 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.714e-05/16.8, allocations: 15.94 kB / 5.264 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001086/16.8, allocations: 41.69 kB / 5.264 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/16.8, allocations: 3.938 kB / 5.264 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.556e-05/16.8, allocations: 4 kB / 5.264 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/16.8, allocations: 3.984 kB / 5.264 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001732/16.8, allocations: 146.1 kB / 5.264 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 9.522e-05/16.8, allocations: 42.56 kB / 5.264 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.618e-05/16.8, allocations: 17.09 kB / 5.264 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.287e-05/16.8, allocations: 0 / 5.264 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.253e-05/16.8, allocations: 42.5 kB / 5.264 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=7): time 1.813e-06/16.8, allocations: 0 / 5.264 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of matching and sorting (n=11): time 0.0009047/16.8, allocations: 330.2 kB / 5.265 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.338e-05/16.8, allocations: 51.41 kB / 5.265 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.34e-05/16.8, allocations: 89 kB / 5.265 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.729e-05/16.8, allocations: 25.7 kB / 5.265 GB, free: 12.67 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 2.203e-05/16.8, allocations: 80.58 kB / 5.265 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 5.38e-05/16.8, allocations: 43.3 kB / 5.265 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.287e-06/16.8, allocations: 0 / 5.265 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 6.825e-05/16.8, allocations: 327 kB / 5.265 GB, free: 12.22 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.882e-05/16.8, allocations: 15.94 kB / 5.265 GB, free: 12.2 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.872e-05/16.8, allocations: 29.78 kB / 5.265 GB, free: 12.17 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.628e-05/16.8, allocations: 24.28 kB / 5.265 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/16.8, allocations: 0 / 5.265 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001931/16.8, allocations: 85.62 kB / 5.265 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/16.8, allocations: 4 kB / 5.265 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/16.8, allocations: 0 / 5.265 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.775e-05/16.8, allocations: 7.938 kB / 5.265 GB, free: 12.04 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002299/16.8, allocations: 23.98 kB / 5.265 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.144e-06/16.8, allocations: 0 / 5.265 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.229e-05/16.8, allocations: 4 kB / 5.265 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.168e-05/16.8, allocations: 4 kB / 5.265 GB, free: 12.01 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (14): * Single equations (assignments): 14 * 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 7.232e-05/16.8, allocations: 108.9 kB / 5.265 GB, free: 11.9 MB / 0.7761 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001581/16.8, allocations: 77.48 kB / 5.265 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.866e-05/16.8, allocations: 0 / 5.265 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.874e-05/16.8, allocations: 16.39 kB / 5.265 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/16.8, allocations: 4 kB / 5.265 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.782e-06/16.8, allocations: 0 / 5.265 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/16.8, allocations: 3.938 kB / 5.265 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001326/16.8, allocations: 146.2 kB / 5.266 GB, free: 11.62 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/16.8, allocations: 0 / 5.266 GB, free: 11.62 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002878/16.8, allocations: 23.98 kB / 5.266 GB, free: 11.59 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.991e-06/16.8, allocations: 3.953 kB / 5.266 GB, free: 11.59 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.405e-05/16.8, allocations: 0 / 5.266 GB, free: 11.59 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/16.8, allocations: 0 / 5.266 GB, free: 11.59 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/16.8, allocations: 0 / 5.266 GB, free: 11.59 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002606/16.8, allocations: 125 kB / 5.266 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 7.613e-05/16.8, allocations: 93.05 kB / 5.266 GB, free: 11.34 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.441e-05/16.8, allocations: 7.891 kB / 5.266 GB, free: 11.33 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001635/16.8, allocations: 4 kB / 5.266 GB, free: 11.33 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.289e-05/16.8, allocations: 7.922 kB / 5.266 GB, free: 11.32 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.539e-05/16.8, allocations: 4 kB / 5.266 GB, free: 11.32 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 2.411e-05/16.8, allocations: 75.28 kB / 5.266 GB, free: 11.24 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5.81e-07/16.8, allocations: 4.094 kB / 5.266 GB, free: 11.24 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0004612/16.8, allocations: 43.98 kB / 5.266 GB, free: 11.2 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,hSteSym,hAirSym) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.001371/16.8, allocations: 1.211 MB / 5.267 GB, free: 9.957 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.000189/16.8, allocations: 47.94 kB / 5.267 GB, free: 9.91 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/16.8, allocations: 0 / 5.267 GB, free: 9.91 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 5.887e-05/16.8, allocations: 23.94 kB / 5.267 GB, free: 9.887 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002559/16.8, allocations: 8.422 kB / 5.267 GB, free: 9.879 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00102/16.8, allocations: 321.8 kB / 5.268 GB, free: 9.523 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001437/16.8, allocations: 0.6924 MB / 5.268 GB, free: 8.805 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0001399/16.8, allocations: 12.66 kB / 5.268 GB, free: 8.793 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.804e-05/16.8, allocations: 19.44 kB / 5.268 GB, free: 8.773 MB / 0.7761 GB Notification: Performance of SimCode: time 1.103e-06/16.8, allocations: 4 kB / 5.268 GB, free: 8.77 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05749/16.86, allocations: 5.728 MB / 5.274 GB, free: 3.051 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002968/16.86, allocations: 155.6 kB / 5.274 GB, free: 2.863 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.021/19.88, allocations: 0 / 5.274 GB, free: 2.863 MB / 0.7761 GB