Running command: "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,fileNamePrefix="Buildings_5_0_1_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.709/3.709, allocations: 403.3 MB / 415.4 MB, free: 13.01 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 4.184e-05/4.211e-05, allocations: 7.938 kB / 0.4991 GB, free: 13.35 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6473/0.6474, allocations: 92.68 MB / 0.5896 GB, free: 14.47 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2371/0.8846, allocations: 121.7 MB / 0.7085 GB, free: 4.625 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003257/0.885, allocations: 79.94 kB / 0.7085 GB, free: 4.547 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.02202/0.907, allocations: 4.267 MB / 0.7127 GB, free: 280 kB / 0.5886 GB Notification: Performance of FrontEnd: time 1.563e-06/0.9071, allocations: 0 / 0.7127 GB, free: 280 kB / 0.5886 GB Notification: Performance of Transformations before backend: time 7.604e-06/0.9071, allocations: 0 / 0.7127 GB, free: 280 kB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006415/0.9077, allocations: 374.4 kB / 0.7131 GB, free: 15.86 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.068e-05/0.9078, allocations: 12.03 kB / 0.7131 GB, free: 15.85 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.78e-05/0.9079, allocations: 42.55 kB / 0.7131 GB, free: 15.8 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.877e-05/0.9079, allocations: 7.859 kB / 0.7131 GB, free: 15.79 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001465/0.9081, allocations: 167.1 kB / 0.7133 GB, free: 15.59 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.258e-05/0.9081, allocations: 7.938 kB / 0.7133 GB, free: 15.58 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.083e-05/0.9082, allocations: 8 kB / 0.7133 GB, free: 15.57 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005268/0.9087, allocations: 89.64 kB / 0.7134 GB, free: 15.48 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.422e-05/0.9087, allocations: 0 / 0.7134 GB, free: 15.48 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.948e-05/0.9088, allocations: 7.938 kB / 0.7134 GB, free: 15.47 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.585e-06/0.9088, allocations: 7.953 kB / 0.7134 GB, free: 15.46 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004343/0.9092, allocations: 51.97 kB / 0.7134 GB, free: 15.41 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007708/0.91, allocations: 328.6 kB / 0.7138 GB, free: 15.04 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004833/0.9105, allocations: 90.48 kB / 0.7138 GB, free: 14.95 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.943e-05/0.9106, allocations: 17.39 kB / 0.7139 GB, free: 14.93 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003041/0.9109, allocations: 93.09 kB / 0.714 GB, free: 14.82 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.472e-05/0.911, allocations: 42.55 kB / 0.714 GB, free: 14.77 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 2.384e-06/0.911, allocations: 0 / 0.714 GB, free: 14.77 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11): time 0.006117/0.9171, allocations: 0.8327 MB / 0.7148 GB, free: 13.84 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.836e-05/0.9172, allocations: 55.39 kB / 0.7149 GB, free: 13.77 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.519e-05/0.9173, allocations: 101.1 kB / 0.715 GB, free: 13.67 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.463e-05/0.9174, allocations: 29.7 kB / 0.715 GB, free: 13.63 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 6.715e-05/0.9174, allocations: 92.03 kB / 0.7151 GB, free: 13.54 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.628e-05/0.9175, allocations: 35.45 kB / 0.7151 GB, free: 13.5 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.203e-05/0.9175, allocations: 8 kB / 0.7151 GB, free: 13.5 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001461/0.9177, allocations: 314.8 kB / 0.7154 GB, free: 13.18 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001276/0.9178, allocations: 32 kB / 0.7154 GB, free: 13.15 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001237/0.918, allocations: 32 kB / 0.7155 GB, free: 13.12 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001259/0.9181, allocations: 28.36 kB / 0.7155 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.529e-06/0.9181, allocations: 3.953 kB / 0.7155 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003865/0.9185, allocations: 129.6 kB / 0.7156 GB, free: 12.95 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.124e-05/0.9186, allocations: 5.562 kB / 0.7156 GB, free: 12.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.9186, allocations: 4 kB / 0.7156 GB, free: 12.95 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.15e-05/0.9186, allocations: 4.031 kB / 0.7156 GB, free: 12.94 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006133/0.9192, allocations: 47.89 kB / 0.7157 GB, free: 12.89 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.776e-06/0.9192, allocations: 0 / 0.7157 GB, free: 12.89 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004052/0.9197, allocations: 23.98 kB / 0.7157 GB, free: 12.87 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.627e-05/0.9197, allocations: 4 kB / 0.7157 GB, free: 12.87 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.0001088/0.9198, allocations: 107 kB / 0.7158 GB, free: 12.76 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.182e-05/0.9199, allocations: 15.8 kB / 0.7158 GB, free: 12.74 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.334e-05/0.9199, allocations: 16.08 kB / 0.7158 GB, free: 12.73 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.359e-06/0.92, allocations: 0 / 0.7158 GB, free: 12.73 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.92, allocations: 0 / 0.7158 GB, free: 12.73 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.92, allocations: 4 kB / 0.7159 GB, free: 12.72 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007914/0.9208, allocations: 398.4 kB / 0.7162 GB, free: 12.28 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.9208, allocations: 0 / 0.7162 GB, free: 12.28 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006386/0.9215, allocations: 43.95 kB / 0.7163 GB, free: 12.23 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.42e-06/0.9215, allocations: 96 / 0.7163 GB, free: 12.23 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.292e-05/0.9215, allocations: 3.938 kB / 0.7163 GB, free: 12.23 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.215e-06/0.9215, allocations: 4 kB / 0.7163 GB, free: 12.23 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.9215, allocations: 3.938 kB / 0.7163 GB, free: 12.22 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006114/0.9222, allocations: 267.3 kB / 0.7165 GB, free: 11.95 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 5.762e-05/0.9222, allocations: 81.14 kB / 0.7166 GB, free: 11.85 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.55e-05/0.9223, allocations: 4 kB / 0.7166 GB, free: 11.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000497/0.9228, allocations: 27.97 kB / 0.7166 GB, free: 11.82 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.325e-05/0.9228, allocations: 4 kB / 0.7167 GB, free: 11.81 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.107e-05/0.9229, allocations: 7.984 kB / 0.7167 GB, free: 11.8 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 5.351e-05/0.923, allocations: 87.34 kB / 0.7167 GB, free: 11.72 MB / 0.6042 GB Notification: Performance of sort global known variables: time 4.71e-07/0.923, allocations: 0 / 0.7167 GB, free: 11.72 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003429/0.9233, allocations: 24 kB / 0.7168 GB, free: 11.7 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (dp_comp,der_dp_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.00102/0.9243, allocations: 0.8096 MB / 0.7176 GB, free: 10.86 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003428/0.9247, allocations: 83.98 kB / 0.7176 GB, free: 10.77 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.9247, allocations: 0 / 0.7176 GB, free: 10.77 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001599/0.9249, allocations: 47.92 kB / 0.7177 GB, free: 10.73 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000277/0.9252, allocations: 8 kB / 0.7177 GB, free: 10.72 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001945/0.9271, allocations: 371.3 kB / 0.718 GB, free: 10.32 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003224/0.9275, allocations: 0.7043 MB / 0.7187 GB, free: 9.586 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0002071/0.9277, allocations: 16.67 kB / 0.7187 GB, free: 9.57 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001213/0.9278, allocations: 23.42 kB / 0.7188 GB, free: 9.547 MB / 0.6042 GB Notification: Performance of SimCode: time 8.31e-07/0.9279, allocations: 0 / 0.7188 GB, free: 9.547 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02264/0.9505, allocations: 1.954 MB / 0.7207 GB, free: 7.719 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002621/0.9508, allocations: 202.1 kB / 0.7209 GB, free: 7.492 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.163/3.113, allocations: 0 / 0.7209 GB, free: 7.492 MB / 0.6042 GB