Running command: "" <> buildModelFMU(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,fileNamePrefix="Buildings_6_0_0_Buildings_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.077/4.077, allocations: 432.8 MB / 444.9 MB, free: 15.68 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.36e-05/3.361e-05, allocations: 3.469 kB / 0.5338 GB, free: 12.23 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2035/0.2036, allocations: 98.72 MB / 0.6302 GB, free: 6.113 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 14.34/14.55, allocations: 4.66 GB / 5.291 GB, free: 129 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003998/14.55, allocations: 81.33 kB / 5.291 GB, free: 129 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.193/14.74, allocations: 36.4 MB / 5.326 GB, free: 98.67 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.385e-06/14.74, allocations: 0 / 5.326 GB, free: 98.67 MB / 0.823 GB Notification: Performance of Transformations before backend: time 7.624e-06/14.74, allocations: 4 kB / 5.326 GB, free: 98.66 MB / 0.823 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.0004078/14.74, allocations: 342 kB / 5.327 GB, free: 98.29 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.471e-05/14.74, allocations: 12.03 kB / 5.327 GB, free: 98.28 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.45e-05/14.74, allocations: 34.38 kB / 5.327 GB, free: 98.24 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003479/14.74, allocations: 11.98 kB / 5.327 GB, free: 98.23 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.476e-05/14.74, allocations: 163 kB / 5.327 GB, free: 98.03 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.775e-05/14.74, allocations: 4 kB / 5.327 GB, free: 98.02 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.158e-05/14.74, allocations: 7.875 kB / 5.327 GB, free: 98.02 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001688/14.74, allocations: 57.55 kB / 5.327 GB, free: 97.96 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/14.74, allocations: 0 / 5.327 GB, free: 97.96 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.897e-05/14.74, allocations: 3.5 kB / 5.327 GB, free: 97.96 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/14.74, allocations: 0 / 5.327 GB, free: 97.96 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.316e-05/14.74, allocations: 16 kB / 5.327 GB, free: 97.95 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002093/14.74, allocations: 172 kB / 5.327 GB, free: 97.73 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000148/14.74, allocations: 46.27 kB / 5.327 GB, free: 97.69 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.324e-05/14.74, allocations: 16.61 kB / 5.327 GB, free: 97.67 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.911e-05/14.74, allocations: 7.922 kB / 5.327 GB, free: 97.66 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.823e-05/14.74, allocations: 34.52 kB / 5.327 GB, free: 97.62 MB / 0.823 GB Notification: Performance of pre-optimization done (n=7): time 2.595e-06/14.74, allocations: 8 kB / 5.327 GB, free: 97.61 MB / 0.823 GB Notification: Performance of matching and sorting (n=11): time 0.001091/14.74, allocations: 348.1 kB / 5.327 GB, free: 97.25 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.104e-05/14.74, allocations: 55.41 kB / 5.327 GB, free: 97.18 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.098e-05/14.74, allocations: 92.05 kB / 5.328 GB, free: 97.09 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.39e-05/14.74, allocations: 25.7 kB / 5.328 GB, free: 97.06 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 2.551e-05/14.74, allocations: 88.2 kB / 5.328 GB, free: 96.97 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 5.452e-05/14.74, allocations: 39.06 kB / 5.328 GB, free: 96.94 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.417e-06/14.74, allocations: 3.875 kB / 5.328 GB, free: 96.94 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 7.05e-05/14.74, allocations: 314.8 kB / 5.328 GB, free: 96.62 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.78e-05/14.74, allocations: 15.88 kB / 5.328 GB, free: 96.61 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.013e-05/14.74, allocations: 36.97 kB / 5.328 GB, free: 96.57 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.25e-05/14.74, allocations: 23.3 kB / 5.328 GB, free: 96.56 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/14.74, allocations: 0 / 5.328 GB, free: 96.56 MB / 0.823 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002576/14.74, allocations: 95.8 kB / 5.328 GB, free: 96.47 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.032e-05/14.74, allocations: 8 kB / 5.328 GB, free: 96.46 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/14.74, allocations: 4 kB / 5.328 GB, free: 96.46 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.845e-05/14.74, allocations: 0 / 5.328 GB, free: 96.46 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002496/14.75, allocations: 23.92 kB / 5.328 GB, free: 96.44 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.003e-05/14.75, allocations: 4 kB / 5.328 GB, free: 96.43 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.875e-05/14.75, allocations: 4 kB / 5.328 GB, free: 96.43 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.782e-05/14.75, allocations: 7.75 kB / 5.328 GB, free: 96.43 MB / 0.823 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.803e-05/14.75, allocations: 112.1 kB / 5.328 GB, free: 96.32 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.994e-05/14.75, allocations: 11.86 kB / 5.328 GB, free: 96.3 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.238e-05/14.75, allocations: 15.89 kB / 5.328 GB, free: 96.29 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.242e-06/14.75, allocations: 4 kB / 5.328 GB, free: 96.29 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/14.75, allocations: 0 / 5.328 GB, free: 96.29 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.6e-06/14.75, allocations: 0 / 5.328 GB, free: 96.29 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001689/14.75, allocations: 168.7 kB / 5.329 GB, free: 96.08 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.097e-06/14.75, allocations: 0 / 5.329 GB, free: 96.08 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000321/14.75, allocations: 27.88 kB / 5.329 GB, free: 96.05 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.16e-06/14.75, allocations: 0 / 5.329 GB, free: 96.05 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.819e-05/14.75, allocations: 3.953 kB / 5.329 GB, free: 96.05 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.52e-06/14.75, allocations: 7.984 kB / 5.329 GB, free: 96.04 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/14.75, allocations: 4 kB / 5.329 GB, free: 96.04 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003232/14.75, allocations: 127.7 kB / 5.329 GB, free: 95.92 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 7.989e-05/14.75, allocations: 89.05 kB / 5.329 GB, free: 95.81 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.616e-05/14.75, allocations: 0 / 5.329 GB, free: 95.81 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001838/14.75, allocations: 7.453 kB / 5.329 GB, free: 95.81 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.805e-05/14.75, allocations: 7.984 kB / 5.329 GB, free: 95.8 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.717e-05/14.75, allocations: 4 kB / 5.329 GB, free: 95.8 MB / 0.823 GB Notification: Performance of sorting global known variables: time 2.978e-05/14.75, allocations: 83.22 kB / 5.329 GB, free: 95.71 MB / 0.823 GB Notification: Performance of sort global known variables: time 7.51e-07/14.75, allocations: 3.938 kB / 5.329 GB, free: 95.71 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0006666/14.75, allocations: 56.17 kB / 5.329 GB, free: 95.68 MB / 0.823 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.001521/14.75, allocations: 1.131 MB / 5.33 GB, free: 94.56 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0002185/14.75, allocations: 54.62 kB / 5.33 GB, free: 94.52 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/14.75, allocations: 0 / 5.33 GB, free: 94.52 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 8.507e-05/14.75, allocations: 34.92 kB / 5.33 GB, free: 94.49 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002361/14.75, allocations: 10.02 kB / 5.33 GB, free: 94.48 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001067/14.75, allocations: 322 kB / 5.33 GB, free: 94.14 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001508/14.75, allocations: 0.6926 MB / 5.331 GB, free: 93.42 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0001627/14.75, allocations: 8.672 kB / 5.331 GB, free: 93.41 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.875e-05/14.75, allocations: 18.94 kB / 5.331 GB, free: 93.39 MB / 0.823 GB Notification: Performance of SimCode: time 9.72e-07/14.75, allocations: 0 / 5.331 GB, free: 93.39 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03988/14.79, allocations: 12.67 MB / 5.343 GB, free: 80.79 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002642/14.79, allocations: 170 kB / 5.344 GB, free: 80.56 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.065/17.86, allocations: 2.656 kB / 5.344 GB, free: 80.56 MB / 0.823 GB