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 4.191/4.191, allocations: 403.3 MB / 415.4 MB, free: 13.02 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 4.161e-05/4.157e-05, allocations: 4 kB / 0.4991 GB, free: 13.35 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6031/0.6032, allocations: 92.68 MB / 0.5896 GB, free: 14.39 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2262/0.8295, allocations: 120.9 MB / 0.7077 GB, free: 5.324 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002885/0.8298, allocations: 83.94 kB / 0.7078 GB, free: 5.242 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.02064/0.8504, allocations: 3.99 MB / 0.7117 GB, free: 1.246 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.094e-06/0.8505, allocations: 7.938 kB / 0.7117 GB, free: 1.238 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 7.784e-06/0.8505, allocations: 0 / 0.7117 GB, free: 1.238 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.0005066/0.8511, allocations: 346.4 kB / 0.712 GB, free: 0.8555 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 6.329e-05/0.8511, allocations: 8.031 kB / 0.712 GB, free: 0.8477 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.021e-05/0.8512, allocations: 38.52 kB / 0.7121 GB, free: 0.8008 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.116e-05/0.8512, allocations: 0 / 0.7121 GB, free: 0.8008 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00015/0.8514, allocations: 159.1 kB / 0.7122 GB, free: 0.6055 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.936e-05/0.8514, allocations: 4 kB / 0.7122 GB, free: 0.6016 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.1e-05/0.8515, allocations: 0 / 0.7122 GB, free: 0.6016 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006098/0.8521, allocations: 81.64 kB / 0.7123 GB, free: 0.5156 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.8521, allocations: 0 / 0.7123 GB, free: 0.5156 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.291e-05/0.8521, allocations: 0 / 0.7123 GB, free: 0.5156 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.397e-06/0.8522, allocations: 7.953 kB / 0.7123 GB, free: 0.5078 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004736/0.8526, allocations: 43.95 kB / 0.7124 GB, free: 476 kB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002571/0.8529, allocations: 173.5 kB / 0.7125 GB, free: 252 kB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006605/0.8536, allocations: 70.53 kB / 0.7126 GB, free: 172 kB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.642e-05/0.8537, allocations: 20.94 kB / 0.7126 GB, free: 148 kB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003423/0.854, allocations: 97.09 kB / 0.7127 GB, free: 32 kB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.213e-05/0.8541, allocations: 34.64 kB / 0.7127 GB, free: 15.98 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=4): time 2.995e-06/0.8541, allocations: 0 / 0.7127 GB, free: 15.98 MB / 0.6042 GB Notification: Performance of matching and sorting (n=6): time 0.002818/0.857, allocations: 454 kB / 0.7132 GB, free: 15.49 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.762e-05/0.8571, allocations: 63.39 kB / 0.7132 GB, free: 15.41 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.6e-05/0.8572, allocations: 93 kB / 0.7133 GB, free: 15.32 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.813e-05/0.8572, allocations: 25.7 kB / 0.7134 GB, free: 15.29 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.706e-05/0.8573, allocations: 80.14 kB / 0.7134 GB, free: 15.2 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.591e-05/0.8573, allocations: 23.66 kB / 0.7134 GB, free: 15.18 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.014e-05/0.8574, allocations: 0 / 0.7134 GB, free: 15.18 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001377/0.8575, allocations: 314.8 kB / 0.7138 GB, free: 14.86 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.805e-05/0.8576, allocations: 16 kB / 0.7138 GB, free: 14.85 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.647e-05/0.8577, allocations: 16 kB / 0.7138 GB, free: 14.83 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.008e-05/0.8578, allocations: 23.92 kB / 0.7138 GB, free: 14.81 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.8578, allocations: 3.938 kB / 0.7138 GB, free: 14.8 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002403/0.858, allocations: 69.59 kB / 0.7139 GB, free: 14.73 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.223e-05/0.8581, allocations: 11.94 kB / 0.7139 GB, free: 14.72 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.8581, allocations: 0 / 0.7139 GB, free: 14.72 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/0.8581, allocations: 0 / 0.7139 GB, free: 14.72 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003578/0.8585, allocations: 31.97 kB / 0.7139 GB, free: 14.69 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.24e-05/0.8585, allocations: 4.188 kB / 0.7139 GB, free: 14.69 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002644/0.8588, allocations: 19.98 kB / 0.7139 GB, free: 14.67 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.511e-05/0.8588, allocations: 11.97 kB / 0.7139 GB, free: 14.66 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.000109/0.8589, allocations: 104.9 kB / 0.714 GB, free: 14.55 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.576e-05/0.859, allocations: 4 kB / 0.7141 GB, free: 14.55 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.99e-05/0.859, allocations: 8.094 kB / 0.7141 GB, free: 14.54 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.859, allocations: 0 / 0.7141 GB, free: 14.54 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.586e-06/0.8591, allocations: 0 / 0.7141 GB, free: 14.54 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.8591, allocations: 11.89 kB / 0.7141 GB, free: 14.53 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000838/0.8599, allocations: 347.5 kB / 0.7144 GB, free: 14.13 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.818e-06/0.8599, allocations: 0 / 0.7144 GB, free: 14.13 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003481/0.8603, allocations: 27.98 kB / 0.7144 GB, free: 14.1 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.738e-06/0.8603, allocations: 3.984 kB / 0.7144 GB, free: 14.1 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.633e-05/0.8604, allocations: 4.031 kB / 0.7144 GB, free: 14.09 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.278e-06/0.8604, allocations: 11.89 kB / 0.7144 GB, free: 14.08 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.504e-06/0.8604, allocations: 0 / 0.7144 GB, free: 14.08 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003964/0.8608, allocations: 206 kB / 0.7146 GB, free: 13.86 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 8.543e-05/0.8609, allocations: 81.09 kB / 0.7147 GB, free: 13.76 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.953e-05/0.8609, allocations: 7.953 kB / 0.7147 GB, free: 13.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000316/0.8613, allocations: 20.05 kB / 0.7148 GB, free: 13.73 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.387e-05/0.8613, allocations: 8.359 kB / 0.7148 GB, free: 13.72 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.735e-05/0.8613, allocations: 4 kB / 0.7148 GB, free: 13.72 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 5.551e-05/0.8614, allocations: 83.27 kB / 0.7148 GB, free: 13.64 MB / 0.6042 GB Notification: Performance of sort global known variables: time 5.21e-07/0.8614, allocations: 0 / 0.7148 GB, free: 13.64 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003416/0.8618, allocations: 12 kB / 0.7149 GB, free: 13.62 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.000869/0.8626, allocations: 0.8349 MB / 0.7157 GB, free: 12.75 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002389/0.8629, allocations: 43.98 kB / 0.7157 GB, free: 12.71 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 6.853e-06/0.8629, allocations: 3.938 kB / 0.7157 GB, free: 12.71 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 8.326e-05/0.863, allocations: 20 kB / 0.7157 GB, free: 12.69 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000198/0.8632, allocations: 8.062 kB / 0.7157 GB, free: 12.68 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001356/0.8646, allocations: 247.8 kB / 0.716 GB, free: 12.4 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003276/0.865, allocations: 0.6809 MB / 0.7166 GB, free: 11.7 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001246/0.8651, allocations: 19.88 kB / 0.7167 GB, free: 11.68 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.345e-05/0.8652, allocations: 19.42 kB / 0.7167 GB, free: 11.66 MB / 0.6042 GB Notification: Performance of SimCode: time 1.002e-06/0.8652, allocations: 0 / 0.7167 GB, free: 11.66 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02168/0.8869, allocations: 1.459 MB / 0.7181 GB, free: 10.29 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004142/0.8874, allocations: 195.6 kB / 0.7183 GB, free: 10.07 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.374/3.262, allocations: 0 / 0.7183 GB, free: 10.07 MB / 0.6042 GB