Running command: "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.604/4.604, allocations: 460.4 MB / 472.6 MB, free: 5.367 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.683e-05/3.689e-05, allocations: 4 kB / 0.5682 GB, free: 10.05 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.258/0.258, allocations: 106.2 MB / 0.6719 GB, free: 15.65 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.924/1.182, allocations: 132.1 MB / 0.8009 GB, free: 13.09 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002853/1.182, allocations: 81.98 kB / 0.801 GB, free: 13.09 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.0138/1.196, allocations: 2.834 MB / 0.8037 GB, free: 12.62 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.334e-06/1.196, allocations: 0 / 0.8037 GB, free: 12.62 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.975e-06/1.196, allocations: 0 / 0.8037 GB, free: 12.62 MB / 0.6355 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.0003712/1.197, allocations: 347.1 kB / 0.804 GB, free: 12.25 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.835e-05/1.197, allocations: 7.656 kB / 0.8041 GB, free: 12.25 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.066e-05/1.197, allocations: 40.02 kB / 0.8041 GB, free: 12.21 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.162e-05/1.197, allocations: 7.938 kB / 0.8041 GB, free: 12.2 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.156e-05/1.197, allocations: 166.2 kB / 0.8043 GB, free: 12 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.405e-05/1.197, allocations: 3.844 kB / 0.8043 GB, free: 12 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.194e-05/1.197, allocations: 5.188 kB / 0.8043 GB, free: 12 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001183/1.197, allocations: 38.8 kB / 0.8043 GB, free: 11.97 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/1.197, allocations: 0 / 0.8043 GB, free: 11.97 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.211e-05/1.197, allocations: 1.547 kB / 0.8043 GB, free: 11.97 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/1.197, allocations: 0 / 0.8043 GB, free: 11.97 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.998e-05/1.197, allocations: 11.64 kB / 0.8043 GB, free: 11.97 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001615/1.197, allocations: 157.3 kB / 0.8045 GB, free: 11.78 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002143/1.198, allocations: 46.66 kB / 0.8045 GB, free: 11.75 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.535e-05/1.198, allocations: 17.94 kB / 0.8045 GB, free: 11.74 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.524e-05/1.198, allocations: 0 / 0.8045 GB, free: 11.74 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.605e-05/1.198, allocations: 35.53 kB / 0.8046 GB, free: 11.7 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 1.714e-06/1.198, allocations: 0 / 0.8046 GB, free: 11.7 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6): time 0.0006955/1.198, allocations: 296.2 kB / 0.8048 GB, free: 11.45 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.553e-05/1.199, allocations: 59.23 kB / 0.8049 GB, free: 11.38 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.743e-05/1.199, allocations: 89.89 kB / 0.805 GB, free: 11.29 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.374e-05/1.199, allocations: 37.45 kB / 0.805 GB, free: 11.25 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.304e-05/1.199, allocations: 80.14 kB / 0.8051 GB, free: 11.17 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.032e-05/1.199, allocations: 17.2 kB / 0.8051 GB, free: 11.16 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.148e-06/1.199, allocations: 3.719 kB / 0.8051 GB, free: 11.16 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.313e-05/1.199, allocations: 315.6 kB / 0.8054 GB, free: 10.84 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.402e-05/1.199, allocations: 14.62 kB / 0.8054 GB, free: 10.84 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.291e-05/1.199, allocations: 15.48 kB / 0.8055 GB, free: 10.84 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.214e-05/1.199, allocations: 11.89 kB / 0.8055 GB, free: 10.84 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/1.199, allocations: 3.594 kB / 0.8055 GB, free: 10.84 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001305/1.199, allocations: 67.45 kB / 0.8055 GB, free: 10.8 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/1.199, allocations: 3.906 kB / 0.8055 GB, free: 10.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/1.199, allocations: 0 / 0.8055 GB, free: 10.8 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.667e-05/1.199, allocations: 384 / 0.8055 GB, free: 10.8 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.286e-05/1.199, allocations: 13.23 kB / 0.8055 GB, free: 10.8 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.936e-06/1.199, allocations: 1.594 kB / 0.8055 GB, free: 10.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.107e-05/1.199, allocations: 11.7 kB / 0.8056 GB, free: 10.79 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.717e-06/1.199, allocations: 0 / 0.8056 GB, free: 10.79 MB / 0.6355 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 5.564e-05/1.199, allocations: 104.8 kB / 0.8057 GB, free: 10.68 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.408e-05/1.199, allocations: 0 / 0.8057 GB, free: 10.68 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001839/1.2, allocations: 79.55 kB / 0.8057 GB, free: 10.64 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/1.2, allocations: 0 / 0.8057 GB, free: 10.64 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/1.2, allocations: 4.125 kB / 0.8057 GB, free: 10.63 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/1.2, allocations: 1.219 kB / 0.8057 GB, free: 10.63 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003441/1.2, allocations: 316.1 kB / 0.806 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.427e-06/1.2, allocations: 0 / 0.806 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001165/1.2, allocations: 20 kB / 0.8061 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/1.2, allocations: 0 / 0.8061 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.029e-05/1.2, allocations: 1.312 kB / 0.8061 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/1.2, allocations: 0 / 0.8061 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/1.2, allocations: 7.922 kB / 0.8061 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002044/1.2, allocations: 183.4 kB / 0.8062 GB, free: 10.16 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.32e-05/1.201, allocations: 86.98 kB / 0.8063 GB, free: 10.06 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.877e-05/1.201, allocations: 5.25 kB / 0.8063 GB, free: 10.06 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.908e-05/1.201, allocations: 7.828 kB / 0.8063 GB, free: 10.05 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.822e-05/1.201, allocations: 5.062 kB / 0.8063 GB, free: 10.05 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.022e-05/1.201, allocations: 3.812 kB / 0.8063 GB, free: 10.05 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.989e-05/1.201, allocations: 87.23 kB / 0.8064 GB, free: 9.973 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.11e-07/1.201, allocations: 0 / 0.8064 GB, free: 9.973 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003566/1.201, allocations: 36.67 kB / 0.8065 GB, free: 9.957 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (dp_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.0009925/1.202, allocations: 0.8095 MB / 0.8073 GB, free: 25.2 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001391/1.202, allocations: 32.02 kB / 0.8073 GB, free: 25.2 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/1.202, allocations: 4.062 kB / 0.8073 GB, free: 25.19 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 4.152e-05/1.202, allocations: 14.84 kB / 0.8073 GB, free: 25.19 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002016/1.203, allocations: 4.422 kB / 0.8073 GB, free: 25.19 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006248/1.203, allocations: 198 kB / 0.8075 GB, free: 25.02 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002852/1.204, allocations: 0.687 MB / 0.8082 GB, free: 24.32 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 5.398e-05/1.204, allocations: 3.875 kB / 0.8082 GB, free: 24.32 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.978e-05/1.204, allocations: 15.34 kB / 0.8082 GB, free: 24.32 MB / 0.6511 GB Notification: Performance of SimCode: time 1.413e-06/1.204, allocations: 0 / 0.8082 GB, free: 24.32 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02442/1.228, allocations: 1.35 MB / 0.8095 GB, free: 24.1 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000245/1.228, allocations: 203.7 kB / 0.8097 GB, free: 23.86 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.338/3.566, allocations: 0 / 0.8097 GB, free: 23.86 MB / 0.6511 GB