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={"dynamic"}) Notification: Performance of loadModel(Buildings): time 4.684/4.684, allocations: 404.1 MB / 411.3 MB, free: 356 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.577e-05/3.574e-05, allocations: 6.969 kB / 0.4945 GB, free: 1.285 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6887/0.6888, allocations: 92.69 MB / 0.5851 GB, free: 2.277 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2583/0.9471, allocations: 120.2 MB / 0.7025 GB, free: 9.879 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003312/0.9475, allocations: 79.94 kB / 0.7026 GB, free: 9.801 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.02481/0.9723, allocations: 3.974 MB / 0.7064 GB, free: 5.82 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.974e-06/0.9724, allocations: 0 / 0.7064 GB, free: 5.82 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.215e-05/0.9724, allocations: 4 kB / 0.7064 GB, free: 5.816 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.0004519/0.9729, allocations: 346.4 kB / 0.7068 GB, free: 5.434 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.826e-05/0.973, allocations: 8.031 kB / 0.7068 GB, free: 5.426 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.143e-05/0.973, allocations: 0 / 0.7068 GB, free: 5.426 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001439/0.9732, allocations: 171.1 kB / 0.7069 GB, free: 5.219 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.474e-05/0.9732, allocations: 0 / 0.7069 GB, free: 5.219 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.917e-05/0.9732, allocations: 0 / 0.7069 GB, free: 5.219 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.951e-05/0.9733, allocations: 8 kB / 0.7069 GB, free: 5.211 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.979e-05/0.9734, allocations: 41.67 kB / 0.707 GB, free: 5.164 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.898e-06/0.9735, allocations: 0 / 0.707 GB, free: 5.164 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.633e-05/0.9735, allocations: 3.953 kB / 0.707 GB, free: 5.16 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.237e-06/0.9735, allocations: 4 kB / 0.707 GB, free: 5.156 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002038/0.9737, allocations: 138.1 kB / 0.7071 GB, free: 4.984 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002522/0.974, allocations: 46.55 kB / 0.7072 GB, free: 4.93 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.111e-05/0.9741, allocations: 12.86 kB / 0.7072 GB, free: 4.914 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004155/0.9745, allocations: 93.19 kB / 0.7073 GB, free: 4.805 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.023e-05/0.9746, allocations: 38.55 kB / 0.7073 GB, free: 4.758 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=4): time 2.335e-06/0.9746, allocations: 0 / 0.7073 GB, free: 4.758 MB / 0.5886 GB Notification: Performance of matching and sorting (n=6): time 0.002064/0.9767, allocations: 370.2 kB / 0.7077 GB, free: 4.344 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.083e-05/0.9767, allocations: 51.41 kB / 0.7077 GB, free: 4.281 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001059/0.9768, allocations: 104.9 kB / 0.7078 GB, free: 4.172 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.634e-05/0.9769, allocations: 29.64 kB / 0.7078 GB, free: 4.137 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.581e-05/0.9769, allocations: 80.14 kB / 0.7079 GB, free: 4.055 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 5.134e-05/0.977, allocations: 23.66 kB / 0.7079 GB, free: 4.031 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.366e-05/0.977, allocations: 0 / 0.7079 GB, free: 4.031 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001347/0.9772, allocations: 314.8 kB / 0.7082 GB, free: 3.715 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.348e-05/0.9773, allocations: 12 kB / 0.7082 GB, free: 3.703 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.219e-05/0.9774, allocations: 19.98 kB / 0.7083 GB, free: 3.684 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.548e-05/0.9775, allocations: 15.98 kB / 0.7083 GB, free: 3.668 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.9775, allocations: 4 kB / 0.7083 GB, free: 3.664 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002604/0.9777, allocations: 73.61 kB / 0.7084 GB, free: 3.586 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.152e-05/0.9778, allocations: 4 kB / 0.7084 GB, free: 3.582 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.9778, allocations: 4 kB / 0.7084 GB, free: 3.578 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/0.9778, allocations: 0 / 0.7084 GB, free: 3.578 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004411/0.9783, allocations: 27.97 kB / 0.7084 GB, free: 3.551 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.072e-05/0.9783, allocations: 3.938 kB / 0.7084 GB, free: 3.547 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003053/0.9786, allocations: 19.98 kB / 0.7084 GB, free: 3.527 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.743e-05/0.9787, allocations: 8.016 kB / 0.7084 GB, free: 3.52 MB / 0.5886 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.0001054/0.9788, allocations: 109.5 kB / 0.7085 GB, free: 3.406 MB / 0.5886 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002415/0.979, allocations: 65.62 kB / 0.7086 GB, free: 3.336 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.362e-05/0.9791, allocations: 3.906 kB / 0.7086 GB, free: 3.332 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.513e-05/0.9791, allocations: 8.406 kB / 0.7086 GB, free: 3.32 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.973e-06/0.9792, allocations: 4 kB / 0.7086 GB, free: 3.316 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.137e-05/0.9792, allocations: 7.938 kB / 0.7086 GB, free: 3.309 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.9792, allocations: 4 kB / 0.7086 GB, free: 3.305 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008806/0.9801, allocations: 312 kB / 0.7089 GB, free: 2.953 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.9801, allocations: 0 / 0.7089 GB, free: 2.953 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004351/0.9806, allocations: 35.91 kB / 0.7089 GB, free: 2.918 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.745e-06/0.9806, allocations: 0 / 0.7089 GB, free: 2.918 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.088e-05/0.9806, allocations: 4.406 kB / 0.709 GB, free: 2.914 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.563e-06/0.9806, allocations: 3.953 kB / 0.709 GB, free: 2.91 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.254e-06/0.9807, allocations: 4 kB / 0.709 GB, free: 2.906 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004444/0.9811, allocations: 194.1 kB / 0.7091 GB, free: 2.691 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001002/0.9812, allocations: 85 kB / 0.7092 GB, free: 2.59 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.638e-05/0.9813, allocations: 11.97 kB / 0.7092 GB, free: 2.578 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003974/0.9817, allocations: 23.98 kB / 0.7093 GB, free: 2.555 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.974e-05/0.9818, allocations: 7.984 kB / 0.7093 GB, free: 2.547 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.215e-05/0.9818, allocations: 4 kB / 0.7093 GB, free: 2.543 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 5.28e-05/0.9819, allocations: 79.22 kB / 0.7093 GB, free: 2.465 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6.51e-07/0.9819, allocations: 4 kB / 0.7093 GB, free: 2.461 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0004501/0.9823, allocations: 8 kB / 0.7094 GB, free: 2.453 MB / 0.5886 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.0008827/0.9832, allocations: 0.8272 MB / 0.7102 GB, free: 1.594 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002165/0.9835, allocations: 39.92 kB / 0.7102 GB, free: 1.555 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.9835, allocations: 0 / 0.7102 GB, free: 1.555 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 9.175e-05/0.9836, allocations: 20 kB / 0.7102 GB, free: 1.535 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002409/0.9839, allocations: 4.125 kB / 0.7102 GB, free: 1.531 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001577/0.9854, allocations: 242.5 kB / 0.7105 GB, free: 1.254 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003073/0.9858, allocations: 0.6807 MB / 0.7111 GB, free: 0.5469 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0001564/0.9859, allocations: 15.98 kB / 0.7111 GB, free: 0.5312 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001098/0.9861, allocations: 15.44 kB / 0.7112 GB, free: 0.5156 MB / 0.5886 GB Notification: Performance of SimCode: time 1.112e-06/0.9861, allocations: 0 / 0.7112 GB, free: 0.5156 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04806/1.034, allocations: 1.148 MB / 0.7123 GB, free: 15.37 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003635/1.035, allocations: 186.4 kB / 0.7125 GB, free: 15.18 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 2.957/3.991, allocations: 4.031 kB / 0.7125 GB, free: 15.18 MB / 0.6042 GB