Running command: "" <> buildModelFMU(BuildingSystems.Media.Examples.AirDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_AirDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(BuildingSystems): time 3.733/3.733, allocations: 343.8 MB / 355.9 MB, free: 9.395 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.771e-05/4.77e-05, allocations: 4 kB / 436.6 MB, free: 2.398 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1803/0.1804, allocations: 77.73 MB / 0.5023 GB, free: 4.512 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.919/7.099, allocations: 2.184 GB / 2.686 GB, free: 164.9 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002581/7.099, allocations: 67.59 kB / 2.686 GB, free: 164.9 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.1273/7.227, allocations: 29.57 MB / 2.715 GB, free: 138.2 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.344e-06/7.227, allocations: 0 / 2.715 GB, free: 138.2 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 1.314e-05/7.227, allocations: 4 kB / 2.715 GB, free: 138.2 MB / 0.6667 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.0006353/7.227, allocations: 378.3 kB / 2.716 GB, free: 137.8 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 6.168e-05/7.227, allocations: 8.031 kB / 2.716 GB, free: 137.7 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.257e-05/7.227, allocations: 38.56 kB / 2.716 GB, free: 137.7 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009097/7.228, allocations: 43.84 kB / 2.716 GB, free: 137.7 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001238/7.229, allocations: 167 kB / 2.716 GB, free: 137.4 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.301e-05/7.229, allocations: 4 kB / 2.716 GB, free: 137.4 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.251e-05/7.229, allocations: 12 kB / 2.716 GB, free: 137.4 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003151/7.229, allocations: 73.59 kB / 2.716 GB, free: 137.4 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.414e-05/7.229, allocations: 0 / 2.716 GB, free: 137.4 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.319e-05/7.229, allocations: 7.953 kB / 2.716 GB, free: 137.3 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.907e-06/7.229, allocations: 0 / 2.716 GB, free: 137.3 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001896/7.229, allocations: 39.97 kB / 2.716 GB, free: 137.3 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003254/7.23, allocations: 181.6 kB / 2.716 GB, free: 137.1 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003851/7.23, allocations: 90.73 kB / 2.716 GB, free: 137 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001211/7.23, allocations: 28.86 kB / 2.716 GB, free: 137 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004867/7.231, allocations: 174.2 kB / 2.717 GB, free: 136.7 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.422e-05/7.231, allocations: 42.5 kB / 2.717 GB, free: 136.7 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=12): time 3.987e-06/7.231, allocations: 4 kB / 2.717 GB, free: 136.7 MB / 0.6667 GB Notification: Performance of matching and sorting (n=19): time 0.002812/7.234, allocations: 0.5108 MB / 2.717 GB, free: 136.1 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.06e-05/7.234, allocations: 55.41 kB / 2.717 GB, free: 136.1 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.685e-05/7.234, allocations: 93 kB / 2.717 GB, free: 136 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 3.949e-05/7.234, allocations: 33.7 kB / 2.717 GB, free: 135.9 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 2.887e-05/7.234, allocations: 80.52 kB / 2.717 GB, free: 135.8 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.000107/7.234, allocations: 67 kB / 2.717 GB, free: 135.8 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.143e-05/7.234, allocations: 4 kB / 2.717 GB, free: 135.8 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 8.908e-05/7.234, allocations: 318.8 kB / 2.718 GB, free: 135.4 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00016/7.234, allocations: 32 kB / 2.718 GB, free: 135.4 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001871/7.235, allocations: 71.55 kB / 2.718 GB, free: 135.3 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002255/7.235, allocations: 51.89 kB / 2.718 GB, free: 135.3 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.681e-06/7.235, allocations: 0 / 2.718 GB, free: 135.3 MB / 0.6667 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005744/7.236, allocations: 149.5 kB / 2.718 GB, free: 135.1 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.497e-05/7.236, allocations: 4 kB / 2.718 GB, free: 135.1 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/7.236, allocations: 0 / 2.718 GB, free: 135.1 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.332e-05/7.236, allocations: 4 kB / 2.718 GB, free: 135.1 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003798/7.236, allocations: 35.98 kB / 2.718 GB, free: 135.1 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.587e-05/7.236, allocations: 19.88 kB / 2.718 GB, free: 135.1 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001244/7.236, allocations: 0 / 2.718 GB, free: 135.1 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.121e-05/7.236, allocations: 12 kB / 2.718 GB, free: 135.1 MB / 0.6667 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 9.804e-05/7.236, allocations: 112.9 kB / 2.718 GB, free: 134.9 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.927e-05/7.236, allocations: 7.906 kB / 2.718 GB, free: 134.9 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.604e-05/7.237, allocations: 16.22 kB / 2.718 GB, free: 134.9 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.033e-06/7.237, allocations: 4 kB / 2.718 GB, free: 134.9 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/7.237, allocations: 0 / 2.718 GB, free: 134.9 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.494e-06/7.237, allocations: 3.953 kB / 2.718 GB, free: 134.9 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003161/7.237, allocations: 197.6 kB / 2.718 GB, free: 134.7 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.274e-06/7.237, allocations: 0 / 2.718 GB, free: 134.7 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007102/7.238, allocations: 35.92 kB / 2.718 GB, free: 134.6 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-05/7.238, allocations: 7.984 kB / 2.718 GB, free: 134.6 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.063e-05/7.238, allocations: 4 kB / 2.718 GB, free: 134.6 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.408e-06/7.238, allocations: 0 / 2.718 GB, free: 134.6 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.919e-06/7.238, allocations: 0 / 2.718 GB, free: 134.6 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006507/7.238, allocations: 200 kB / 2.719 GB, free: 134.4 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001152/7.239, allocations: 105 kB / 2.719 GB, free: 134.3 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.878e-05/7.239, allocations: 7.922 kB / 2.719 GB, free: 134.3 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000307/7.239, allocations: 8.25 kB / 2.719 GB, free: 134.3 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.75e-05/7.239, allocations: 7.984 kB / 2.719 GB, free: 134.3 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.991e-05/7.239, allocations: 12 kB / 2.719 GB, free: 134.3 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 3.869e-05/7.239, allocations: 83.23 kB / 2.719 GB, free: 134.2 MB / 0.6667 GB Notification: Performance of sort global known variables: time 6.21e-07/7.239, allocations: 0 / 2.719 GB, free: 134.2 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.000732/7.24, allocations: 63.92 kB / 2.719 GB, free: 134.1 MB / 0.6667 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.001936/7.242, allocations: 1.217 MB / 2.72 GB, free: 132.9 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0004291/7.242, allocations: 95.89 kB / 2.72 GB, free: 132.8 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 5.73e-06/7.242, allocations: 0 / 2.72 GB, free: 132.8 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0001633/7.243, allocations: 51.92 kB / 2.72 GB, free: 132.7 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003251/7.243, allocations: 8 kB / 2.72 GB, free: 132.7 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001693/7.245, allocations: 0.5101 MB / 2.721 GB, free: 132.2 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001984/7.245, allocations: 0.705 MB / 2.721 GB, free: 131.4 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0003555/7.245, allocations: 24.77 kB / 2.721 GB, free: 131.4 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.779e-05/7.245, allocations: 23.38 kB / 2.721 GB, free: 131.4 MB / 0.6667 GB Notification: Performance of SimCode: time 1.673e-06/7.245, allocations: 0 / 2.721 GB, free: 131.4 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03855/7.284, allocations: 12.86 MB / 2.734 GB, free: 118.6 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002073/7.284, allocations: 164.1 kB / 2.734 GB, free: 118.4 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.106/10.39, allocations: 0 / 2.734 GB, free: 118.4 MB / 0.6667 GB