Running command: "" <> buildModelFMU(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,fileNamePrefix="Buildings_7_0_0_Buildings_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.464/4.464, allocations: 460.4 MB / 472.6 MB, free: 5.383 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.851e-05/4.86e-05, allocations: 4 kB / 0.5682 GB, free: 10.07 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2405/0.2406, allocations: 106.2 MB / 0.6719 GB, free: 15.66 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 14.85/15.09, allocations: 4.605 GB / 5.277 GB, free: 76.72 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003048/15.09, allocations: 79.52 kB / 5.277 GB, free: 76.68 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1325/15.22, allocations: 36.47 MB / 5.313 GB, free: 43.84 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.795e-06/15.22, allocations: 0 / 5.313 GB, free: 43.84 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 9.107e-06/15.22, allocations: 4 kB / 5.313 GB, free: 43.84 MB / 0.8698 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.000488/15.22, allocations: 346.4 kB / 5.313 GB, free: 43.45 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.673e-05/15.22, allocations: 8.031 kB / 5.313 GB, free: 43.45 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.456e-05/15.22, allocations: 34.56 kB / 5.313 GB, free: 43.4 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003856/15.22, allocations: 11.98 kB / 5.313 GB, free: 43.39 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001133/15.22, allocations: 163.1 kB / 5.313 GB, free: 43.19 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.329e-05/15.22, allocations: 0 / 5.313 GB, free: 43.19 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.284e-05/15.22, allocations: 7.953 kB / 5.313 GB, free: 43.18 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001911/15.22, allocations: 57.62 kB / 5.313 GB, free: 43.12 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.608e-05/15.22, allocations: 7.969 kB / 5.313 GB, free: 43.11 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.075e-05/15.22, allocations: 0 / 5.313 GB, free: 43.11 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.011e-05/15.22, allocations: 4 kB / 5.313 GB, free: 43.11 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.86e-05/15.22, allocations: 12 kB / 5.313 GB, free: 43.1 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002422/15.22, allocations: 169.5 kB / 5.313 GB, free: 42.88 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000186/15.22, allocations: 42.66 kB / 5.313 GB, free: 42.83 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.828e-05/15.22, allocations: 17.02 kB / 5.313 GB, free: 42.81 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.857e-05/15.22, allocations: 11.98 kB / 5.313 GB, free: 42.8 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.027e-05/15.22, allocations: 42.39 kB / 5.313 GB, free: 42.75 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=7): time 3.126e-06/15.22, allocations: 3.938 kB / 5.313 GB, free: 42.75 MB / 0.8698 GB Notification: Performance of matching and sorting (n=11): time 0.001308/15.22, allocations: 350.2 kB / 5.314 GB, free: 42.35 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.697e-05/15.22, allocations: 51.41 kB / 5.314 GB, free: 42.29 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.242e-05/15.22, allocations: 89 kB / 5.314 GB, free: 42.2 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.618e-05/15.22, allocations: 33.7 kB / 5.314 GB, free: 42.16 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 2.597e-05/15.22, allocations: 80.14 kB / 5.314 GB, free: 42.07 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 6.338e-05/15.22, allocations: 43.3 kB / 5.314 GB, free: 42.03 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.138e-05/15.22, allocations: 4 kB / 5.314 GB, free: 42.03 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.976e-05/15.22, allocations: 318.8 kB / 5.314 GB, free: 41.71 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.686e-05/15.22, allocations: 16 kB / 5.314 GB, free: 41.69 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001104/15.22, allocations: 37.83 kB / 5.314 GB, free: 41.65 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001003/15.22, allocations: 19.98 kB / 5.314 GB, free: 41.63 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.969e-06/15.22, allocations: 4 kB / 5.314 GB, free: 41.62 MB / 0.8698 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002931/15.23, allocations: 93.97 kB / 5.315 GB, free: 41.53 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.519e-05/15.23, allocations: 4 kB / 5.315 GB, free: 41.52 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.889e-06/15.23, allocations: 0 / 5.315 GB, free: 41.52 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.11e-05/15.23, allocations: 0 / 5.315 GB, free: 41.52 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003008/15.23, allocations: 27.98 kB / 5.315 GB, free: 41.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.41e-05/15.23, allocations: 80 / 5.315 GB, free: 41.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.249e-05/15.23, allocations: 3.938 kB / 5.315 GB, free: 41.49 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.798e-05/15.23, allocations: 15.98 kB / 5.315 GB, free: 41.48 MB / 0.8698 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 0.0001043/15.23, allocations: 112.9 kB / 5.315 GB, free: 41.36 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.592e-05/15.23, allocations: 11.86 kB / 5.315 GB, free: 41.35 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.67e-05/15.23, allocations: 8.094 kB / 5.315 GB, free: 41.34 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.075e-06/15.23, allocations: 3.984 kB / 5.315 GB, free: 41.34 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.265e-06/15.23, allocations: 0 / 5.315 GB, free: 41.34 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/15.23, allocations: 0 / 5.315 GB, free: 41.34 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002046/15.23, allocations: 169.7 kB / 5.315 GB, free: 41.12 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.631e-06/15.23, allocations: 3.984 kB / 5.315 GB, free: 41.12 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00037/15.23, allocations: 24 kB / 5.315 GB, free: 41.09 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.885e-06/15.23, allocations: 4 kB / 5.315 GB, free: 41.09 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.031e-05/15.23, allocations: 3.953 kB / 5.315 GB, free: 41.09 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.358e-06/15.23, allocations: 0 / 5.315 GB, free: 41.09 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.145e-06/15.23, allocations: 0 / 5.315 GB, free: 41.09 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003605/15.23, allocations: 133 kB / 5.315 GB, free: 40.94 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 9.076e-05/15.23, allocations: 89.05 kB / 5.315 GB, free: 40.83 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.122e-05/15.23, allocations: 4 kB / 5.315 GB, free: 40.83 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002093/15.23, allocations: 11.95 kB / 5.315 GB, free: 40.82 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.11e-05/15.23, allocations: 7.984 kB / 5.315 GB, free: 40.81 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.838e-05/15.23, allocations: 0 / 5.315 GB, free: 40.81 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 3.769e-05/15.23, allocations: 83.28 kB / 5.315 GB, free: 40.73 MB / 0.8698 GB Notification: Performance of sort global known variables: time 7.91e-07/15.23, allocations: 3.938 kB / 5.315 GB, free: 40.72 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0006374/15.23, allocations: 47.98 kB / 5.315 GB, free: 40.68 MB / 0.8698 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.001681/15.23, allocations: 1.147 MB / 5.316 GB, free: 39.51 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0002752/15.23, allocations: 48 kB / 5.316 GB, free: 39.46 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 6.532e-06/15.23, allocations: 4 kB / 5.316 GB, free: 39.46 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 7.824e-05/15.23, allocations: 23.94 kB / 5.316 GB, free: 39.43 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002619/15.23, allocations: 19.94 kB / 5.316 GB, free: 39.41 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001151/15.23, allocations: 331.1 kB / 5.317 GB, free: 39.05 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001702/15.23, allocations: 0.6848 MB / 5.317 GB, free: 38.34 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0001714/15.23, allocations: 20.53 kB / 5.317 GB, free: 38.32 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.705e-05/15.23, allocations: 15.44 kB / 5.317 GB, free: 38.3 MB / 0.8698 GB Notification: Performance of SimCode: time 1.392e-06/15.23, allocations: 0 / 5.317 GB, free: 38.3 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1052/15.34, allocations: 12.66 MB / 5.33 GB, free: 25.69 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002403/15.34, allocations: 173.9 kB / 5.33 GB, free: 25.46 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.052/18.39, allocations: 0 / 5.33 GB, free: 25.46 MB / 0.8698 GB