Running command: "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,fileNamePrefix="Buildings_5_0_1_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.7/3.7, allocations: 403.3 MB / 415.4 MB, free: 12.99 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.823e-05/3.839e-05, allocations: 4 kB / 0.4991 GB, free: 13.35 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.606/0.6061, allocations: 92.67 MB / 0.5896 GB, free: 14.48 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2515/0.8576, allocations: 120.9 MB / 0.7077 GB, free: 5.41 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003141/0.858, allocations: 79.89 kB / 0.7078 GB, free: 5.332 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.02073/0.8788, allocations: 3.99 MB / 0.7117 GB, free: 1.336 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.563e-06/0.8788, allocations: 0 / 0.7117 GB, free: 1.336 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 8.306e-06/0.8788, allocations: 4 kB / 0.7117 GB, free: 1.332 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004115/0.8793, allocations: 338.5 kB / 0.712 GB, free: 0.957 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 9.355e-05/0.8794, allocations: 12.03 kB / 0.712 GB, free: 0.9453 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.196e-05/0.8794, allocations: 34.52 kB / 0.712 GB, free: 0.9023 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.873e-05/0.8795, allocations: 0 / 0.712 GB, free: 0.9023 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000137/0.8796, allocations: 167.1 kB / 0.7122 GB, free: 0.6992 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.373e-05/0.8796, allocations: 7.922 kB / 0.7122 GB, free: 0.6914 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.622e-05/0.8797, allocations: 4 kB / 0.7122 GB, free: 0.6875 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005985/0.8803, allocations: 81.66 kB / 0.7123 GB, free: 0.6016 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.328e-06/0.8803, allocations: 0 / 0.7123 GB, free: 0.6016 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.258e-05/0.8803, allocations: 0 / 0.7123 GB, free: 0.6016 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.8803, allocations: 3.953 kB / 0.7123 GB, free: 0.5977 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004687/0.8808, allocations: 47.94 kB / 0.7123 GB, free: 0.5508 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002163/0.8811, allocations: 169.6 kB / 0.7125 GB, free: 344 kB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006615/0.8817, allocations: 78.47 kB / 0.7126 GB, free: 256 kB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.108e-05/0.8818, allocations: 16.86 kB / 0.7126 GB, free: 236 kB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003232/0.8821, allocations: 93.19 kB / 0.7127 GB, free: 124 kB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.053e-05/0.8822, allocations: 38.55 kB / 0.7127 GB, free: 76 kB / 0.5886 GB Notification: Performance of pre-optimization done (n=4): time 2.614e-06/0.8822, allocations: 0 / 0.7127 GB, free: 76 kB / 0.5886 GB Notification: Performance of matching and sorting (n=6): time 0.002712/0.8849, allocations: 462 kB / 0.7132 GB, free: 15.57 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.89e-05/0.885, allocations: 51.41 kB / 0.7132 GB, free: 15.51 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.497e-05/0.8851, allocations: 96.98 kB / 0.7133 GB, free: 15.41 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.418e-05/0.8851, allocations: 25.7 kB / 0.7133 GB, free: 15.38 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.131e-05/0.8852, allocations: 84.14 kB / 0.7134 GB, free: 15.29 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.125e-05/0.8852, allocations: 19.66 kB / 0.7134 GB, free: 15.27 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.437e-06/0.8853, allocations: 0 / 0.7134 GB, free: 15.27 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001201/0.8854, allocations: 318.8 kB / 0.7137 GB, free: 14.95 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.949e-05/0.8855, allocations: 16 kB / 0.7137 GB, free: 14.93 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.499e-05/0.8856, allocations: 12 kB / 0.7138 GB, free: 14.92 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.074e-05/0.8856, allocations: 19.98 kB / 0.7138 GB, free: 14.9 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.8857, allocations: 7.938 kB / 0.7138 GB, free: 14.89 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002347/0.8859, allocations: 73.62 kB / 0.7139 GB, free: 14.82 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.8859, allocations: 4 kB / 0.7139 GB, free: 14.81 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.886, allocations: 0 / 0.7139 GB, free: 14.81 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.824e-05/0.886, allocations: 0 / 0.7139 GB, free: 14.81 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003589/0.8864, allocations: 31.97 kB / 0.7139 GB, free: 14.78 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.079e-05/0.8864, allocations: 3.953 kB / 0.7139 GB, free: 14.78 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002426/0.8866, allocations: 23.92 kB / 0.7139 GB, free: 14.75 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.899e-05/0.8867, allocations: 0 / 0.7139 GB, free: 14.75 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 0.0001041/0.8868, allocations: 113.3 kB / 0.714 GB, free: 14.64 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.273e-05/0.8868, allocations: 384 / 0.714 GB, free: 14.64 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.35e-05/0.8869, allocations: 8.094 kB / 0.714 GB, free: 14.63 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/0.8869, allocations: 7.938 kB / 0.714 GB, free: 14.62 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.8869, allocations: 0 / 0.714 GB, free: 14.62 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.534e-06/0.8869, allocations: 7.938 kB / 0.714 GB, free: 14.61 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008279/0.8878, allocations: 343.4 kB / 0.7144 GB, free: 14.22 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.8878, allocations: 0 / 0.7144 GB, free: 14.22 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003591/0.8882, allocations: 35.91 kB / 0.7144 GB, free: 14.18 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.724e-06/0.8882, allocations: 4 kB / 0.7144 GB, free: 14.18 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.084e-05/0.8882, allocations: 3.984 kB / 0.7144 GB, free: 14.18 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.584e-06/0.8882, allocations: 7.984 kB / 0.7144 GB, free: 14.17 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.524e-06/0.8882, allocations: 0 / 0.7144 GB, free: 14.17 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004001/0.8887, allocations: 206.1 kB / 0.7146 GB, free: 13.94 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 8.56e-05/0.8888, allocations: 89.12 kB / 0.7147 GB, free: 13.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.883e-05/0.8888, allocations: 3.953 kB / 0.7147 GB, free: 13.83 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003095/0.8891, allocations: 20.05 kB / 0.7147 GB, free: 13.81 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.655e-05/0.8892, allocations: 7.984 kB / 0.7147 GB, free: 13.8 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.752e-05/0.8892, allocations: 7.938 kB / 0.7147 GB, free: 13.8 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.716e-05/0.8893, allocations: 79.28 kB / 0.7148 GB, free: 13.72 MB / 0.6042 GB Notification: Performance of sort global known variables: time 4.51e-07/0.8893, allocations: 0 / 0.7148 GB, free: 13.72 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003114/0.8896, allocations: 12 kB / 0.7148 GB, free: 13.71 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (m_flow_comp) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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.0007609/0.8904, allocations: 0.8345 MB / 0.7156 GB, free: 12.84 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002147/0.8906, allocations: 51.86 kB / 0.7157 GB, free: 12.79 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.8906, allocations: 0 / 0.7157 GB, free: 12.79 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 8.51e-05/0.8907, allocations: 19.98 kB / 0.7157 GB, free: 12.77 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001862/0.8909, allocations: 9.484 kB / 0.7157 GB, free: 12.76 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001378/0.8923, allocations: 251.8 kB / 0.716 GB, free: 12.48 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002691/0.8926, allocations: 0.6809 MB / 0.7166 GB, free: 11.77 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001261/0.8927, allocations: 12 kB / 0.7166 GB, free: 11.76 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.945e-05/0.8928, allocations: 19.42 kB / 0.7167 GB, free: 11.74 MB / 0.6042 GB Notification: Performance of SimCode: time 1.092e-06/0.8929, allocations: 0 / 0.7167 GB, free: 11.74 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02394/0.9168, allocations: 1.481 MB / 0.7181 GB, free: 10.36 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003125/0.9172, allocations: 196.9 kB / 0.7183 GB, free: 10.13 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.141/3.059, allocations: 0 / 0.7183 GB, free: 10.13 MB / 0.6042 GB