Running command: "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,fileNamePrefix="Buildings_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.696/4.696, allocations: 464.6 MB / 476.8 MB, free: 2.199 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.564e-05/3.568e-05, allocations: 4 kB / 0.5732 GB, free: 5.621 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2449/0.245, allocations: 107.2 MB / 0.6778 GB, free: 10.27 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9477/1.193, allocations: 132.4 MB / 0.8072 GB, free: 12.62 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003506/1.193, allocations: 79.84 kB / 0.8073 GB, free: 12.62 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01658/1.21, allocations: 2.833 MB / 0.81 GB, free: 12.16 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.963e-06/1.21, allocations: 0 / 0.81 GB, free: 12.16 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.886e-06/1.21, allocations: 0 / 0.81 GB, free: 12.16 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.0004007/1.21, allocations: 354 kB / 0.8104 GB, free: 11.79 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.87e-05/1.21, allocations: 7.844 kB / 0.8104 GB, free: 11.79 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.477e-05/1.21, allocations: 33.56 kB / 0.8104 GB, free: 11.75 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.787e-05/1.21, allocations: 7.844 kB / 0.8104 GB, free: 11.75 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001124/1.211, allocations: 163 kB / 0.8106 GB, free: 11.55 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.545e-05/1.211, allocations: 4 kB / 0.8106 GB, free: 11.55 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.626e-05/1.211, allocations: 7.828 kB / 0.8106 GB, free: 11.54 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001306/1.211, allocations: 39.19 kB / 0.8106 GB, free: 11.51 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/1.211, allocations: 0 / 0.8106 GB, free: 11.51 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.358e-05/1.211, allocations: 3.844 kB / 0.8106 GB, free: 11.51 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/1.211, allocations: 0 / 0.8106 GB, free: 11.51 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.705e-05/1.211, allocations: 11.12 kB / 0.8106 GB, free: 11.51 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002066/1.211, allocations: 163.3 kB / 0.8108 GB, free: 11.32 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002635/1.211, allocations: 40.14 kB / 0.8108 GB, free: 11.29 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.731e-05/1.212, allocations: 18.27 kB / 0.8108 GB, free: 11.28 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.062e-05/1.212, allocations: 3.844 kB / 0.8108 GB, free: 11.28 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.412e-05/1.212, allocations: 30.56 kB / 0.8109 GB, free: 11.24 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 2.044e-06/1.212, allocations: 3.938 kB / 0.8109 GB, free: 11.24 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6): time 0.0007607/1.212, allocations: 303.2 kB / 0.8112 GB, free: 10.98 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.071e-05/1.212, allocations: 55.41 kB / 0.8112 GB, free: 10.91 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.078e-05/1.213, allocations: 91.94 kB / 0.8113 GB, free: 10.82 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.488e-05/1.213, allocations: 29.2 kB / 0.8113 GB, free: 10.79 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.157e-05/1.213, allocations: 80.14 kB / 0.8114 GB, free: 10.71 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.792e-05/1.213, allocations: 18.14 kB / 0.8114 GB, free: 10.7 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.749e-06/1.213, allocations: 0 / 0.8114 GB, free: 10.7 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.16e-05/1.213, allocations: 314.8 kB / 0.8117 GB, free: 10.38 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.537e-05/1.213, allocations: 15.12 kB / 0.8117 GB, free: 10.38 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.196e-05/1.213, allocations: 11.53 kB / 0.8118 GB, free: 10.38 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.36e-05/1.213, allocations: 21.83 kB / 0.8118 GB, free: 10.38 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.223e-06/1.213, allocations: 0 / 0.8118 GB, free: 10.38 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001247/1.213, allocations: 61.73 kB / 0.8118 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/1.213, allocations: 3.969 kB / 0.8118 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/1.213, allocations: 3.938 kB / 0.8118 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/1.213, allocations: 0 / 0.8118 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.649e-05/1.213, allocations: 13.38 kB / 0.8119 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/1.213, allocations: 0 / 0.8119 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.948e-05/1.213, allocations: 3.844 kB / 0.8119 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.055e-06/1.213, allocations: 0 / 0.8119 GB, free: 10.34 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.403e-05/1.213, allocations: 116.1 kB / 0.812 GB, free: 10.22 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.38e-05/1.213, allocations: 3.875 kB / 0.812 GB, free: 10.22 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001724/1.214, allocations: 65.31 kB / 0.812 GB, free: 10.18 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/1.214, allocations: 8.156 kB / 0.812 GB, free: 10.18 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.77e-06/1.214, allocations: 3.328 kB / 0.812 GB, free: 10.18 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/1.214, allocations: 0 / 0.812 GB, free: 10.18 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003174/1.214, allocations: 310.1 kB / 0.8123 GB, free: 9.867 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/1.214, allocations: 7.906 kB / 0.8123 GB, free: 9.863 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001047/1.214, allocations: 7.875 kB / 0.8124 GB, free: 9.863 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.359e-06/1.214, allocations: 3.984 kB / 0.8124 GB, free: 9.859 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.095e-05/1.214, allocations: 7.844 kB / 0.8124 GB, free: 9.855 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.325e-06/1.214, allocations: 0 / 0.8124 GB, free: 9.855 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/1.214, allocations: 0 / 0.8124 GB, free: 9.855 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002/1.214, allocations: 201.5 kB / 0.8126 GB, free: 9.688 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.023e-05/1.214, allocations: 84.38 kB / 0.8126 GB, free: 9.594 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.682e-05/1.214, allocations: 3.938 kB / 0.8126 GB, free: 9.59 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001036/1.214, allocations: 3.688 kB / 0.8126 GB, free: 9.59 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.576e-05/1.215, allocations: 3.844 kB / 0.8126 GB, free: 9.59 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.669e-06/1.215, allocations: 7.312 kB / 0.8127 GB, free: 9.59 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.614e-05/1.215, allocations: 79.23 kB / 0.8127 GB, free: 9.512 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.21e-07/1.215, allocations: 0 / 0.8127 GB, free: 9.512 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003392/1.215, allocations: 30.28 kB / 0.8128 GB, free: 9.504 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.0009302/1.216, allocations: 0.8194 MB / 0.8136 GB, free: 24.74 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001251/1.216, allocations: 31.77 kB / 0.8136 GB, free: 24.74 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/1.216, allocations: 0 / 0.8136 GB, free: 24.74 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 3.947e-05/1.216, allocations: 22.91 kB / 0.8136 GB, free: 24.73 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000187/1.216, allocations: 7.797 kB / 0.8136 GB, free: 24.73 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005731/1.217, allocations: 189 kB / 0.8138 GB, free: 24.56 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003084/1.217, allocations: 0.6802 MB / 0.8145 GB, free: 23.86 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 5.173e-05/1.217, allocations: 15.06 kB / 0.8145 GB, free: 23.86 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.461e-05/1.217, allocations: 14.19 kB / 0.8145 GB, free: 23.85 MB / 0.6511 GB Notification: Performance of SimCode: time 6.71e-07/1.217, allocations: 0 / 0.8145 GB, free: 23.85 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02731/1.245, allocations: 1.348 MB / 0.8158 GB, free: 23.63 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00022/1.245, allocations: 200.8 kB / 0.816 GB, free: 23.41 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.287/3.532, allocations: 4 kB / 0.816 GB, free: 23.4 MB / 0.6511 GB