Running command: "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,fileNamePrefix="Buildings_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.825/4.825, allocations: 464.6 MB / 476.8 MB, free: 2.203 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.993e-05/5.006e-05, allocations: 8 kB / 0.5732 GB, free: 5.621 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2637/0.2638, allocations: 107.2 MB / 0.6778 GB, free: 10.28 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9173/1.181, allocations: 132.7 MB / 0.8074 GB, free: 12.44 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002684/1.182, allocations: 74.95 kB / 0.8075 GB, free: 12.44 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02157/1.203, allocations: 4.509 MB / 0.8119 GB, free: 11.86 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.623e-06/1.203, allocations: 0 / 0.8119 GB, free: 11.86 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.885e-06/1.203, allocations: 0 / 0.8119 GB, free: 11.86 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.0003851/1.204, allocations: 346.3 kB / 0.8122 GB, free: 11.5 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.686e-05/1.204, allocations: 7.688 kB / 0.8122 GB, free: 11.5 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.172e-05/1.204, allocations: 41.48 kB / 0.8123 GB, free: 11.46 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.518e-05/1.204, allocations: 0 / 0.8123 GB, free: 11.46 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001019/1.204, allocations: 177.6 kB / 0.8124 GB, free: 11.25 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.542e-05/1.204, allocations: 0 / 0.8124 GB, free: 11.25 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.823e-05/1.204, allocations: 7.188 kB / 0.8124 GB, free: 11.25 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001359/1.204, allocations: 46.44 kB / 0.8125 GB, free: 11.22 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.555e-05/1.204, allocations: 3.906 kB / 0.8125 GB, free: 11.22 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.389e-05/1.204, allocations: 3.625 kB / 0.8125 GB, free: 11.22 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/1.204, allocations: 0 / 0.8125 GB, free: 11.22 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.475e-05/1.204, allocations: 19 kB / 0.8125 GB, free: 11.22 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001835/1.204, allocations: 174 kB / 0.8127 GB, free: 11.02 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001394/1.205, allocations: 59.56 kB / 0.8127 GB, free: 10.99 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.88e-05/1.205, allocations: 26.92 kB / 0.8128 GB, free: 10.98 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.187e-05/1.205, allocations: 3.812 kB / 0.8128 GB, free: 10.98 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.595e-05/1.205, allocations: 33.33 kB / 0.8128 GB, free: 10.95 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.793e-06/1.205, allocations: 0 / 0.8128 GB, free: 10.95 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11): time 0.00125/1.206, allocations: 0.5642 MB / 0.8133 GB, free: 10.48 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.301e-05/1.206, allocations: 51.41 kB / 0.8134 GB, free: 10.42 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.041e-05/1.206, allocations: 92.09 kB / 0.8135 GB, free: 10.33 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.596e-05/1.206, allocations: 25.7 kB / 0.8135 GB, free: 10.3 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.641e-05/1.206, allocations: 86.55 kB / 0.8136 GB, free: 10.22 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.632e-05/1.206, allocations: 40.5 kB / 0.8136 GB, free: 10.19 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.664e-06/1.206, allocations: 3.312 kB / 0.8136 GB, free: 10.19 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.63e-05/1.206, allocations: 321.3 kB / 0.8139 GB, free: 9.871 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.819e-05/1.206, allocations: 17.94 kB / 0.814 GB, free: 9.871 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.942e-05/1.206, allocations: 21.09 kB / 0.814 GB, free: 9.871 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.357e-05/1.207, allocations: 27.72 kB / 0.814 GB, free: 9.867 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.223e-06/1.207, allocations: 0 / 0.814 GB, free: 9.867 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000203/1.207, allocations: 103.2 kB / 0.8141 GB, free: 9.82 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/1.207, allocations: 10.25 kB / 0.8141 GB, free: 9.82 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/1.207, allocations: 4 kB / 0.8141 GB, free: 9.816 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.86e-05/1.207, allocations: 0 / 0.8141 GB, free: 9.816 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001829/1.207, allocations: 22.03 kB / 0.8141 GB, free: 9.816 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.677e-06/1.207, allocations: 0 / 0.8141 GB, free: 9.816 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.268e-05/1.207, allocations: 3.375 kB / 0.8141 GB, free: 9.816 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.238e-05/1.207, allocations: 3.969 kB / 0.8141 GB, free: 9.816 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 6.624e-05/1.207, allocations: 108.3 kB / 0.8142 GB, free: 9.707 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.128e-05/1.207, allocations: 6.469 kB / 0.8143 GB, free: 9.707 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002725/1.208, allocations: 113 kB / 0.8144 GB, free: 9.648 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/1.208, allocations: 0 / 0.8144 GB, free: 9.648 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/1.208, allocations: 0 / 0.8144 GB, free: 9.648 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/1.208, allocations: 3.969 kB / 0.8144 GB, free: 9.648 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004524/1.208, allocations: 348.2 kB / 0.8147 GB, free: 9.348 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/1.208, allocations: 0 / 0.8147 GB, free: 9.348 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002089/1.208, allocations: 25.62 kB / 0.8147 GB, free: 9.344 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.326e-06/1.208, allocations: 7.953 kB / 0.8147 GB, free: 9.34 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.274e-05/1.208, allocations: 0 / 0.8147 GB, free: 9.34 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/1.208, allocations: 0 / 0.8147 GB, free: 9.34 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/1.208, allocations: 4 kB / 0.8147 GB, free: 9.336 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002974/1.209, allocations: 213.2 kB / 0.8149 GB, free: 9.199 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 2.92e-05/1.209, allocations: 84.67 kB / 0.815 GB, free: 9.102 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.452e-05/1.209, allocations: 4 kB / 0.815 GB, free: 9.098 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001323/1.209, allocations: 5.406 kB / 0.815 GB, free: 9.098 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.32e-05/1.209, allocations: 6.734 kB / 0.815 GB, free: 9.098 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.413e-05/1.209, allocations: 7.719 kB / 0.815 GB, free: 9.098 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.063e-05/1.209, allocations: 83.25 kB / 0.8151 GB, free: 9.02 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.41e-07/1.209, allocations: 3.938 kB / 0.8151 GB, free: 9.016 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004219/1.209, allocations: 45.48 kB / 0.8152 GB, free: 9.004 MB / 0.6355 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.001142/1.211, allocations: 0.7857 MB / 0.8159 GB, free: 24.33 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002058/1.211, allocations: 57.7 kB / 0.816 GB, free: 24.32 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.067e-06/1.211, allocations: 0 / 0.816 GB, free: 24.32 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 7.333e-05/1.211, allocations: 36.64 kB / 0.816 GB, free: 24.32 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001994/1.211, allocations: 7.719 kB / 0.816 GB, free: 24.32 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008578/1.212, allocations: 283.3 kB / 0.8163 GB, free: 24.09 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000292/1.212, allocations: 0.687 MB / 0.817 GB, free: 23.39 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 7.739e-05/1.212, allocations: 14.73 kB / 0.817 GB, free: 23.39 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.13e-05/1.213, allocations: 18.62 kB / 0.817 GB, free: 23.39 MB / 0.6511 GB Notification: Performance of SimCode: time 1.302e-06/1.213, allocations: 0 / 0.817 GB, free: 23.39 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02123/1.234, allocations: 1.748 MB / 0.8187 GB, free: 23.13 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002584/1.234, allocations: 197.6 kB / 0.8189 GB, free: 22.9 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.522/3.756, allocations: 0 / 0.8189 GB, free: 22.9 MB / 0.6511 GB