Running command: "" <> buildModelFMU(Buildings.Media.Examples.AirDerivativeCheck,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_AirDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.406/4.406, allocations: 464.6 MB / 476.8 MB, free: 2.105 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.358e-05/4.369e-05, allocations: 6.344 kB / 0.5732 GB, free: 5.617 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3242/0.3243, allocations: 107.2 MB / 0.6778 GB, free: 10.27 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.502/7.827, allocations: 2.208 GB / 2.886 GB, free: 243.5 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002581/7.827, allocations: 73.28 kB / 2.886 GB, free: 243.5 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.09821/7.925, allocations: 29.57 MB / 2.915 GB, free: 218.8 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.673e-06/7.925, allocations: 0 / 2.915 GB, free: 218.8 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 7.644e-06/7.925, allocations: 4 kB / 2.915 GB, free: 218.8 MB / 0.8855 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.0004362/7.926, allocations: 381.5 kB / 2.915 GB, free: 218.4 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.147e-05/7.926, allocations: 12.03 kB / 2.915 GB, free: 218.4 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.729e-05/7.926, allocations: 34.06 kB / 2.915 GB, free: 218.3 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004864/7.926, allocations: 43.8 kB / 2.915 GB, free: 218.3 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.731e-05/7.926, allocations: 167 kB / 2.915 GB, free: 218.1 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.245e-05/7.926, allocations: 3.625 kB / 2.915 GB, free: 218.1 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.915e-05/7.926, allocations: 11.62 kB / 2.915 GB, free: 218.1 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002082/7.927, allocations: 80.84 kB / 2.915 GB, free: 218 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/7.927, allocations: 4 kB / 2.916 GB, free: 218 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.837e-05/7.927, allocations: 0 / 2.916 GB, free: 218 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/7.927, allocations: 0 / 2.916 GB, free: 218 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000119/7.927, allocations: 46.72 kB / 2.916 GB, free: 218 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002103/7.927, allocations: 180.6 kB / 2.916 GB, free: 217.8 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002099/7.927, allocations: 83.62 kB / 2.916 GB, free: 217.7 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.92e-05/7.927, allocations: 32.06 kB / 2.916 GB, free: 217.7 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002814/7.928, allocations: 182.1 kB / 2.916 GB, free: 217.4 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.308e-05/7.928, allocations: 34.06 kB / 2.916 GB, free: 217.4 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=12): time 2.104e-06/7.928, allocations: 4 kB / 2.916 GB, free: 217.4 MB / 0.8855 GB Notification: Performance of matching and sorting (n=19): time 0.001717/7.93, allocations: 0.5064 MB / 2.917 GB, free: 216.9 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.269e-05/7.93, allocations: 51.41 kB / 2.917 GB, free: 216.8 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.634e-05/7.93, allocations: 92.88 kB / 2.917 GB, free: 216.7 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.376e-05/7.93, allocations: 33.33 kB / 2.917 GB, free: 216.7 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 2.266e-05/7.93, allocations: 80.52 kB / 2.917 GB, free: 216.6 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 6.416e-05/7.93, allocations: 70 kB / 2.917 GB, free: 216.6 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.008e-05/7.93, allocations: 4 kB / 2.917 GB, free: 216.6 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 6.809e-05/7.93, allocations: 318.7 kB / 2.917 GB, free: 216.2 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.974e-05/7.93, allocations: 38.86 kB / 2.917 GB, free: 216.2 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001112/7.93, allocations: 66.3 kB / 2.917 GB, free: 216.2 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001156/7.93, allocations: 43.66 kB / 2.917 GB, free: 216.1 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/7.93, allocations: 0 / 2.917 GB, free: 216.1 MB / 0.8855 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003084/7.931, allocations: 157.6 kB / 2.917 GB, free: 216 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.969e-05/7.931, allocations: 6.5 kB / 2.917 GB, free: 216 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.323e-06/7.931, allocations: 0 / 2.917 GB, free: 216 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.53e-05/7.931, allocations: 7.984 kB / 2.917 GB, free: 216 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003132/7.931, allocations: 35.98 kB / 2.917 GB, free: 215.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.079e-05/7.931, allocations: 7.875 kB / 2.918 GB, free: 215.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.439e-05/7.931, allocations: 3.562 kB / 2.918 GB, free: 215.9 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.647e-05/7.931, allocations: 11.62 kB / 2.918 GB, free: 215.9 MB / 0.8855 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.437e-05/7.931, allocations: 116.5 kB / 2.918 GB, free: 215.8 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.099e-05/7.931, allocations: 15.34 kB / 2.918 GB, free: 215.8 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.832e-05/7.931, allocations: 15.28 kB / 2.918 GB, free: 215.8 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.642e-06/7.931, allocations: 4 kB / 2.918 GB, free: 215.8 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/7.931, allocations: 3.938 kB / 2.918 GB, free: 215.8 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/7.931, allocations: 0 / 2.918 GB, free: 215.8 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001891/7.932, allocations: 196 kB / 2.918 GB, free: 215.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.317e-06/7.932, allocations: 8.062 kB / 2.918 GB, free: 215.5 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003907/7.932, allocations: 31.98 kB / 2.918 GB, free: 215.5 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.392e-06/7.932, allocations: 4 kB / 2.918 GB, free: 215.5 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.847e-05/7.932, allocations: 3.938 kB / 2.918 GB, free: 215.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/7.932, allocations: 3.984 kB / 2.918 GB, free: 215.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/7.932, allocations: 4 kB / 2.918 GB, free: 215.5 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004075/7.932, allocations: 203.2 kB / 2.918 GB, free: 215.3 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 9.788e-05/7.933, allocations: 95.94 kB / 2.918 GB, free: 215.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.72e-05/7.933, allocations: 3.875 kB / 2.918 GB, free: 215.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002219/7.933, allocations: 7.984 kB / 2.918 GB, free: 215.2 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.848e-05/7.933, allocations: 11.23 kB / 2.918 GB, free: 215.2 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.798e-05/7.933, allocations: 4 kB / 2.918 GB, free: 215.2 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 2.896e-05/7.933, allocations: 87.09 kB / 2.918 GB, free: 215.1 MB / 0.8855 GB Notification: Performance of sort global known variables: time 4.3e-07/7.933, allocations: 0 / 2.918 GB, free: 215.1 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0004695/7.933, allocations: 65.23 kB / 2.918 GB, free: 215.1 MB / 0.8855 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.935, allocations: 1.198 MB / 2.92 GB, free: 213.9 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0002878/7.935, allocations: 95.67 kB / 2.92 GB, free: 213.8 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/7.935, allocations: 3.688 kB / 2.92 GB, free: 213.8 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001026/7.935, allocations: 55.23 kB / 2.92 GB, free: 213.8 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002439/7.935, allocations: 11.08 kB / 2.92 GB, free: 213.8 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001202/7.937, allocations: 0.514 MB / 2.92 GB, free: 213.2 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001665/7.937, allocations: 0.7088 MB / 2.921 GB, free: 212.5 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0002225/7.937, allocations: 20.77 kB / 2.921 GB, free: 212.5 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.349e-05/7.937, allocations: 22.31 kB / 2.921 GB, free: 212.5 MB / 0.8855 GB Notification: Performance of SimCode: time 1.804e-06/7.937, allocations: 4 kB / 2.921 GB, free: 212.5 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04764/7.985, allocations: 12.85 MB / 2.933 GB, free: 199.7 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002504/7.985, allocations: 147.8 kB / 2.934 GB, free: 199.4 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.033/11.02, allocations: 3.938 kB / 2.934 GB, free: 199.4 MB / 0.8855 GB