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 3.904/3.904, allocations: 403.3 MB / 415.4 MB, free: 12.99 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.399e-05/3.406e-05, allocations: 0 / 0.4991 GB, free: 13.36 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6289/0.629, allocations: 92.68 MB / 0.5896 GB, free: 14.48 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 15.03/15.66, allocations: 4.644 GB / 5.234 GB, free: 222.5 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003093/15.66, allocations: 79.39 kB / 5.234 GB, free: 222.5 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 0.1189/15.77, allocations: 36.4 MB / 5.269 GB, free: 218 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.613e-06/15.78, allocations: 0 / 5.269 GB, free: 218 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 6.523e-06/15.78, allocations: 0 / 5.269 GB, free: 218 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.0003679/15.78, allocations: 348.1 kB / 5.27 GB, free: 217.7 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.908e-05/15.78, allocations: 7.812 kB / 5.27 GB, free: 217.7 MB / 0.7761 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.865e-05/15.78, allocations: 37.95 kB / 5.27 GB, free: 217.6 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002199/15.78, allocations: 11.66 kB / 5.27 GB, free: 217.6 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.93e-05/15.78, allocations: 166.1 kB / 5.27 GB, free: 217.4 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.574e-05/15.78, allocations: 3.953 kB / 5.27 GB, free: 217.4 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.498e-05/15.78, allocations: 7.812 kB / 5.27 GB, free: 217.4 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001348/15.78, allocations: 51.98 kB / 5.27 GB, free: 217.4 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/15.78, allocations: 0 / 5.27 GB, free: 217.4 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.481e-05/15.78, allocations: 7.969 kB / 5.27 GB, free: 217.4 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.912e-06/15.78, allocations: 0 / 5.27 GB, free: 217.4 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.013e-05/15.78, allocations: 17.22 kB / 5.27 GB, free: 217.4 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001645/15.78, allocations: 168.5 kB / 5.27 GB, free: 217.2 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001003/15.78, allocations: 48.88 kB / 5.27 GB, free: 217.2 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.838e-05/15.78, allocations: 20.31 kB / 5.27 GB, free: 217.2 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.048e-05/15.78, allocations: 0 / 5.27 GB, free: 217.2 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.407e-05/15.78, allocations: 38.25 kB / 5.27 GB, free: 217.1 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=7): time 1.433e-06/15.78, allocations: 0 / 5.27 GB, free: 217.1 MB / 0.7761 GB Notification: Performance of matching and sorting (n=11): time 0.0008014/15.78, allocations: 348.9 kB / 5.27 GB, free: 216.9 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.066e-05/15.78, allocations: 51.41 kB / 5.271 GB, free: 216.8 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.386e-05/15.78, allocations: 88.23 kB / 5.271 GB, free: 216.7 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.71e-05/15.78, allocations: 33.48 kB / 5.271 GB, free: 216.7 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 2.026e-05/15.78, allocations: 88.12 kB / 5.271 GB, free: 216.6 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 4.159e-05/15.78, allocations: 42.39 kB / 5.271 GB, free: 216.6 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.023e-06/15.78, allocations: 3.688 kB / 5.271 GB, free: 216.6 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 6.059e-05/15.78, allocations: 314.8 kB / 5.271 GB, free: 216.2 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.683e-05/15.78, allocations: 18.72 kB / 5.271 GB, free: 216.2 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.001e-05/15.78, allocations: 31.27 kB / 5.271 GB, free: 216.2 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.185e-05/15.78, allocations: 26.61 kB / 5.271 GB, free: 216.2 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/15.78, allocations: 4 kB / 5.271 GB, free: 216.2 MB / 0.7761 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001658/15.78, allocations: 89.64 kB / 5.271 GB, free: 216.2 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/15.78, allocations: 6.734 kB / 5.271 GB, free: 216.2 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.842e-06/15.78, allocations: 7.922 kB / 5.271 GB, free: 216.2 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/15.78, allocations: 0 / 5.271 GB, free: 216.2 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001906/15.78, allocations: 26.27 kB / 5.271 GB, free: 216.2 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/15.78, allocations: 480 / 5.271 GB, free: 216.2 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.211e-05/15.78, allocations: 3.875 kB / 5.271 GB, free: 216.2 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.034e-05/15.78, allocations: 3.906 kB / 5.271 GB, free: 216.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 0.0001054/15.78, allocations: 116.4 kB / 5.271 GB, free: 216.1 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.897e-05/15.78, allocations: 7.859 kB / 5.271 GB, free: 216.1 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.104e-05/15.78, allocations: 11.59 kB / 5.271 GB, free: 216.1 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/15.78, allocations: 3.812 kB / 5.271 GB, free: 216.1 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/15.78, allocations: 3.938 kB / 5.271 GB, free: 216 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.581e-06/15.78, allocations: 3 kB / 5.271 GB, free: 216 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001352/15.78, allocations: 167.2 kB / 5.272 GB, free: 215.9 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/15.78, allocations: 0 / 5.272 GB, free: 215.9 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002391/15.78, allocations: 27.03 kB / 5.272 GB, free: 215.9 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.241e-06/15.78, allocations: 7.859 kB / 5.272 GB, free: 215.8 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.352e-05/15.78, allocations: 3.688 kB / 5.272 GB, free: 215.8 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/15.78, allocations: 4 kB / 5.272 GB, free: 215.8 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/15.78, allocations: 0 / 5.272 GB, free: 215.8 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002635/15.78, allocations: 128.7 kB / 5.272 GB, free: 215.8 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 7.323e-05/15.78, allocations: 80.53 kB / 5.272 GB, free: 215.7 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.353e-05/15.78, allocations: 11.77 kB / 5.272 GB, free: 215.7 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000135/15.78, allocations: 3.938 kB / 5.272 GB, free: 215.7 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.431e-05/15.78, allocations: 7.016 kB / 5.272 GB, free: 215.7 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.387e-05/15.78, allocations: 11.66 kB / 5.272 GB, free: 215.7 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 2.726e-05/15.78, allocations: 75.28 kB / 5.272 GB, free: 215.6 MB / 0.7761 GB Notification: Performance of sort global known variables: time 3.81e-07/15.78, allocations: 0 / 5.272 GB, free: 215.6 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0004636/15.78, allocations: 52.02 kB / 5.272 GB, free: 215.6 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.001259/15.78, allocations: 1.151 MB / 5.273 GB, free: 214.8 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002047/15.78, allocations: 53.41 kB / 5.273 GB, free: 214.8 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/15.78, allocations: 3.812 kB / 5.273 GB, free: 214.8 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 5.648e-05/15.78, allocations: 26.25 kB / 5.273 GB, free: 214.8 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002169/15.78, allocations: 7.422 kB / 5.273 GB, free: 214.8 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008646/15.78, allocations: 329.3 kB / 5.273 GB, free: 214.5 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001662/15.78, allocations: 0.6932 MB / 5.274 GB, free: 213.8 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0001163/15.78, allocations: 8.609 kB / 5.274 GB, free: 213.8 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.368e-05/15.78, allocations: 21.19 kB / 5.274 GB, free: 213.8 MB / 0.7761 GB Notification: Performance of SimCode: time 1.473e-06/15.78, allocations: 0 / 5.274 GB, free: 213.8 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03868/15.82, allocations: 12.65 MB / 5.287 GB, free: 212.8 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000176/15.82, allocations: 173.9 kB / 5.287 GB, free: 212.5 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.989/18.81, allocations: 0 / 5.287 GB, free: 212.5 MB / 0.7761 GB