Running command: "" <> buildModelFMU(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,fileNamePrefix="Buildings_latest_Buildings_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.691/4.691, allocations: 464.6 MB / 476.8 MB, free: 2.188 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.892e-05/3.875e-05, allocations: 11.98 kB / 0.5732 GB, free: 5.633 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2335/0.2335, allocations: 107.2 MB / 0.6778 GB, free: 10.29 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 14.92/15.16, allocations: 4.605 GB / 5.283 GB, free: 217.1 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003029/15.16, allocations: 83.11 kB / 5.283 GB, free: 217 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.1162/15.27, allocations: 36.46 MB / 5.319 GB, free: 186.7 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.533e-06/15.27, allocations: 0 / 5.319 GB, free: 186.7 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 6.883e-06/15.27, allocations: 0 / 5.319 GB, free: 186.7 MB / 0.8855 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.0003418/15.27, allocations: 341.6 kB / 5.319 GB, free: 186.3 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.003e-05/15.28, allocations: 16.02 kB / 5.319 GB, free: 186.3 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.571e-05/15.28, allocations: 30.56 kB / 5.319 GB, free: 186.2 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002269/15.28, allocations: 15.69 kB / 5.319 GB, free: 186.2 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.611e-05/15.28, allocations: 163.1 kB / 5.319 GB, free: 186 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.372e-05/15.28, allocations: 4 kB / 5.319 GB, free: 186 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.912e-05/15.28, allocations: 3.625 kB / 5.319 GB, free: 186 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00014/15.28, allocations: 53.42 kB / 5.319 GB, free: 186 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/15.28, allocations: 0 / 5.319 GB, free: 186 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.668e-05/15.28, allocations: 7.953 kB / 5.319 GB, free: 186 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/15.28, allocations: 0 / 5.319 GB, free: 186 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.014e-05/15.28, allocations: 15.92 kB / 5.319 GB, free: 185.9 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001722/15.28, allocations: 172 kB / 5.32 GB, free: 185.7 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001012/15.28, allocations: 50.25 kB / 5.32 GB, free: 185.7 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.784e-05/15.28, allocations: 16.84 kB / 5.32 GB, free: 185.7 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 1.527e-05/15.28, allocations: 0 / 5.32 GB, free: 185.7 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.297e-05/15.28, allocations: 41.75 kB / 5.32 GB, free: 185.6 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=7): time 1.733e-06/15.28, allocations: 3.938 kB / 5.32 GB, free: 185.6 MB / 0.8855 GB Notification: Performance of matching and sorting (n=11): time 0.0008335/15.28, allocations: 352.2 kB / 5.32 GB, free: 185.2 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.707e-05/15.28, allocations: 55.39 kB / 5.32 GB, free: 185.2 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.339e-05/15.28, allocations: 92.94 kB / 5.32 GB, free: 185.1 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.54e-05/15.28, allocations: 25.7 kB / 5.32 GB, free: 185.1 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 1.798e-05/15.28, allocations: 80.14 kB / 5.32 GB, free: 185 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 4.114e-05/15.28, allocations: 47.05 kB / 5.32 GB, free: 184.9 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.881e-06/15.28, allocations: 4.125 kB / 5.32 GB, free: 184.9 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 5.749e-05/15.28, allocations: 318.5 kB / 5.321 GB, free: 184.6 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.775e-05/15.28, allocations: 15.38 kB / 5.321 GB, free: 184.6 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.305e-05/15.28, allocations: 36.89 kB / 5.321 GB, free: 184.6 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.111e-05/15.28, allocations: 19.19 kB / 5.321 GB, free: 184.6 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/15.28, allocations: 0 / 5.321 GB, free: 184.6 MB / 0.8855 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001728/15.28, allocations: 92.97 kB / 5.321 GB, free: 184.5 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/15.28, allocations: 4 kB / 5.321 GB, free: 184.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.024e-06/15.28, allocations: 4 kB / 5.321 GB, free: 184.5 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/15.28, allocations: 7.953 kB / 5.321 GB, free: 184.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002244/15.28, allocations: 16 kB / 5.321 GB, free: 184.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.395e-06/15.28, allocations: 3.938 kB / 5.321 GB, free: 184.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.637e-05/15.28, allocations: 11.23 kB / 5.321 GB, free: 184.4 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.031e-05/15.28, allocations: 480 / 5.321 GB, free: 184.4 MB / 0.8855 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 6.44e-05/15.28, allocations: 112.6 kB / 5.321 GB, free: 184.3 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.014e-05/15.28, allocations: 7.906 kB / 5.321 GB, free: 184.3 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.252e-05/15.28, allocations: 11.47 kB / 5.321 GB, free: 184.3 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/15.28, allocations: 4 kB / 5.321 GB, free: 184.3 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/15.28, allocations: 3.953 kB / 5.321 GB, free: 184.3 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/15.28, allocations: 8 kB / 5.321 GB, free: 184.3 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001276/15.28, allocations: 168.9 kB / 5.321 GB, free: 184.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/15.28, allocations: 0 / 5.321 GB, free: 184.1 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002393/15.28, allocations: 27.48 kB / 5.321 GB, free: 184.1 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.528e-06/15.28, allocations: 0 / 5.321 GB, free: 184.1 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.311e-05/15.28, allocations: 0 / 5.321 GB, free: 184.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/15.28, allocations: 0 / 5.321 GB, free: 184.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/15.28, allocations: 3.984 kB / 5.321 GB, free: 184.1 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002525/15.28, allocations: 139.7 kB / 5.321 GB, free: 183.9 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 6.922e-05/15.28, allocations: 84.45 kB / 5.321 GB, free: 183.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.074e-05/15.28, allocations: 4 kB / 5.321 GB, free: 183.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001426/15.28, allocations: 7.781 kB / 5.321 GB, free: 183.8 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.659e-05/15.28, allocations: 4 kB / 5.321 GB, free: 183.8 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.256e-05/15.28, allocations: 4 kB / 5.321 GB, free: 183.8 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 2.646e-05/15.28, allocations: 79.23 kB / 5.321 GB, free: 183.7 MB / 0.8855 GB Notification: Performance of sort global known variables: time 4.11e-07/15.28, allocations: 4.094 kB / 5.321 GB, free: 183.7 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0004239/15.28, allocations: 61.42 kB / 5.322 GB, free: 183.7 MB / 0.8855 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.001135/15.28, allocations: 1.137 MB / 5.323 GB, free: 182.6 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0001895/15.28, allocations: 50.98 kB / 5.323 GB, free: 182.5 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/15.28, allocations: 0 / 5.323 GB, free: 182.5 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 5.531e-05/15.28, allocations: 27.75 kB / 5.323 GB, free: 182.5 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001883/15.28, allocations: 3.906 kB / 5.323 GB, free: 182.5 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008038/15.28, allocations: 341.5 kB / 5.323 GB, free: 182.1 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001335/15.28, allocations: 0.6965 MB / 5.324 GB, free: 181.4 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0001121/15.28, allocations: 8.672 kB / 5.324 GB, free: 181.4 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.971e-05/15.28, allocations: 26.42 kB / 5.324 GB, free: 181.4 MB / 0.8855 GB Notification: Performance of SimCode: time 1.112e-06/15.28, allocations: 0 / 5.324 GB, free: 181.4 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0438/15.33, allocations: 12.65 MB / 5.336 GB, free: 168.8 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002359/15.33, allocations: 167.1 kB / 5.336 GB, free: 168.6 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.083/18.41, allocations: 4.062 kB / 5.336 GB, free: 168.6 MB / 0.8855 GB