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.935/3.935, allocations: 403.3 MB / 415.4 MB, free: 12.98 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.631e-05/3.639e-05, allocations: 7.938 kB / 0.4991 GB, free: 13.34 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6018/0.6019, allocations: 92.68 MB / 0.5897 GB, free: 14.37 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2207/0.8226, allocations: 121 MB / 0.7079 GB, free: 5.164 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003247/0.823, allocations: 75.95 kB / 0.7079 GB, free: 5.09 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.02346/0.8465, allocations: 4.5 MB / 0.7123 GB, free: 0.582 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.783e-06/0.8465, allocations: 0 / 0.7123 GB, free: 0.582 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 7.334e-06/0.8465, allocations: 0 / 0.7123 GB, free: 0.582 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.0004634/0.847, allocations: 350.5 kB / 0.7127 GB, free: 200 kB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.011e-05/0.8471, allocations: 8.031 kB / 0.7127 GB, free: 192 kB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.035e-05/0.8471, allocations: 30.56 kB / 0.7127 GB, free: 152 kB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.903e-05/0.8472, allocations: 7.953 kB / 0.7127 GB, free: 144 kB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001573/0.8473, allocations: 167 kB / 0.7129 GB, free: 15.94 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.781e-05/0.8474, allocations: 8 kB / 0.7129 GB, free: 15.93 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.901e-05/0.8474, allocations: 3.906 kB / 0.7129 GB, free: 15.93 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006097/0.848, allocations: 89.58 kB / 0.713 GB, free: 15.83 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.396e-05/0.8481, allocations: 0 / 0.713 GB, free: 15.83 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.273e-05/0.8481, allocations: 0 / 0.713 GB, free: 15.83 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.644e-06/0.8481, allocations: 3.953 kB / 0.713 GB, free: 15.83 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004817/0.8486, allocations: 55.95 kB / 0.713 GB, free: 15.77 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002185/0.8488, allocations: 165.7 kB / 0.7132 GB, free: 15.56 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005686/0.8494, allocations: 94.89 kB / 0.7133 GB, free: 15.46 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.195e-05/0.8495, allocations: 28.86 kB / 0.7133 GB, free: 15.43 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000329/0.8499, allocations: 101 kB / 0.7134 GB, free: 15.31 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.676e-05/0.8499, allocations: 30.56 kB / 0.7134 GB, free: 15.27 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 2.104e-06/0.8499, allocations: 3.938 kB / 0.7134 GB, free: 15.27 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11): time 0.007423/0.8574, allocations: 0.9929 MB / 0.7144 GB, free: 14.18 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.336e-05/0.8575, allocations: 59.41 kB / 0.7145 GB, free: 14.11 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.736e-05/0.8576, allocations: 89 kB / 0.7145 GB, free: 14.02 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.007e-05/0.8576, allocations: 29.7 kB / 0.7146 GB, free: 13.98 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.671e-05/0.8577, allocations: 80.14 kB / 0.7146 GB, free: 13.9 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 6.962e-05/0.8577, allocations: 43.39 kB / 0.7147 GB, free: 13.86 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.648e-05/0.8578, allocations: 0 / 0.7147 GB, free: 13.86 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001405/0.8579, allocations: 318.8 kB / 0.715 GB, free: 13.54 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001294/0.8581, allocations: 32.05 kB / 0.715 GB, free: 13.51 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001256/0.8582, allocations: 32 kB / 0.715 GB, free: 13.48 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000148/0.8584, allocations: 39.98 kB / 0.7151 GB, free: 13.44 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.8584, allocations: 0 / 0.7151 GB, free: 13.44 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003908/0.8588, allocations: 117.6 kB / 0.7152 GB, free: 13.32 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 4.302e-05/0.8588, allocations: 9.859 kB / 0.7152 GB, free: 13.31 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.8588, allocations: 0 / 0.7152 GB, free: 13.31 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.8589, allocations: 0 / 0.7152 GB, free: 13.31 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006581/0.8595, allocations: 59.95 kB / 0.7153 GB, free: 13.25 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.138e-05/0.8596, allocations: 3.953 kB / 0.7153 GB, free: 13.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004601/0.86, allocations: 27.97 kB / 0.7153 GB, free: 13.22 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.867e-05/0.8601, allocations: 7.938 kB / 0.7153 GB, free: 13.21 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.0001135/0.8602, allocations: 109.4 kB / 0.7154 GB, free: 13.1 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.683e-05/0.8603, allocations: 7.906 kB / 0.7154 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.532e-05/0.8603, allocations: 16.03 kB / 0.7154 GB, free: 13.08 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.8603, allocations: 0 / 0.7154 GB, free: 13.08 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.806e-06/0.8603, allocations: 3.984 kB / 0.7154 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/0.8604, allocations: 7.953 kB / 0.7154 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008196/0.8612, allocations: 382.5 kB / 0.7158 GB, free: 12.64 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.8612, allocations: 0 / 0.7158 GB, free: 12.64 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006735/0.8619, allocations: 55.95 kB / 0.7159 GB, free: 12.58 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.516e-06/0.8619, allocations: 4 kB / 0.7159 GB, free: 12.58 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.779e-05/0.8619, allocations: 7.938 kB / 0.7159 GB, free: 12.57 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.466e-06/0.862, allocations: 0 / 0.7159 GB, free: 12.57 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.862, allocations: 0 / 0.7159 GB, free: 12.57 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006143/0.8626, allocations: 252 kB / 0.7161 GB, free: 12.31 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 5.942e-05/0.8627, allocations: 81.02 kB / 0.7162 GB, free: 12.21 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.365e-05/0.8627, allocations: 96 / 0.7162 GB, free: 12.21 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005677/0.8633, allocations: 47.95 kB / 0.7162 GB, free: 12.16 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.43e-05/0.8634, allocations: 11.92 kB / 0.7162 GB, free: 12.15 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.145e-05/0.8634, allocations: 0 / 0.7162 GB, free: 12.15 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 5.594e-05/0.8635, allocations: 83.27 kB / 0.7163 GB, free: 12.07 MB / 0.6042 GB Notification: Performance of sort global known variables: time 4.31e-07/0.8635, allocations: 0 / 0.7163 GB, free: 12.07 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003786/0.8639, allocations: 24 kB / 0.7163 GB, free: 12.05 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.0009835/0.8649, allocations: 0.7982 MB / 0.7171 GB, free: 11.22 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003562/0.8652, allocations: 83.92 kB / 0.7172 GB, free: 11.14 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.8652, allocations: 0 / 0.7172 GB, free: 11.14 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001682/0.8654, allocations: 51.86 kB / 0.7173 GB, free: 11.09 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002035/0.8656, allocations: 7.953 kB / 0.7173 GB, free: 11.08 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002627/0.8683, allocations: 423.2 kB / 0.7177 GB, free: 10.62 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000311/0.8686, allocations: 0.6926 MB / 0.7183 GB, free: 9.906 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0002396/0.8689, allocations: 16 kB / 0.7184 GB, free: 9.891 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001264/0.869, allocations: 27.42 kB / 0.7184 GB, free: 9.863 MB / 0.6042 GB Notification: Performance of SimCode: time 9.02e-07/0.869, allocations: 0 / 0.7184 GB, free: 9.863 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0266/0.8956, allocations: 1.83 MB / 0.7202 GB, free: 8.133 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000301/0.896, allocations: 206.5 kB / 0.7204 GB, free: 7.898 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.346/3.242, allocations: 4.516 kB / 0.7204 GB, free: 7.895 MB / 0.6042 GB