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={"static"}) Notification: Performance of loadModel(Buildings): time 4.212/4.212, allocations: 403.3 MB / 415.4 MB, free: 12.95 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 4.689e-05/4.695e-05, allocations: 4 kB / 0.4991 GB, free: 13.29 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.62/0.6201, allocations: 92.69 MB / 0.5896 GB, free: 14.47 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 14.57/15.19, allocations: 4.644 GB / 5.234 GB, free: 5.746 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002962/15.19, allocations: 84.12 kB / 5.234 GB, free: 5.699 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 0.6882/15.88, allocations: 36.4 MB / 5.269 GB, free: 289.4 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.974e-06/15.88, allocations: 0 / 5.269 GB, free: 289.4 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 7.955e-06/15.88, allocations: 0 / 5.269 GB, free: 289.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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004365/15.88, allocations: 350.4 kB / 5.27 GB, free: 289.1 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 6.542e-05/15.88, allocations: 8.031 kB / 5.27 GB, free: 289.1 MB / 0.7761 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.434e-05/15.88, allocations: 34.22 kB / 5.27 GB, free: 289 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003422/15.88, allocations: 8 kB / 5.27 GB, free: 289 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001148/15.88, allocations: 167.1 kB / 5.27 GB, free: 288.8 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.831e-05/15.88, allocations: 7.844 kB / 5.27 GB, free: 288.8 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.961e-05/15.88, allocations: 11.86 kB / 5.27 GB, free: 288.8 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002122/15.88, allocations: 53.44 kB / 5.27 GB, free: 288.7 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/15.88, allocations: 0 / 5.27 GB, free: 288.7 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.769e-05/15.88, allocations: 0 / 5.27 GB, free: 288.7 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/15.88, allocations: 0 / 5.27 GB, free: 288.7 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.019e-05/15.88, allocations: 19.84 kB / 5.27 GB, free: 288.7 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002172/15.88, allocations: 157.5 kB / 5.27 GB, free: 288.5 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001405/15.88, allocations: 54.45 kB / 5.27 GB, free: 288.5 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.49e-05/15.88, allocations: 16.98 kB / 5.27 GB, free: 288.4 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.174e-05/15.88, allocations: 11.94 kB / 5.27 GB, free: 288.4 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.471e-05/15.88, allocations: 30.56 kB / 5.27 GB, free: 288.4 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=7): time 2.134e-06/15.88, allocations: 0 / 5.27 GB, free: 288.4 MB / 0.7761 GB Notification: Performance of matching and sorting (n=11): time 0.001081/15.88, allocations: 360.9 kB / 5.27 GB, free: 288 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.295e-05/15.88, allocations: 55.41 kB / 5.271 GB, free: 287.9 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.167e-05/15.88, allocations: 89 kB / 5.271 GB, free: 287.9 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.3e-05/15.88, allocations: 29.7 kB / 5.271 GB, free: 287.8 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 2.307e-05/15.88, allocations: 80.14 kB / 5.271 GB, free: 287.7 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 5.812e-05/15.88, allocations: 39.31 kB / 5.271 GB, free: 287.7 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.067e-05/15.88, allocations: 4 kB / 5.271 GB, free: 287.7 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 7.565e-05/15.88, allocations: 318.4 kB / 5.271 GB, free: 287.4 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.894e-05/15.88, allocations: 24.12 kB / 5.271 GB, free: 287.4 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.42e-05/15.88, allocations: 29.66 kB / 5.271 GB, free: 287.3 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.632e-05/15.88, allocations: 36.05 kB / 5.271 GB, free: 287.3 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/15.88, allocations: 3.938 kB / 5.271 GB, free: 287.3 MB / 0.7761 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002519/15.88, allocations: 85.5 kB / 5.271 GB, free: 287.2 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.247e-05/15.88, allocations: 4 kB / 5.271 GB, free: 287.2 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/15.88, allocations: 0 / 5.271 GB, free: 287.2 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.352e-05/15.88, allocations: 4 kB / 5.271 GB, free: 287.2 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002458/15.88, allocations: 23.64 kB / 5.271 GB, free: 287.2 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.027e-05/15.88, allocations: 4 kB / 5.271 GB, free: 287.2 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.426e-05/15.88, allocations: 8 kB / 5.271 GB, free: 287.2 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.359e-05/15.88, allocations: 4 kB / 5.271 GB, free: 287.2 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 8.874e-05/15.88, allocations: 105 kB / 5.271 GB, free: 287.1 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.372e-05/15.88, allocations: 11.86 kB / 5.271 GB, free: 287 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.408e-05/15.88, allocations: 16.03 kB / 5.271 GB, free: 287 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.151e-06/15.88, allocations: 4 kB / 5.271 GB, free: 287 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/15.88, allocations: 0 / 5.271 GB, free: 287 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/15.88, allocations: 4 kB / 5.271 GB, free: 287 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001751/15.88, allocations: 173.1 kB / 5.272 GB, free: 286.8 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/15.88, allocations: 3.938 kB / 5.272 GB, free: 286.8 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003706/15.88, allocations: 20 kB / 5.272 GB, free: 286.8 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.977e-06/15.88, allocations: 7.891 kB / 5.272 GB, free: 286.8 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.791e-05/15.88, allocations: 0 / 5.272 GB, free: 286.8 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.929e-06/15.88, allocations: 3.609 kB / 5.272 GB, free: 286.8 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.544e-06/15.88, allocations: 0 / 5.272 GB, free: 286.8 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003683/15.88, allocations: 124.9 kB / 5.272 GB, free: 286.7 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 9.144e-05/15.88, allocations: 88.95 kB / 5.272 GB, free: 286.6 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.031e-05/15.88, allocations: 7.953 kB / 5.272 GB, free: 286.5 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001884/15.88, allocations: 3.891 kB / 5.272 GB, free: 286.5 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.232e-05/15.88, allocations: 11.94 kB / 5.272 GB, free: 286.5 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.968e-05/15.88, allocations: 4 kB / 5.272 GB, free: 286.5 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.252e-05/15.88, allocations: 75.28 kB / 5.272 GB, free: 286.5 MB / 0.7761 GB Notification: Performance of sort global known variables: time 3.286e-06/15.88, allocations: 0 / 5.272 GB, free: 286.5 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0006723/15.88, allocations: 55.31 kB / 5.272 GB, free: 286.4 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.001653/15.88, allocations: 1.151 MB / 5.273 GB, free: 285.4 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002469/15.88, allocations: 51.88 kB / 5.273 GB, free: 285.3 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 5.971e-06/15.88, allocations: 0 / 5.273 GB, free: 285.3 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001064/15.89, allocations: 31.94 kB / 5.273 GB, free: 285.3 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002542/15.89, allocations: 15.83 kB / 5.273 GB, free: 285.3 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001089/15.89, allocations: 322.5 kB / 5.273 GB, free: 285 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001869/15.89, allocations: 0.6884 MB / 5.274 GB, free: 284.2 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0001564/15.89, allocations: 12.66 kB / 5.274 GB, free: 284.2 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.474e-05/15.89, allocations: 19.38 kB / 5.274 GB, free: 284.2 MB / 0.7761 GB Notification: Performance of SimCode: time 2.094e-06/15.89, allocations: 0 / 5.274 GB, free: 284.2 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04709/15.93, allocations: 12.63 MB / 5.287 GB, free: 273.7 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002045/15.93, allocations: 181.7 kB / 5.287 GB, free: 273.4 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.934/18.87, allocations: 0 / 5.287 GB, free: 273.4 MB / 0.7761 GB