Running command: "" <> buildModelFMU(Buildings.Media.Examples.AirDerivativeCheck,fileNamePrefix="Buildings_7_0_0_Buildings_Media_Examples_AirDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.421/4.421, allocations: 460.5 MB / 472.6 MB, free: 5.281 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.847e-05/3.859e-05, allocations: 4 kB / 0.5682 GB, free: 10.08 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2594/0.2594, allocations: 106.2 MB / 0.6719 GB, free: 15.67 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.444/7.703, allocations: 2.208 GB / 2.88 GB, free: 260.1 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002819/7.704, allocations: 74.05 kB / 2.88 GB, free: 260.1 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.1027/7.806, allocations: 29.59 MB / 2.909 GB, free: 240.8 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.953e-06/7.806, allocations: 4 kB / 2.909 GB, free: 240.8 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 8.927e-06/7.806, allocations: 4 kB / 2.909 GB, free: 240.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.0005016/7.807, allocations: 377.7 kB / 2.909 GB, free: 240.3 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.11e-05/7.807, allocations: 8.031 kB / 2.909 GB, free: 240.3 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.288e-05/7.807, allocations: 38.55 kB / 2.909 GB, free: 240.3 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005638/7.808, allocations: 35.56 kB / 2.909 GB, free: 240.3 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001175/7.808, allocations: 171 kB / 2.909 GB, free: 240.1 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.813e-05/7.808, allocations: 4 kB / 2.909 GB, free: 240.1 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.728e-05/7.808, allocations: 11.75 kB / 2.909 GB, free: 240 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002259/7.808, allocations: 65.89 kB / 2.909 GB, free: 240 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/7.808, allocations: 7.938 kB / 2.909 GB, free: 240 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.333e-05/7.808, allocations: 7.641 kB / 2.909 GB, free: 240 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/7.808, allocations: 0 / 2.909 GB, free: 240 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001238/7.808, allocations: 43.34 kB / 2.909 GB, free: 239.9 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002339/7.809, allocations: 188.7 kB / 2.909 GB, free: 239.7 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002228/7.809, allocations: 81.47 kB / 2.91 GB, free: 239.6 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.075e-05/7.809, allocations: 28.3 kB / 2.91 GB, free: 239.6 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002864/7.809, allocations: 178.2 kB / 2.91 GB, free: 239.4 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.173e-05/7.809, allocations: 38.19 kB / 2.91 GB, free: 239.4 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=12): time 2.054e-06/7.809, allocations: 0 / 2.91 GB, free: 239.4 MB / 0.8855 GB Notification: Performance of matching and sorting (n=19): time 0.001735/7.811, allocations: 0.5106 MB / 2.91 GB, free: 238.9 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.937e-05/7.811, allocations: 55.16 kB / 2.91 GB, free: 238.8 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.794e-05/7.811, allocations: 96.98 kB / 2.91 GB, free: 238.7 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.424e-05/7.811, allocations: 29.39 kB / 2.91 GB, free: 238.7 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 2.725e-05/7.811, allocations: 84.52 kB / 2.91 GB, free: 238.6 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 6.96e-05/7.811, allocations: 74.09 kB / 2.911 GB, free: 238.5 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.062e-05/7.811, allocations: 3.75 kB / 2.911 GB, free: 238.5 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 9.413e-05/7.811, allocations: 318.8 kB / 2.911 GB, free: 238.2 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.801e-05/7.812, allocations: 31.62 kB / 2.911 GB, free: 238.2 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001152/7.812, allocations: 68.83 kB / 2.911 GB, free: 238.1 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001152/7.812, allocations: 51.52 kB / 2.911 GB, free: 238.1 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/7.812, allocations: 3.938 kB / 2.911 GB, free: 238.1 MB / 0.8855 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003102/7.812, allocations: 150.1 kB / 2.911 GB, free: 237.9 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.071e-05/7.812, allocations: 8 kB / 2.911 GB, free: 237.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.405e-06/7.812, allocations: 0 / 2.911 GB, free: 237.9 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.975e-05/7.812, allocations: 4 kB / 2.911 GB, free: 237.9 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003048/7.813, allocations: 35.94 kB / 2.911 GB, free: 237.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.322e-05/7.813, allocations: 7.938 kB / 2.911 GB, free: 237.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.545e-05/7.813, allocations: 3.75 kB / 2.911 GB, free: 237.9 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.936e-05/7.813, allocations: 19.5 kB / 2.911 GB, free: 237.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.697e-05/7.813, allocations: 104.7 kB / 2.911 GB, free: 237.8 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.843e-05/7.813, allocations: 8 kB / 2.911 GB, free: 237.8 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.158e-05/7.813, allocations: 18.66 kB / 2.911 GB, free: 237.8 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.05e-06/7.813, allocations: 0 / 2.911 GB, free: 237.8 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.011e-05/7.813, allocations: 7.953 kB / 2.911 GB, free: 237.7 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/7.813, allocations: 3.984 kB / 2.911 GB, free: 237.7 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001888/7.813, allocations: 188.4 kB / 2.912 GB, free: 237.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/7.813, allocations: 4 kB / 2.912 GB, free: 237.5 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003942/7.814, allocations: 39.92 kB / 2.912 GB, free: 237.5 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.684e-06/7.814, allocations: 11.92 kB / 2.912 GB, free: 237.5 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.963e-05/7.814, allocations: 3.75 kB / 2.912 GB, free: 237.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.025e-06/7.814, allocations: 0 / 2.912 GB, free: 237.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/7.814, allocations: 0 / 2.912 GB, free: 237.5 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004202/7.814, allocations: 206.5 kB / 2.912 GB, free: 237.3 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 8.742e-05/7.814, allocations: 89.09 kB / 2.912 GB, free: 237.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.117e-05/7.814, allocations: 3.562 kB / 2.912 GB, free: 237.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002212/7.814, allocations: 15.25 kB / 2.912 GB, free: 237.2 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.887e-05/7.815, allocations: 7.984 kB / 2.912 GB, free: 237.2 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.253e-05/7.815, allocations: 15.56 kB / 2.912 GB, free: 237.1 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 2.778e-05/7.815, allocations: 79.28 kB / 2.912 GB, free: 237.1 MB / 0.8855 GB Notification: Performance of sort global known variables: time 5.51e-07/7.815, allocations: 0 / 2.912 GB, free: 237.1 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0004788/7.815, allocations: 60.62 kB / 2.912 GB, free: 237 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.001354/7.816, allocations: 1.205 MB / 2.913 GB, free: 235.9 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0003001/7.817, allocations: 102.1 kB / 2.913 GB, free: 235.8 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/7.817, allocations: 0 / 2.913 GB, free: 235.8 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0002474/7.817, allocations: 49.27 kB / 2.913 GB, free: 235.7 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003721/7.817, allocations: 11.67 kB / 2.913 GB, free: 235.7 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001197/7.819, allocations: 0.5065 MB / 2.914 GB, free: 235.2 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001638/7.819, allocations: 0.7011 MB / 2.915 GB, free: 234.5 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0002236/7.819, allocations: 28.75 kB / 2.915 GB, free: 234.4 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.06e-05/7.819, allocations: 22.5 kB / 2.915 GB, free: 234.4 MB / 0.8855 GB Notification: Performance of SimCode: time 1.753e-06/7.819, allocations: 3.938 kB / 2.915 GB, free: 234.4 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0361/7.855, allocations: 12.86 MB / 2.927 GB, free: 221.6 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003505/7.856, allocations: 146.9 kB / 2.927 GB, free: 221.4 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.928/10.78, allocations: 0 / 2.927 GB, free: 221.4 MB / 0.8855 GB