Running command: "" <> buildModelFMU(Buildings.Media.Examples.WaterDerivativeCheck,fileNamePrefix="Buildings_6_0_0_Buildings_Media_Examples_WaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.927/3.927, allocations: 432.7 MB / 444.9 MB, free: 15.72 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 4.212e-05/4.224e-05, allocations: 7.375 kB / 0.5338 GB, free: 12.19 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2147/0.2148, allocations: 98.73 MB / 0.6302 GB, free: 6.164 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.177/1.392, allocations: 351.5 MB / 0.9735 GB, free: 11.17 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002782/1.393, allocations: 74.19 kB / 0.9735 GB, free: 11.13 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.04514/1.438, allocations: 12.5 MB / 0.9857 GB, free: 1.344 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.053e-06/1.438, allocations: 0 / 0.9857 GB, free: 1.344 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 9.748e-06/1.438, allocations: 4 kB / 0.9857 GB, free: 1.34 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004297/1.438, allocations: 350.3 kB / 0.9861 GB, free: 0.957 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.737e-05/1.438, allocations: 8.031 kB / 0.9861 GB, free: 0.9492 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.723e-05/1.438, allocations: 34.56 kB / 0.9861 GB, free: 0.9062 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001025/1.439, allocations: 7.953 kB / 0.9861 GB, free: 0.8984 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001303/1.439, allocations: 170.6 kB / 0.9863 GB, free: 0.6953 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.273e-05/1.439, allocations: 3.938 kB / 0.9863 GB, free: 0.6914 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.616e-05/1.439, allocations: 4 kB / 0.9863 GB, free: 0.6875 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001611/1.439, allocations: 52.67 kB / 0.9863 GB, free: 0.6367 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/1.439, allocations: 0 / 0.9863 GB, free: 0.6367 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.498e-05/1.439, allocations: 4 kB / 0.9864 GB, free: 0.6328 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.115e-06/1.439, allocations: 4 kB / 0.9864 GB, free: 0.6289 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001062/1.439, allocations: 23.8 kB / 0.9864 GB, free: 0.6094 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000305/1.439, allocations: 172.1 kB / 0.9865 GB, free: 408 kB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001811/1.44, allocations: 41.7 kB / 0.9866 GB, free: 364 kB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.607e-05/1.44, allocations: 16.42 kB / 0.9866 GB, free: 348 kB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001271/1.441, allocations: 0.6093 MB / 0.9872 GB, free: 15.64 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.379e-05/1.441, allocations: 34.56 kB / 0.9872 GB, free: 15.59 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=5): time 9.277e-06/1.441, allocations: 0 / 0.9872 GB, free: 15.59 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0006965/1.442, allocations: 295.9 kB / 0.9875 GB, free: 15.27 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.477e-05/1.442, allocations: 59.28 kB / 0.9876 GB, free: 15.2 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.16e-05/1.442, allocations: 96.91 kB / 0.9877 GB, free: 15.1 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.434e-05/1.442, allocations: 33.58 kB / 0.9877 GB, free: 15.07 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.259e-05/1.442, allocations: 80.14 kB / 0.9878 GB, free: 14.98 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.105e-05/1.442, allocations: 31.48 kB / 0.9878 GB, free: 14.96 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.08e-06/1.442, allocations: 0 / 0.9878 GB, free: 14.96 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001239/1.442, allocations: 314.7 kB / 0.9881 GB, free: 14.64 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.345e-05/1.442, allocations: 11.94 kB / 0.9881 GB, free: 14.64 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.731e-05/1.442, allocations: 60.77 kB / 0.9882 GB, free: 14.56 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.666e-05/1.443, allocations: 15.88 kB / 0.9882 GB, free: 14.55 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/1.443, allocations: 0 / 0.9882 GB, free: 14.55 MB / 0.7448 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002025/1.443, allocations: 91.91 kB / 0.9883 GB, free: 14.46 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.08e-05/1.443, allocations: 12.08 kB / 0.9883 GB, free: 14.45 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.407e-06/1.443, allocations: 3.984 kB / 0.9883 GB, free: 14.45 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.774e-05/1.443, allocations: 4 kB / 0.9883 GB, free: 14.45 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001449/1.443, allocations: 16.05 kB / 0.9883 GB, free: 14.43 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.795e-05/1.443, allocations: 7.938 kB / 0.9883 GB, free: 14.42 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.054e-05/1.443, allocations: 6.734 kB / 0.9883 GB, free: 14.42 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.19e-05/1.443, allocations: 4 kB / 0.9883 GB, free: 14.41 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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.286e-05/1.443, allocations: 108.4 kB / 0.9884 GB, free: 14.3 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.737e-05/1.443, allocations: 7.891 kB / 0.9884 GB, free: 14.3 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.409e-05/1.443, allocations: 20.23 kB / 0.9884 GB, free: 14.28 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/1.443, allocations: 0 / 0.9884 GB, free: 14.28 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/1.443, allocations: 7.938 kB / 0.9885 GB, free: 14.27 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/1.443, allocations: 0 / 0.9885 GB, free: 14.27 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003817/1.444, allocations: 177.5 kB / 0.9886 GB, free: 14.06 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/1.444, allocations: 0 / 0.9886 GB, free: 14.06 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001992/1.444, allocations: 15.94 kB / 0.9886 GB, free: 14.04 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.521e-06/1.444, allocations: 4 kB / 0.9886 GB, free: 14.04 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.336e-05/1.444, allocations: 3.984 kB / 0.9886 GB, free: 14.04 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.027e-06/1.444, allocations: 3.953 kB / 0.9887 GB, free: 14.03 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/1.444, allocations: 4 kB / 0.9887 GB, free: 14.03 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002249/1.444, allocations: 167.1 kB / 0.9888 GB, free: 13.86 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 7.014e-05/1.444, allocations: 81.14 kB / 0.9889 GB, free: 13.76 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.85e-05/1.444, allocations: 0 / 0.9889 GB, free: 13.76 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001618/1.445, allocations: 4 kB / 0.9889 GB, free: 13.76 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.287e-05/1.445, allocations: 11.83 kB / 0.9889 GB, free: 13.75 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.658e-06/1.445, allocations: 0 / 0.9889 GB, free: 13.75 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.132e-05/1.445, allocations: 87.27 kB / 0.989 GB, free: 13.66 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4.4e-07/1.445, allocations: 0 / 0.989 GB, free: 13.66 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003539/1.445, allocations: 15.88 kB / 0.989 GB, free: 13.65 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,cpSym,cvSym) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0005631/1.446, allocations: 0.7256 MB / 0.9897 GB, free: 12.91 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.00015/1.446, allocations: 38.38 kB / 0.9898 GB, free: 12.88 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/1.446, allocations: 0 / 0.9898 GB, free: 12.88 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.073e-05/1.446, allocations: 15.56 kB / 0.9898 GB, free: 12.87 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002156/1.446, allocations: 16.12 kB / 0.9898 GB, free: 12.86 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009144/1.447, allocations: 318.2 kB / 0.9901 GB, free: 12.52 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002795/1.447, allocations: 0.6887 MB / 0.9908 GB, free: 11.8 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 9.156e-05/1.447, allocations: 11.77 kB / 0.9908 GB, free: 11.79 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.812e-05/1.447, allocations: 14.88 kB / 0.9908 GB, free: 11.78 MB / 0.7448 GB Notification: Performance of SimCode: time 7.22e-07/1.447, allocations: 4 kB / 0.9908 GB, free: 11.78 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02499/1.472, allocations: 1.804 MB / 0.9925 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003141/1.473, allocations: 154.2 kB / 0.9927 GB, free: 9.809 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.214/3.686, allocations: 0 / 0.9927 GB, free: 9.809 MB / 0.7448 GB