Running command: "" <> buildModelFMU(Buildings.Media.Examples.AirDerivativeCheck,fileNamePrefix="Buildings_5_0_1_Buildings_Media_Examples_AirDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.888/3.888, allocations: 403.3 MB / 415.4 MB, free: 12.95 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 4.378e-05/4.396e-05, allocations: 4 kB / 0.4991 GB, free: 13.29 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6445/0.6445, allocations: 92.68 MB / 0.5896 GB, free: 14.45 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.732/7.376, allocations: 2.183 GB / 2.772 GB, free: 80.55 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002756/7.377, allocations: 74.19 kB / 2.773 GB, free: 80.52 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 0.09881/7.475, allocations: 29.52 MB / 2.801 GB, free: 55.89 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.013e-06/7.475, allocations: 3.938 kB / 2.801 GB, free: 55.89 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 7.625e-06/7.475, allocations: 3.938 kB / 2.801 GB, free: 55.89 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.0004613/7.476, allocations: 381.4 kB / 2.802 GB, free: 55.48 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.793e-05/7.476, allocations: 8.031 kB / 2.802 GB, free: 55.47 MB / 0.7761 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.239e-05/7.476, allocations: 41.23 kB / 2.802 GB, free: 55.42 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004834/7.477, allocations: 35.88 kB / 2.802 GB, free: 55.39 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.944e-05/7.477, allocations: 167.1 kB / 2.802 GB, free: 55.18 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.649e-05/7.477, allocations: 7.125 kB / 2.802 GB, free: 55.18 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.346e-05/7.477, allocations: 6.562 kB / 2.802 GB, free: 55.18 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002042/7.477, allocations: 76.56 kB / 2.802 GB, free: 55.11 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/7.477, allocations: 0 / 2.802 GB, free: 55.11 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.822e-05/7.477, allocations: 3.5 kB / 2.802 GB, free: 55.11 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.012e-06/7.477, allocations: 4 kB / 2.802 GB, free: 55.1 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001409/7.477, allocations: 35.91 kB / 2.802 GB, free: 55.07 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000217/7.477, allocations: 195.7 kB / 2.802 GB, free: 54.84 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002164/7.478, allocations: 88.14 kB / 2.802 GB, free: 54.76 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.129e-05/7.478, allocations: 29.7 kB / 2.802 GB, free: 54.74 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002688/7.478, allocations: 181.2 kB / 2.803 GB, free: 54.53 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.589e-05/7.478, allocations: 30.56 kB / 2.803 GB, free: 54.49 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=12): time 2.464e-06/7.478, allocations: 4 kB / 2.803 GB, free: 54.48 MB / 0.7761 GB Notification: Performance of matching and sorting (n=19): time 0.001649/7.48, allocations: 0.5105 MB / 2.803 GB, free: 53.98 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.485e-05/7.48, allocations: 51.41 kB / 2.803 GB, free: 53.92 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.799e-05/7.48, allocations: 100.3 kB / 2.803 GB, free: 53.82 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.279e-05/7.48, allocations: 36.45 kB / 2.803 GB, free: 53.78 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 2.249e-05/7.48, allocations: 84.5 kB / 2.803 GB, free: 53.69 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 6.225e-05/7.48, allocations: 63.83 kB / 2.803 GB, free: 53.63 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.076e-05/7.48, allocations: 3.562 kB / 2.803 GB, free: 53.63 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 6.597e-05/7.48, allocations: 317.8 kB / 2.804 GB, free: 53.32 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.206e-05/7.48, allocations: 35 kB / 2.804 GB, free: 53.29 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001145/7.48, allocations: 69.92 kB / 2.804 GB, free: 53.23 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001139/7.48, allocations: 42.34 kB / 2.804 GB, free: 53.2 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/7.48, allocations: 0 / 2.804 GB, free: 53.2 MB / 0.7761 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003038/7.481, allocations: 158.6 kB / 2.804 GB, free: 53.06 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.971e-05/7.481, allocations: 4 kB / 2.804 GB, free: 53.06 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.388e-06/7.481, allocations: 7.938 kB / 2.804 GB, free: 53.05 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.913e-05/7.481, allocations: 3.953 kB / 2.804 GB, free: 53.05 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002963/7.481, allocations: 35.98 kB / 2.804 GB, free: 53.01 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.148e-05/7.481, allocations: 0 / 2.804 GB, free: 53.01 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001002/7.481, allocations: 11 kB / 2.804 GB, free: 53 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.821e-05/7.481, allocations: 6.625 kB / 2.804 GB, free: 53 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 7.337e-05/7.481, allocations: 113.9 kB / 2.804 GB, free: 52.89 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.589e-05/7.481, allocations: 7.906 kB / 2.804 GB, free: 52.88 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.753e-05/7.482, allocations: 17.34 kB / 2.804 GB, free: 52.88 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.993e-06/7.482, allocations: 15.88 kB / 2.804 GB, free: 52.86 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/7.482, allocations: 4 kB / 2.804 GB, free: 52.86 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/7.482, allocations: 3.984 kB / 2.804 GB, free: 52.86 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001738/7.482, allocations: 190.4 kB / 2.804 GB, free: 52.63 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/7.482, allocations: 4 kB / 2.804 GB, free: 52.63 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003829/7.482, allocations: 42.3 kB / 2.804 GB, free: 52.59 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.958e-06/7.482, allocations: 0 / 2.804 GB, free: 52.59 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.773e-05/7.482, allocations: 2.25 kB / 2.805 GB, free: 52.59 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.679e-06/7.482, allocations: 4 kB / 2.805 GB, free: 52.59 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/7.482, allocations: 7.891 kB / 2.805 GB, free: 52.58 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003997/7.483, allocations: 203.6 kB / 2.805 GB, free: 52.4 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 7.959e-05/7.483, allocations: 89 kB / 2.805 GB, free: 52.3 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.628e-05/7.483, allocations: 6.25 kB / 2.805 GB, free: 52.29 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002151/7.483, allocations: 6.438 kB / 2.805 GB, free: 52.29 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.441e-05/7.483, allocations: 18.31 kB / 2.805 GB, free: 52.27 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.96e-05/7.483, allocations: 11.62 kB / 2.805 GB, free: 52.27 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 2.7e-05/7.483, allocations: 79.27 kB / 2.805 GB, free: 52.19 MB / 0.7761 GB Notification: Performance of sort global known variables: time 4.11e-07/7.483, allocations: 0 / 2.805 GB, free: 52.19 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0004276/7.484, allocations: 61 kB / 2.805 GB, free: 52.15 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.001274/7.485, allocations: 1.195 MB / 2.806 GB, free: 50.98 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002767/7.485, allocations: 108.8 kB / 2.806 GB, free: 50.9 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/7.485, allocations: 0 / 2.806 GB, free: 50.9 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001257/7.485, allocations: 52 kB / 2.806 GB, free: 50.86 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002209/7.486, allocations: 15.36 kB / 2.806 GB, free: 50.85 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001111/7.487, allocations: 0.505 MB / 2.807 GB, free: 50.32 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001547/7.487, allocations: 0.7011 MB / 2.807 GB, free: 49.59 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0002169/7.487, allocations: 28.75 kB / 2.808 GB, free: 49.56 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.332e-05/7.487, allocations: 28.86 kB / 2.808 GB, free: 49.54 MB / 0.7761 GB Notification: Performance of SimCode: time 9.62e-07/7.487, allocations: 0 / 2.808 GB, free: 49.54 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04132/7.528, allocations: 12.82 MB / 2.82 GB, free: 36.77 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002334/7.529, allocations: 146.8 kB / 2.82 GB, free: 36.55 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.094/10.62, allocations: 0 / 2.82 GB, free: 36.55 MB / 0.7761 GB