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.815/3.815, allocations: 403.3 MB / 415.4 MB, free: 12.96 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.64e-05/3.643e-05, allocations: 3.938 kB / 0.4991 GB, free: 13.37 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6466/0.6467, allocations: 92.68 MB / 0.5896 GB, free: 14.49 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.889/7.536, allocations: 2.183 GB / 2.773 GB, free: 95.4 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003215/7.537, allocations: 71.03 kB / 2.773 GB, free: 95.36 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 0.1072/7.644, allocations: 29.53 MB / 2.801 GB, free: 70.73 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.124e-06/7.644, allocations: 3.938 kB / 2.801 GB, free: 70.73 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 7.134e-06/7.644, allocations: 0 / 2.801 GB, free: 70.73 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.0004493/7.644, allocations: 376.7 kB / 2.802 GB, free: 70.32 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.959e-05/7.644, allocations: 8.031 kB / 2.802 GB, free: 70.31 MB / 0.7761 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.182e-05/7.645, allocations: 36.73 kB / 2.802 GB, free: 70.27 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004902/7.645, allocations: 41.69 kB / 2.802 GB, free: 70.23 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.628e-05/7.645, allocations: 167 kB / 2.802 GB, free: 70.03 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.726e-05/7.645, allocations: 6.125 kB / 2.802 GB, free: 70.02 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.978e-05/7.645, allocations: 8.625 kB / 2.802 GB, free: 70.02 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002088/7.645, allocations: 72.56 kB / 2.802 GB, free: 69.95 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/7.645, allocations: 0 / 2.802 GB, free: 69.95 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.057e-05/7.645, allocations: 2.188 kB / 2.802 GB, free: 69.95 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/7.646, allocations: 4 kB / 2.802 GB, free: 69.95 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001176/7.646, allocations: 36.97 kB / 2.802 GB, free: 69.92 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000215/7.646, allocations: 198.6 kB / 2.802 GB, free: 69.69 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002118/7.646, allocations: 85.23 kB / 2.802 GB, free: 69.61 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.791e-05/7.646, allocations: 27.61 kB / 2.802 GB, free: 69.59 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002592/7.646, allocations: 176.5 kB / 2.803 GB, free: 69.38 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.146e-05/7.646, allocations: 40.5 kB / 2.803 GB, free: 69.33 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=12): time 1.834e-06/7.646, allocations: 0 / 2.803 GB, free: 69.33 MB / 0.7761 GB Notification: Performance of matching and sorting (n=19): time 0.001669/7.648, allocations: 0.5101 MB / 2.803 GB, free: 68.83 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.116e-05/7.648, allocations: 59.41 kB / 2.803 GB, free: 68.76 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.944e-05/7.648, allocations: 95.05 kB / 2.803 GB, free: 68.66 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.269e-05/7.648, allocations: 30.08 kB / 2.803 GB, free: 68.63 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 2.236e-05/7.648, allocations: 80.52 kB / 2.803 GB, free: 68.54 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 6.785e-05/7.648, allocations: 65.52 kB / 2.803 GB, free: 68.49 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.079e-05/7.648, allocations: 2 kB / 2.803 GB, free: 68.49 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 7.074e-05/7.649, allocations: 323 kB / 2.804 GB, free: 68.17 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.972e-05/7.649, allocations: 36.38 kB / 2.804 GB, free: 68.14 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001119/7.649, allocations: 64.73 kB / 2.804 GB, free: 68.08 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000117/7.649, allocations: 56.64 kB / 2.804 GB, free: 68.04 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/7.649, allocations: 0 / 2.804 GB, free: 68.04 MB / 0.7761 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003015/7.649, allocations: 148.5 kB / 2.804 GB, free: 67.91 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/7.649, allocations: 4 kB / 2.804 GB, free: 67.91 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/7.649, allocations: 4 kB / 2.804 GB, free: 67.9 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.926e-05/7.649, allocations: 3.953 kB / 2.804 GB, free: 67.9 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003034/7.65, allocations: 39.92 kB / 2.804 GB, free: 67.86 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.051e-05/7.65, allocations: 4 kB / 2.804 GB, free: 67.86 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.422e-05/7.65, allocations: 7.688 kB / 2.804 GB, free: 67.85 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.755e-05/7.65, allocations: 6.062 kB / 2.804 GB, free: 67.85 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.607e-05/7.65, allocations: 116.9 kB / 2.804 GB, free: 67.73 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.815e-05/7.65, allocations: 10.03 kB / 2.804 GB, free: 67.73 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.882e-05/7.65, allocations: 19.03 kB / 2.804 GB, free: 67.72 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.54e-06/7.65, allocations: 7.953 kB / 2.804 GB, free: 67.71 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.7e-06/7.65, allocations: 0 / 2.804 GB, free: 67.71 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/7.65, allocations: 3.984 kB / 2.804 GB, free: 67.71 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000179/7.65, allocations: 196.2 kB / 2.804 GB, free: 67.48 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/7.65, allocations: 0 / 2.804 GB, free: 67.48 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003966/7.651, allocations: 38.05 kB / 2.805 GB, free: 67.45 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.947e-06/7.651, allocations: 0 / 2.805 GB, free: 67.45 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.815e-05/7.651, allocations: 6.297 kB / 2.805 GB, free: 67.45 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.378e-06/7.651, allocations: 4 kB / 2.805 GB, free: 67.44 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/7.651, allocations: 3.953 kB / 2.805 GB, free: 67.44 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004367/7.651, allocations: 205.2 kB / 2.805 GB, free: 67.26 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 8.738e-05/7.651, allocations: 98.44 kB / 2.805 GB, free: 67.14 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.884e-05/7.651, allocations: 6.5 kB / 2.805 GB, free: 67.14 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002221/7.652, allocations: 7.75 kB / 2.805 GB, free: 67.14 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.637e-05/7.652, allocations: 15.94 kB / 2.805 GB, free: 67.12 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.103e-05/7.652, allocations: 6.062 kB / 2.805 GB, free: 67.12 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 2.849e-05/7.652, allocations: 79.89 kB / 2.805 GB, free: 67.04 MB / 0.7761 GB Notification: Performance of sort global known variables: time 4e-07/7.652, allocations: 0 / 2.805 GB, free: 67.04 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0004648/7.652, allocations: 61.81 kB / 2.805 GB, free: 67 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.001286/7.653, allocations: 1.201 MB / 2.806 GB, free: 65.83 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002716/7.654, allocations: 97.62 kB / 2.806 GB, free: 65.75 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/7.654, allocations: 0 / 2.806 GB, free: 65.75 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001069/7.654, allocations: 48.06 kB / 2.806 GB, free: 65.71 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002277/7.654, allocations: 19.84 kB / 2.806 GB, free: 65.7 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001199/7.655, allocations: 0.506 MB / 2.807 GB, free: 65.18 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000169/7.655, allocations: 0.7089 MB / 2.808 GB, free: 64.44 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0002351/7.656, allocations: 20.77 kB / 2.808 GB, free: 64.42 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.73e-05/7.656, allocations: 26.17 kB / 2.808 GB, free: 64.4 MB / 0.7761 GB Notification: Performance of SimCode: time 1.513e-06/7.656, allocations: 0 / 2.808 GB, free: 64.4 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03853/7.694, allocations: 12.84 MB / 2.82 GB, free: 51.61 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002694/7.695, allocations: 144.1 kB / 2.82 GB, free: 51.39 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.968/10.66, allocations: 0 / 2.82 GB, free: 51.39 MB / 0.7761 GB