Running command: "" <> buildModelFMU(Buildings.Media.Examples.AirDerivativeCheck,fileNamePrefix="Buildings_5_0_1_Buildings_Media_Examples_AirDerivativeCheck",fmuType="me",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Buildings): time 4.589/4.589, allocations: 404.2 MB / 411.3 MB, free: 404 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.597e-05/2.591e-05, allocations: 3.984 kB / 0.4945 GB, free: 1.32 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6787/0.6788, allocations: 92.68 MB / 0.585 GB, free: 2.316 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.624/8.303, allocations: 2.182 GB / 2.767 GB, free: 108.2 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003506/8.304, allocations: 70.3 kB / 2.767 GB, free: 108.1 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 0.1209/8.425, allocations: 28.99 MB / 2.796 GB, free: 84.54 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.094e-06/8.425, allocations: 0 / 2.796 GB, free: 84.54 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 7.955e-06/8.425, allocations: 0 / 2.796 GB, free: 84.54 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004927/8.425, allocations: 377.2 kB / 2.796 GB, free: 84.13 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.846e-05/8.425, allocations: 8.031 kB / 2.796 GB, free: 84.12 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006079/8.426, allocations: 38.05 kB / 2.796 GB, free: 84.09 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001108/8.426, allocations: 171 kB / 2.796 GB, free: 83.88 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.839e-05/8.426, allocations: 0 / 2.796 GB, free: 83.88 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.262e-05/8.426, allocations: 8 kB / 2.796 GB, free: 83.87 MB / 0.7761 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001772/8.426, allocations: 33.84 kB / 2.796 GB, free: 83.84 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001779/8.426, allocations: 69.3 kB / 2.796 GB, free: 83.78 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.297e-05/8.426, allocations: 0 / 2.796 GB, free: 83.78 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.188e-05/8.427, allocations: 7.938 kB / 2.796 GB, free: 83.77 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/8.427, allocations: 0 / 2.796 GB, free: 83.77 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002385/8.427, allocations: 167.1 kB / 2.796 GB, free: 83.58 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000228/8.427, allocations: 79.73 kB / 2.797 GB, free: 83.5 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.161e-05/8.427, allocations: 27.27 kB / 2.797 GB, free: 83.48 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003144/8.427, allocations: 174.2 kB / 2.797 GB, free: 83.27 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.555e-05/8.427, allocations: 36.5 kB / 2.797 GB, free: 83.23 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=12): time 2.525e-06/8.428, allocations: 4 kB / 2.797 GB, free: 83.23 MB / 0.7761 GB Notification: Performance of matching and sorting (n=19): time 0.002012/8.43, allocations: 491 kB / 2.797 GB, free: 82.74 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.742e-05/8.43, allocations: 55.41 kB / 2.797 GB, free: 82.67 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.165e-05/8.43, allocations: 92.38 kB / 2.797 GB, free: 82.58 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.373e-05/8.43, allocations: 25.7 kB / 2.797 GB, free: 82.55 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 2.34e-05/8.43, allocations: 80.52 kB / 2.797 GB, free: 82.46 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 7.134e-05/8.43, allocations: 68 kB / 2.798 GB, free: 82.4 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.283e-05/8.43, allocations: 0 / 2.798 GB, free: 82.4 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 7.143e-05/8.43, allocations: 321.5 kB / 2.798 GB, free: 82.08 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.645e-05/8.43, allocations: 34.86 kB / 2.798 GB, free: 82.06 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001271/8.43, allocations: 65.05 kB / 2.798 GB, free: 82 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000129/8.43, allocations: 40.72 kB / 2.798 GB, free: 81.97 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/8.43, allocations: 0 / 2.798 GB, free: 81.97 MB / 0.7761 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003453/8.431, allocations: 131.2 kB / 2.798 GB, free: 81.86 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.333e-05/8.431, allocations: 8 kB / 2.798 GB, free: 81.85 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/8.431, allocations: 4 kB / 2.798 GB, free: 81.84 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/8.431, allocations: 0 / 2.798 GB, free: 81.84 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003666/8.431, allocations: 39.92 kB / 2.798 GB, free: 81.8 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.019e-05/8.431, allocations: 7.953 kB / 2.798 GB, free: 81.8 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001077/8.431, allocations: 4 kB / 2.798 GB, free: 81.79 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.99e-05/8.431, allocations: 4 kB / 2.798 GB, free: 81.79 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 24 * 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.836e-05/8.431, allocations: 111 kB / 2.798 GB, free: 81.68 MB / 0.7761 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002873/8.432, allocations: 111.5 kB / 2.798 GB, free: 81.57 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.069e-05/8.432, allocations: 9.781 kB / 2.798 GB, free: 81.57 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.755e-05/8.432, allocations: 13.66 kB / 2.798 GB, free: 81.57 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.782e-06/8.432, allocations: 4 kB / 2.798 GB, free: 81.56 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/8.432, allocations: 0 / 2.798 GB, free: 81.56 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/8.432, allocations: 3.953 kB / 2.798 GB, free: 81.56 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002034/8.432, allocations: 171.1 kB / 2.799 GB, free: 81.36 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/8.432, allocations: 0 / 2.799 GB, free: 81.36 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004883/8.433, allocations: 42.86 kB / 2.799 GB, free: 81.32 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.943e-06/8.433, allocations: 3.938 kB / 2.799 GB, free: 81.32 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.097e-05/8.433, allocations: 0 / 2.799 GB, free: 81.32 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/8.433, allocations: 0 / 2.799 GB, free: 81.32 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/8.433, allocations: 0 / 2.799 GB, free: 81.32 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000455/8.433, allocations: 193 kB / 2.799 GB, free: 81.15 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 9.839e-05/8.433, allocations: 96.92 kB / 2.799 GB, free: 81.04 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.365e-05/8.433, allocations: 11.94 kB / 2.799 GB, free: 81.02 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002624/8.434, allocations: 0 / 2.799 GB, free: 81.02 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.985e-05/8.434, allocations: 14.23 kB / 2.799 GB, free: 81.01 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.664e-05/8.434, allocations: 9.922 kB / 2.799 GB, free: 81 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 2.869e-05/8.434, allocations: 75.28 kB / 2.799 GB, free: 80.93 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5.11e-07/8.434, allocations: 0 / 2.799 GB, free: 80.93 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0005139/8.434, allocations: 47.62 kB / 2.799 GB, free: 80.9 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (hLiqSym,hSteSym,hAirSym,cpSym,cvSym) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * 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.00163/8.436, allocations: 1.265 MB / 2.8 GB, free: 79.65 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0003081/8.436, allocations: 91.3 kB / 2.8 GB, free: 79.58 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 5.62e-06/8.436, allocations: 0 / 2.8 GB, free: 79.58 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001153/8.436, allocations: 52.73 kB / 2.8 GB, free: 79.54 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002951/8.437, allocations: 11.92 kB / 2.8 GB, free: 79.53 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001348/8.438, allocations: 0.4927 MB / 2.801 GB, free: 79.02 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001721/8.438, allocations: 0.7008 MB / 2.802 GB, free: 78.29 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0002776/8.439, allocations: 24.7 kB / 2.802 GB, free: 78.27 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.933e-05/8.439, allocations: 28.48 kB / 2.802 GB, free: 78.25 MB / 0.7761 GB Notification: Performance of SimCode: time 1.473e-06/8.439, allocations: 0 / 2.802 GB, free: 78.25 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06591/8.505, allocations: 6.158 MB / 2.808 GB, free: 72.09 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003648/8.505, allocations: 140.2 kB / 2.808 GB, free: 71.89 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.232/11.74, allocations: 3.938 kB / 2.808 GB, free: 71.89 MB / 0.7761 GB