Running command: "" <> buildModelFMU(BuildingSystems.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(BuildingSystems): time 3.334/3.334, allocations: 343.8 MB / 355.9 MB, free: 9.375 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.733e-05/4.744e-05, allocations: 4 kB / 436.7 MB, free: 2.367 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1861/0.1862, allocations: 77.73 MB / 0.5023 GB, free: 4.484 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 14.42/14.61, allocations: 4.581 GB / 5.083 GB, free: 95.03 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003033/14.61, allocations: 79.95 kB / 5.083 GB, free: 94.95 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.12/14.73, allocations: 36.44 MB / 5.119 GB, free: 57.97 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.783e-06/14.73, allocations: 0 / 5.119 GB, free: 57.97 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 7.083e-06/14.73, allocations: 3.938 kB / 5.119 GB, free: 57.96 MB / 0.6667 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.0003782/14.73, allocations: 350.5 kB / 5.119 GB, free: 57.58 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.784e-05/14.73, allocations: 8.031 kB / 5.119 GB, free: 57.57 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.767e-05/14.73, allocations: 38.56 kB / 5.119 GB, free: 57.52 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002347/14.73, allocations: 19.92 kB / 5.119 GB, free: 57.5 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.025e-05/14.73, allocations: 163.1 kB / 5.119 GB, free: 57.3 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.456e-05/14.73, allocations: 0 / 5.119 GB, free: 57.3 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.314e-05/14.73, allocations: 11.91 kB / 5.119 GB, free: 57.29 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001436/14.73, allocations: 49.64 kB / 5.12 GB, free: 57.24 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/14.73, allocations: 0 / 5.12 GB, free: 57.24 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.563e-05/14.73, allocations: 4 kB / 5.12 GB, free: 57.23 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/14.73, allocations: 0 / 5.12 GB, free: 57.23 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.047e-05/14.73, allocations: 19.98 kB / 5.12 GB, free: 57.21 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001746/14.73, allocations: 165.6 kB / 5.12 GB, free: 57 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001035/14.73, allocations: 50.5 kB / 5.12 GB, free: 56.95 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.642e-05/14.73, allocations: 12.86 kB / 5.12 GB, free: 56.93 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 1.497e-05/14.73, allocations: 0 / 5.12 GB, free: 56.93 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.156e-05/14.73, allocations: 42.52 kB / 5.12 GB, free: 56.88 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=7): time 1.623e-06/14.73, allocations: 7.938 kB / 5.12 GB, free: 56.87 MB / 0.6667 GB Notification: Performance of matching and sorting (n=11): time 0.0008327/14.73, allocations: 346.4 kB / 5.12 GB, free: 56.48 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.956e-05/14.73, allocations: 55.41 kB / 5.12 GB, free: 56.41 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.666e-05/14.73, allocations: 89 kB / 5.12 GB, free: 56.32 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 1.53e-05/14.73, allocations: 25.7 kB / 5.12 GB, free: 56.29 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 1.871e-05/14.73, allocations: 84.14 kB / 5.12 GB, free: 56.2 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 4.442e-05/14.73, allocations: 47.52 kB / 5.12 GB, free: 56.16 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.681e-06/14.73, allocations: 0 / 5.12 GB, free: 56.16 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 6.336e-05/14.73, allocations: 314.8 kB / 5.121 GB, free: 55.84 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.598e-05/14.73, allocations: 16 kB / 5.121 GB, free: 55.82 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.444e-05/14.73, allocations: 45.64 kB / 5.121 GB, free: 55.77 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.194e-05/14.73, allocations: 20.3 kB / 5.121 GB, free: 55.75 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/14.73, allocations: 0 / 5.121 GB, free: 55.75 MB / 0.6667 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001787/14.73, allocations: 93.61 kB / 5.121 GB, free: 55.66 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/14.73, allocations: 12 kB / 5.121 GB, free: 55.64 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/14.73, allocations: 0 / 5.121 GB, free: 55.64 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.768e-05/14.73, allocations: 0 / 5.121 GB, free: 55.64 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001998/14.73, allocations: 31.92 kB / 5.121 GB, free: 55.61 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.024e-05/14.73, allocations: 0 / 5.121 GB, free: 55.61 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.263e-05/14.73, allocations: 3.938 kB / 5.121 GB, free: 55.61 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.209e-05/14.73, allocations: 7.984 kB / 5.121 GB, free: 55.6 MB / 0.6667 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.967e-05/14.73, allocations: 105 kB / 5.121 GB, free: 55.49 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.016e-05/14.73, allocations: 11.86 kB / 5.121 GB, free: 55.48 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.612e-05/14.73, allocations: 16.09 kB / 5.121 GB, free: 55.46 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.051e-06/14.73, allocations: 7.938 kB / 5.121 GB, free: 55.46 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/14.73, allocations: 0 / 5.121 GB, free: 55.46 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.187e-06/14.73, allocations: 0 / 5.121 GB, free: 55.46 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000134/14.73, allocations: 169.6 kB / 5.121 GB, free: 55.24 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/14.73, allocations: 4 kB / 5.121 GB, free: 55.24 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002365/14.73, allocations: 23.92 kB / 5.121 GB, free: 55.21 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/14.73, allocations: 0 / 5.121 GB, free: 55.21 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.595e-05/14.73, allocations: 11.95 kB / 5.121 GB, free: 55.2 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/14.73, allocations: 0 / 5.121 GB, free: 55.2 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/14.73, allocations: 0 / 5.121 GB, free: 55.2 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002696/14.73, allocations: 137 kB / 5.121 GB, free: 55.05 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 6.747e-05/14.73, allocations: 85.14 kB / 5.122 GB, free: 54.95 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.037e-05/14.73, allocations: 0 / 5.122 GB, free: 54.95 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001369/14.73, allocations: 15.95 kB / 5.122 GB, free: 54.93 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.912e-05/14.73, allocations: 0 / 5.122 GB, free: 54.93 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.327e-05/14.73, allocations: 7.984 kB / 5.122 GB, free: 54.93 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 2.731e-05/14.73, allocations: 79.28 kB / 5.122 GB, free: 54.85 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.583e-06/14.73, allocations: 0 / 5.122 GB, free: 54.85 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0004263/14.73, allocations: 59.92 kB / 5.122 GB, free: 54.79 MB / 0.6667 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.001183/14.73, allocations: 1.135 MB / 5.123 GB, free: 53.64 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0001928/14.73, allocations: 51.94 kB / 5.123 GB, free: 53.59 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 5.381e-06/14.73, allocations: 4 kB / 5.123 GB, free: 53.58 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 5.449e-05/14.73, allocations: 23.94 kB / 5.123 GB, free: 53.56 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002082/14.73, allocations: 7.953 kB / 5.123 GB, free: 53.55 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008313/14.73, allocations: 325.3 kB / 5.123 GB, free: 53.2 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001366/14.73, allocations: 0.6887 MB / 5.124 GB, free: 52.48 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0001143/14.73, allocations: 16.59 kB / 5.124 GB, free: 52.46 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.806e-05/14.73, allocations: 19.44 kB / 5.124 GB, free: 52.44 MB / 0.6667 GB Notification: Performance of SimCode: time 1.423e-06/14.73, allocations: 0 / 5.124 GB, free: 52.44 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03936/14.77, allocations: 12.67 MB / 5.136 GB, free: 39.84 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002524/14.77, allocations: 179.7 kB / 5.136 GB, free: 39.61 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.994/17.77, allocations: 0 / 5.136 GB, free: 39.61 MB / 0.6667 GB