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 4.172/4.172, allocations: 403.3 MB / 415.4 MB, free: 12.99 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 6.858e-05/6.881e-05, allocations: 7.938 kB / 0.4991 GB, free: 13.33 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6489/0.649, allocations: 92.68 MB / 0.5897 GB, free: 14.36 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2312/0.8803, allocations: 121.7 MB / 0.7085 GB, free: 4.508 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003243/0.8807, allocations: 83.94 kB / 0.7086 GB, free: 4.426 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.02202/0.9028, allocations: 4.263 MB / 0.7127 GB, free: 160 kB / 0.5886 GB Notification: Performance of FrontEnd: time 1.894e-06/0.9028, allocations: 0 / 0.7127 GB, free: 160 kB / 0.5886 GB Notification: Performance of Transformations before backend: time 8.446e-06/0.9028, allocations: 0 / 0.7127 GB, free: 160 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.0006501/0.9035, allocations: 374.3 kB / 0.7131 GB, free: 15.75 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.45e-05/0.9036, allocations: 12.03 kB / 0.7131 GB, free: 15.73 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.356e-05/0.9036, allocations: 34.56 kB / 0.7131 GB, free: 15.69 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.186e-05/0.9037, allocations: 11.86 kB / 0.7132 GB, free: 15.68 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001419/0.9038, allocations: 167 kB / 0.7133 GB, free: 15.48 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.976e-05/0.9039, allocations: 0 / 0.7133 GB, free: 15.48 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.46e-05/0.9039, allocations: 15.98 kB / 0.7133 GB, free: 15.46 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005936/0.9045, allocations: 85.64 kB / 0.7134 GB, free: 15.37 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.831e-05/0.9046, allocations: 4 kB / 0.7134 GB, free: 15.37 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.08e-05/0.9046, allocations: 4 kB / 0.7134 GB, free: 15.36 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.678e-06/0.9046, allocations: 7.953 kB / 0.7134 GB, free: 15.36 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004262/0.9051, allocations: 51.95 kB / 0.7135 GB, free: 15.3 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000859/0.9059, allocations: 336.6 kB / 0.7138 GB, free: 14.93 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005219/0.9065, allocations: 82.5 kB / 0.7139 GB, free: 14.84 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.771e-05/0.9066, allocations: 25.38 kB / 0.7139 GB, free: 14.81 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00034/0.9069, allocations: 97.09 kB / 0.714 GB, free: 14.7 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.537e-05/0.907, allocations: 30.56 kB / 0.714 GB, free: 14.66 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 3.276e-06/0.907, allocations: 0 / 0.714 GB, free: 14.66 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11): time 0.006526/0.9135, allocations: 0.8408 MB / 0.7148 GB, free: 13.72 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.483e-05/0.9136, allocations: 51.41 kB / 0.7149 GB, free: 13.66 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.633e-05/0.9137, allocations: 101 kB / 0.715 GB, free: 13.55 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.063e-05/0.9138, allocations: 25.7 kB / 0.715 GB, free: 13.52 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 6.51e-05/0.9139, allocations: 92.12 kB / 0.7151 GB, free: 13.43 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.759e-05/0.9139, allocations: 43.39 kB / 0.7151 GB, free: 13.39 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.753e-05/0.914, allocations: 4 kB / 0.7151 GB, free: 13.38 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001218/0.9141, allocations: 310.8 kB / 0.7154 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001278/0.9142, allocations: 32 kB / 0.7155 GB, free: 13.04 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000131/0.9144, allocations: 35.92 kB / 0.7155 GB, free: 13 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001364/0.9145, allocations: 35.98 kB / 0.7155 GB, free: 12.97 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.9145, allocations: 3.953 kB / 0.7155 GB, free: 12.96 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000381/0.9149, allocations: 118 kB / 0.7157 GB, free: 12.84 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.013e-05/0.915, allocations: 4 kB / 0.7157 GB, free: 12.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/0.915, allocations: 4 kB / 0.7157 GB, free: 12.84 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.915, allocations: 0 / 0.7157 GB, free: 12.84 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006336/0.9156, allocations: 47.95 kB / 0.7157 GB, free: 12.79 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.816e-06/0.9157, allocations: 240 / 0.7157 GB, free: 12.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004378/0.9161, allocations: 23.98 kB / 0.7157 GB, free: 12.77 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.553e-05/0.9162, allocations: 11.91 kB / 0.7157 GB, free: 12.75 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.0001058/0.9163, allocations: 112.9 kB / 0.7158 GB, free: 12.64 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.104e-05/0.9163, allocations: 11.86 kB / 0.7159 GB, free: 12.62 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.445e-05/0.9164, allocations: 12.09 kB / 0.7159 GB, free: 12.61 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.9164, allocations: 0 / 0.7159 GB, free: 12.61 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.9164, allocations: 0 / 0.7159 GB, free: 12.61 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.9164, allocations: 8 kB / 0.7159 GB, free: 12.61 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008352/0.9173, allocations: 394.5 kB / 0.7163 GB, free: 12.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.9173, allocations: 0 / 0.7163 GB, free: 12.16 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006157/0.9179, allocations: 43.91 kB / 0.7163 GB, free: 12.12 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.483e-06/0.9179, allocations: 0 / 0.7163 GB, free: 12.12 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.506e-05/0.918, allocations: 7.922 kB / 0.7163 GB, free: 12.11 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.494e-06/0.918, allocations: 0 / 0.7163 GB, free: 12.11 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.918, allocations: 8 kB / 0.7163 GB, free: 12.11 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005836/0.9186, allocations: 255.6 kB / 0.7166 GB, free: 11.84 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 5.043e-05/0.9187, allocations: 85.12 kB / 0.7166 GB, free: 11.74 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.471e-05/0.9187, allocations: 0 / 0.7166 GB, free: 11.74 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004998/0.9192, allocations: 27.97 kB / 0.7167 GB, free: 11.71 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.55e-05/0.9193, allocations: 12.05 kB / 0.7167 GB, free: 11.7 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.294e-05/0.9193, allocations: 4 kB / 0.7167 GB, free: 11.7 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 5.133e-05/0.9194, allocations: 83.22 kB / 0.7168 GB, free: 11.61 MB / 0.6042 GB Notification: Performance of sort global known variables: time 4.31e-07/0.9194, allocations: 0 / 0.7168 GB, free: 11.61 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003501/0.9197, allocations: 23.94 kB / 0.7168 GB, free: 11.59 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.0009212/0.9207, allocations: 0.8059 MB / 0.7176 GB, free: 10.75 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003487/0.921, allocations: 91.86 kB / 0.7177 GB, free: 10.66 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.9211, allocations: 0 / 0.7177 GB, free: 10.66 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001579/0.9212, allocations: 47.92 kB / 0.7177 GB, free: 10.62 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002723/0.9215, allocations: 12.55 kB / 0.7177 GB, free: 10.61 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001981/0.9235, allocations: 379.3 kB / 0.7181 GB, free: 10.2 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002989/0.9238, allocations: 0.6887 MB / 0.7187 GB, free: 9.48 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0002395/0.9241, allocations: 16.67 kB / 0.7188 GB, free: 9.465 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001298/0.9242, allocations: 27.42 kB / 0.7188 GB, free: 9.438 MB / 0.6042 GB Notification: Performance of SimCode: time 1.042e-06/0.9242, allocations: 0 / 0.7188 GB, free: 9.438 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02025/0.9445, allocations: 1.943 MB / 0.7207 GB, free: 7.621 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003379/0.9449, allocations: 199.6 kB / 0.7209 GB, free: 7.398 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.307/3.252, allocations: 0 / 0.7209 GB, free: 7.398 MB / 0.6042 GB