Running command: "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.871/4.871, allocations: 460.4 MB / 472.6 MB, free: 5.379 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 5.174e-05/5.194e-05, allocations: 6.812 kB / 0.5682 GB, free: 10.08 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2715/0.2716, allocations: 106.2 MB / 0.6719 GB, free: 15.66 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9396/1.211, allocations: 132.3 MB / 0.8011 GB, free: 12.69 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003354/1.212, allocations: 84.03 kB / 0.8012 GB, free: 12.69 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02175/1.234, allocations: 4.495 MB / 0.8056 GB, free: 12.12 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.793e-06/1.234, allocations: 4 kB / 0.8056 GB, free: 12.11 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.656e-06/1.234, allocations: 3.75 kB / 0.8056 GB, free: 12.11 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004157/1.234, allocations: 350.9 kB / 0.8059 GB, free: 11.75 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.201e-05/1.234, allocations: 10.94 kB / 0.8059 GB, free: 11.75 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.206e-05/1.234, allocations: 34.31 kB / 0.806 GB, free: 11.71 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.594e-05/1.234, allocations: 7.828 kB / 0.806 GB, free: 11.71 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001047/1.234, allocations: 163 kB / 0.8061 GB, free: 11.51 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.628e-05/1.234, allocations: 7.844 kB / 0.8061 GB, free: 11.5 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.676e-05/1.234, allocations: 3.812 kB / 0.8061 GB, free: 11.5 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001427/1.235, allocations: 51.45 kB / 0.8062 GB, free: 11.47 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.598e-05/1.235, allocations: 0 / 0.8062 GB, free: 11.47 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.544e-05/1.235, allocations: 6.406 kB / 0.8062 GB, free: 11.47 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/1.235, allocations: 0 / 0.8062 GB, free: 11.47 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7e-05/1.235, allocations: 22.92 kB / 0.8062 GB, free: 11.46 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00019/1.235, allocations: 166.1 kB / 0.8064 GB, free: 11.27 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001373/1.235, allocations: 54.84 kB / 0.8064 GB, free: 11.25 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.202e-05/1.235, allocations: 34.94 kB / 0.8065 GB, free: 11.23 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.232e-05/1.235, allocations: 0 / 0.8065 GB, free: 11.23 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.722e-05/1.235, allocations: 34.19 kB / 0.8065 GB, free: 11.2 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.773e-06/1.235, allocations: 0 / 0.8065 GB, free: 11.2 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11): time 0.001266/1.236, allocations: 0.5553 MB / 0.807 GB, free: 10.74 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.249e-05/1.237, allocations: 59.36 kB / 0.8071 GB, free: 10.67 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.607e-05/1.237, allocations: 91.7 kB / 0.8072 GB, free: 10.58 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.753e-05/1.237, allocations: 29.33 kB / 0.8072 GB, free: 10.55 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.712e-05/1.237, allocations: 91.61 kB / 0.8073 GB, free: 10.46 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.832e-05/1.237, allocations: 40.83 kB / 0.8073 GB, free: 10.43 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.433e-06/1.237, allocations: 0 / 0.8073 GB, free: 10.43 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.744e-05/1.237, allocations: 317.6 kB / 0.8076 GB, free: 10.12 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.074e-05/1.237, allocations: 23.06 kB / 0.8077 GB, free: 10.12 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.561e-05/1.237, allocations: 18.78 kB / 0.8077 GB, free: 10.12 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.904e-05/1.237, allocations: 30.34 kB / 0.8077 GB, free: 10.11 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/1.237, allocations: 3.938 kB / 0.8077 GB, free: 10.11 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002128/1.237, allocations: 92.41 kB / 0.8078 GB, free: 10.07 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.041e-05/1.237, allocations: 10.66 kB / 0.8078 GB, free: 10.07 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/1.237, allocations: 0 / 0.8078 GB, free: 10.07 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.63e-05/1.237, allocations: 0 / 0.8078 GB, free: 10.07 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001877/1.238, allocations: 25.11 kB / 0.8078 GB, free: 10.07 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/1.238, allocations: 0 / 0.8078 GB, free: 10.07 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.52e-05/1.238, allocations: 7.859 kB / 0.8078 GB, free: 10.06 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.343e-05/1.238, allocations: 7.562 kB / 0.8079 GB, free: 10.06 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 (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 7.584e-05/1.238, allocations: 108.7 kB / 0.808 GB, free: 9.949 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.195e-05/1.238, allocations: 7.312 kB / 0.808 GB, free: 9.949 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003141/1.238, allocations: 96.58 kB / 0.8081 GB, free: 9.906 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.199e-06/1.238, allocations: 3.844 kB / 0.8081 GB, free: 9.906 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/1.238, allocations: 0 / 0.8081 GB, free: 9.906 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.01e-06/1.238, allocations: 0 / 0.8081 GB, free: 9.906 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000502/1.239, allocations: 358.1 kB / 0.8084 GB, free: 9.594 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/1.239, allocations: 0 / 0.8084 GB, free: 9.594 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002172/1.239, allocations: 22.28 kB / 0.8084 GB, free: 9.594 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.672e-06/1.239, allocations: 0 / 0.8084 GB, free: 9.594 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.463e-05/1.239, allocations: 7.875 kB / 0.8084 GB, free: 9.59 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.668e-06/1.239, allocations: 6.547 kB / 0.8084 GB, free: 9.59 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/1.239, allocations: 3.953 kB / 0.8084 GB, free: 9.586 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003143/1.239, allocations: 210.9 kB / 0.8086 GB, free: 9.445 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.141e-05/1.239, allocations: 88.98 kB / 0.8087 GB, free: 9.344 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.26e-05/1.239, allocations: 2.766 kB / 0.8087 GB, free: 9.344 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001309/1.24, allocations: 7.75 kB / 0.8087 GB, free: 9.344 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.461e-05/1.24, allocations: 10.64 kB / 0.8087 GB, free: 9.34 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.362e-05/1.24, allocations: 0 / 0.8087 GB, free: 9.34 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0004182/1.24, allocations: 79.06 kB / 0.8088 GB, free: 25.27 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.41e-07/1.24, allocations: 0 / 0.8088 GB, free: 25.27 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0007272/1.241, allocations: 49.59 kB / 0.8089 GB, free: 25.25 MB / 0.6511 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.0009374/1.242, allocations: 0.7874 MB / 0.8096 GB, free: 24.57 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002738/1.242, allocations: 53.67 kB / 0.8097 GB, free: 24.57 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/1.242, allocations: 0 / 0.8097 GB, free: 24.57 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 7.234e-05/1.242, allocations: 33.5 kB / 0.8097 GB, free: 24.57 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002111/1.242, allocations: 3.906 kB / 0.8097 GB, free: 24.57 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008945/1.243, allocations: 287.3 kB / 0.81 GB, free: 24.34 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000337/1.244, allocations: 0.689 MB / 0.8107 GB, free: 23.65 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 8.422e-05/1.244, allocations: 26.45 kB / 0.8107 GB, free: 23.63 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.493e-05/1.244, allocations: 18.12 kB / 0.8107 GB, free: 23.63 MB / 0.6511 GB Notification: Performance of SimCode: time 1.363e-06/1.244, allocations: 0 / 0.8107 GB, free: 23.63 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02674/1.271, allocations: 1.763 MB / 0.8124 GB, free: 23.36 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003126/1.271, allocations: 192.4 kB / 0.8126 GB, free: 23.14 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.359/3.63, allocations: 0 / 0.8126 GB, free: 23.14 MB / 0.6511 GB