Running command: "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,fileNamePrefix="Buildings_5_0_1_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.645/3.645, allocations: 403.3 MB / 415.4 MB, free: 12.98 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.841e-05/3.85e-05, allocations: 11.94 kB / 0.4991 GB, free: 13.34 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6167/0.6168, allocations: 92.68 MB / 0.5896 GB, free: 14.46 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2507/0.8676, allocations: 121 MB / 0.7078 GB, free: 5.273 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002817/0.8679, allocations: 79.95 kB / 0.7079 GB, free: 5.195 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.02248/0.8904, allocations: 4.493 MB / 0.7123 GB, free: 0.6953 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.392e-06/0.8905, allocations: 4 kB / 0.7123 GB, free: 0.6914 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 8.175e-06/0.8905, allocations: 0 / 0.7123 GB, free: 0.6914 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004378/0.8909, allocations: 354.4 kB / 0.7126 GB, free: 308 kB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.849e-05/0.891, allocations: 8.031 kB / 0.7126 GB, free: 300 kB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.521e-05/0.8911, allocations: 34.55 kB / 0.7127 GB, free: 256 kB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.019e-05/0.8911, allocations: 7.953 kB / 0.7127 GB, free: 248 kB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000126/0.8912, allocations: 163 kB / 0.7128 GB, free: 44 kB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.899e-05/0.8913, allocations: 12 kB / 0.7128 GB, free: 32 kB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.659e-05/0.8913, allocations: 7.906 kB / 0.7129 GB, free: 24 kB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006441/0.892, allocations: 85.64 kB / 0.7129 GB, free: 15.93 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.824e-05/0.892, allocations: 0 / 0.7129 GB, free: 15.93 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.33e-05/0.892, allocations: 0 / 0.7129 GB, free: 15.93 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.259e-05/0.892, allocations: 7.953 kB / 0.7129 GB, free: 15.93 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004824/0.8925, allocations: 55.89 kB / 0.713 GB, free: 15.87 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002165/0.8928, allocations: 165.7 kB / 0.7132 GB, free: 15.66 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005494/0.8933, allocations: 86.91 kB / 0.7132 GB, free: 15.57 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.939e-05/0.8934, allocations: 28.86 kB / 0.7133 GB, free: 15.54 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003275/0.8938, allocations: 101.1 kB / 0.7134 GB, free: 15.42 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.3e-05/0.8938, allocations: 30.56 kB / 0.7134 GB, free: 15.38 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 4.879e-06/0.8938, allocations: 0 / 0.7134 GB, free: 15.38 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11): time 0.007406/0.9012, allocations: 1.008 MB / 0.7144 GB, free: 14.28 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.991e-05/0.9013, allocations: 55.34 kB / 0.7144 GB, free: 14.21 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.801e-05/0.9014, allocations: 97 kB / 0.7145 GB, free: 14.11 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.01e-05/0.9015, allocations: 25.7 kB / 0.7145 GB, free: 14.08 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.932e-05/0.9015, allocations: 80.14 kB / 0.7146 GB, free: 14 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 6.715e-05/0.9016, allocations: 47.39 kB / 0.7147 GB, free: 13.95 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.612e-05/0.9016, allocations: 0 / 0.7147 GB, free: 13.95 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001362/0.9018, allocations: 314.8 kB / 0.715 GB, free: 13.63 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001273/0.9019, allocations: 31.98 kB / 0.715 GB, free: 13.6 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001253/0.902, allocations: 32 kB / 0.715 GB, free: 13.57 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001366/0.9022, allocations: 31.98 kB / 0.7151 GB, free: 13.54 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.9022, allocations: 128 / 0.7151 GB, free: 13.54 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003836/0.9026, allocations: 117.6 kB / 0.7152 GB, free: 13.42 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.198e-05/0.9026, allocations: 8 kB / 0.7152 GB, free: 13.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.9027, allocations: 0 / 0.7152 GB, free: 13.41 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.718e-05/0.9027, allocations: 3.984 kB / 0.7152 GB, free: 13.41 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006722/0.9034, allocations: 55.89 kB / 0.7152 GB, free: 13.35 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.066e-05/0.9034, allocations: 3.953 kB / 0.7152 GB, free: 13.35 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004429/0.9038, allocations: 35.97 kB / 0.7153 GB, free: 13.31 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.433e-05/0.9039, allocations: 0 / 0.7153 GB, free: 13.31 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 (13): * Single equations (assignments): 13 * 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.0001164/0.904, allocations: 110.5 kB / 0.7154 GB, free: 13.2 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.671e-05/0.9041, allocations: 7.906 kB / 0.7154 GB, free: 13.19 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.642e-05/0.9041, allocations: 16.03 kB / 0.7154 GB, free: 13.18 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.9041, allocations: 0 / 0.7154 GB, free: 13.18 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.9042, allocations: 0 / 0.7154 GB, free: 13.18 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.376e-06/0.9042, allocations: 11.94 kB / 0.7154 GB, free: 13.16 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007954/0.905, allocations: 382.5 kB / 0.7158 GB, free: 12.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.905, allocations: 0 / 0.7158 GB, free: 12.73 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006565/0.9057, allocations: 51.95 kB / 0.7158 GB, free: 12.68 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.64e-06/0.9057, allocations: 0 / 0.7158 GB, free: 12.68 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.923e-05/0.9057, allocations: 7.953 kB / 0.7158 GB, free: 12.68 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.35e-06/0.9057, allocations: 3.984 kB / 0.7158 GB, free: 12.67 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.9057, allocations: 4 kB / 0.7158 GB, free: 12.67 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000592/0.9063, allocations: 259.6 kB / 0.7161 GB, free: 12.4 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.739e-05/0.9064, allocations: 81.02 kB / 0.7162 GB, free: 12.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.634e-05/0.9065, allocations: 8 kB / 0.7162 GB, free: 12.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005282/0.907, allocations: 35.98 kB / 0.7162 GB, free: 12.26 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.792e-05/0.9071, allocations: 7.984 kB / 0.7162 GB, free: 12.25 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.416e-05/0.9071, allocations: 8 kB / 0.7162 GB, free: 12.24 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.489e-05/0.9071, allocations: 79.28 kB / 0.7163 GB, free: 12.16 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.9e-07/0.9072, allocations: 0 / 0.7163 GB, free: 12.16 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003419/0.9075, allocations: 28.08 kB / 0.7163 GB, free: 12.14 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (m_flow_comp,der_m_flow_comp) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0009702/0.9085, allocations: 0.802 MB / 0.7171 GB, free: 11.3 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003396/0.9088, allocations: 76.36 kB / 0.7172 GB, free: 11.23 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 5.851e-06/0.9089, allocations: 7.938 kB / 0.7172 GB, free: 11.22 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001556/0.909, allocations: 43.92 kB / 0.7172 GB, free: 11.18 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001832/0.9092, allocations: 11.95 kB / 0.7172 GB, free: 11.17 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002535/0.9118, allocations: 428.2 kB / 0.7177 GB, free: 10.71 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003202/0.9121, allocations: 0.6887 MB / 0.7183 GB, free: 9.996 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0002487/0.9124, allocations: 16 kB / 0.7183 GB, free: 9.98 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001288/0.9125, allocations: 19.42 kB / 0.7184 GB, free: 9.961 MB / 0.6042 GB Notification: Performance of SimCode: time 1.032e-06/0.9126, allocations: 4 kB / 0.7184 GB, free: 9.957 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02529/0.9379, allocations: 1.854 MB / 0.7202 GB, free: 8.207 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003201/0.9383, allocations: 200.6 kB / 0.7204 GB, free: 7.98 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.163/3.101, allocations: 0.5156 kB / 0.7204 GB, free: 7.98 MB / 0.6042 GB