Running command: "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.079/4.079, allocations: 432.7 MB / 444.9 MB, free: 15.72 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 4.019e-05/4.025e-05, allocations: 5.141 kB / 0.5338 GB, free: 12.26 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2341/0.2342, allocations: 98.72 MB / 0.6302 GB, free: 6.133 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2316/0.4658, allocations: 125.1 MB / 0.7524 GB, free: 8.832 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003159/0.4662, allocations: 83.94 kB / 0.7525 GB, free: 8.75 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01416/0.4804, allocations: 2.813 MB / 0.7552 GB, free: 5.93 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.763e-06/0.4804, allocations: 0 / 0.7552 GB, free: 5.93 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.192e-05/0.4805, allocations: 4 kB / 0.7552 GB, free: 5.926 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.0004199/0.4809, allocations: 347.2 kB / 0.7556 GB, free: 5.543 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.139e-05/0.481, allocations: 8.031 kB / 0.7556 GB, free: 5.535 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.547e-05/0.481, allocations: 30.56 kB / 0.7556 GB, free: 5.496 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.257e-05/0.4811, allocations: 11.95 kB / 0.7556 GB, free: 5.484 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001218/0.4812, allocations: 170.9 kB / 0.7558 GB, free: 5.277 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.639e-05/0.4812, allocations: 7.922 kB / 0.7558 GB, free: 5.27 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.57e-05/0.4813, allocations: 12 kB / 0.7558 GB, free: 5.258 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001142/0.4814, allocations: 33.69 kB / 0.7558 GB, free: 5.219 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.4814, allocations: 0 / 0.7558 GB, free: 5.219 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.283e-05/0.4814, allocations: 4 kB / 0.7558 GB, free: 5.215 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.4814, allocations: 4 kB / 0.7558 GB, free: 5.211 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.91e-05/0.4815, allocations: 7.953 kB / 0.7559 GB, free: 5.203 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002119/0.4817, allocations: 161.7 kB / 0.756 GB, free: 4.996 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002267/0.482, allocations: 46.55 kB / 0.7561 GB, free: 4.941 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.099e-05/0.482, allocations: 16.86 kB / 0.7561 GB, free: 4.922 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.428e-05/0.4821, allocations: 0 / 0.7561 GB, free: 4.922 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.442e-05/0.4821, allocations: 30.56 kB / 0.7561 GB, free: 4.883 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 1.563e-06/0.4821, allocations: 4 kB / 0.7561 GB, free: 4.879 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6): time 0.0009455/0.4831, allocations: 306.2 kB / 0.7564 GB, free: 4.527 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.392e-05/0.4831, allocations: 51.41 kB / 0.7564 GB, free: 4.465 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001037/0.4833, allocations: 92.95 kB / 0.7565 GB, free: 4.367 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.067e-05/0.4833, allocations: 29.7 kB / 0.7566 GB, free: 4.332 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.106e-05/0.4834, allocations: 80.14 kB / 0.7566 GB, free: 4.25 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.162e-05/0.4835, allocations: 23.73 kB / 0.7567 GB, free: 4.227 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.412e-06/0.4835, allocations: 0 / 0.7567 GB, free: 4.227 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000158/0.4837, allocations: 314.8 kB / 0.757 GB, free: 3.91 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.716e-05/0.4837, allocations: 12 kB / 0.757 GB, free: 3.898 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.804e-05/0.4838, allocations: 12 kB / 0.757 GB, free: 3.887 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.389e-05/0.4839, allocations: 15.98 kB / 0.757 GB, free: 3.871 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.4839, allocations: 3.938 kB / 0.757 GB, free: 3.867 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002344/0.4842, allocations: 69.53 kB / 0.7571 GB, free: 3.793 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.428e-05/0.4842, allocations: 4 kB / 0.7571 GB, free: 3.789 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.4843, allocations: 0 / 0.7571 GB, free: 3.789 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/0.4843, allocations: 0 / 0.7571 GB, free: 3.789 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001491/0.4845, allocations: 12 kB / 0.7571 GB, free: 3.777 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.028e-05/0.4845, allocations: 4 kB / 0.7571 GB, free: 3.773 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.515e-05/0.4846, allocations: 0 / 0.7571 GB, free: 3.773 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.92e-05/0.4846, allocations: 3.953 kB / 0.7571 GB, free: 3.77 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 0.0001082/0.4847, allocations: 105 kB / 0.7572 GB, free: 3.66 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.705e-05/0.4848, allocations: 4 kB / 0.7572 GB, free: 3.656 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002775/0.4851, allocations: 78.02 kB / 0.7573 GB, free: 3.574 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/0.4851, allocations: 0 / 0.7573 GB, free: 3.574 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/0.4851, allocations: 0 / 0.7573 GB, free: 3.574 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.4851, allocations: 0 / 0.7573 GB, free: 3.574 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005753/0.4857, allocations: 319.4 kB / 0.7576 GB, free: 3.203 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.4857, allocations: 0 / 0.7576 GB, free: 3.203 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001806/0.4859, allocations: 19.92 kB / 0.7576 GB, free: 3.184 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.761e-06/0.486, allocations: 0 / 0.7576 GB, free: 3.184 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.337e-05/0.486, allocations: 192 / 0.7576 GB, free: 3.184 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.227e-06/0.486, allocations: 8 kB / 0.7576 GB, free: 3.176 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/0.486, allocations: 0 / 0.7576 GB, free: 3.176 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003685/0.4864, allocations: 190 kB / 0.7578 GB, free: 2.965 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.648e-05/0.4865, allocations: 89.12 kB / 0.7579 GB, free: 2.859 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.527e-05/0.4866, allocations: 0 / 0.7579 GB, free: 2.859 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000158/0.4868, allocations: 4 kB / 0.7579 GB, free: 2.855 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.928e-05/0.4868, allocations: 7.938 kB / 0.7579 GB, free: 2.848 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.592e-05/0.4868, allocations: 4 kB / 0.7579 GB, free: 2.844 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.331e-05/0.4869, allocations: 83.28 kB / 0.758 GB, free: 2.762 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.41e-07/0.4869, allocations: 4.062 kB / 0.758 GB, free: 2.758 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005755/0.4875, allocations: 23.94 kB / 0.758 GB, free: 2.734 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.0009486/0.4885, allocations: 0.8116 MB / 0.7588 GB, free: 1.887 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001958/0.4887, allocations: 39.94 kB / 0.7588 GB, free: 1.848 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.4887, allocations: 0 / 0.7588 GB, free: 1.848 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.491e-05/0.4888, allocations: 16 kB / 0.7588 GB, free: 1.832 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002778/0.4891, allocations: 7.953 kB / 0.7588 GB, free: 1.824 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008875/0.49, allocations: 191.8 kB / 0.759 GB, free: 1.598 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003765/0.4905, allocations: 0.6848 MB / 0.7597 GB, free: 0.8867 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 7.157e-05/0.4905, allocations: 4 kB / 0.7597 GB, free: 0.8828 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.586e-05/0.4906, allocations: 15.44 kB / 0.7597 GB, free: 0.8711 MB / 0.6355 GB Notification: Performance of SimCode: time 1.242e-06/0.4906, allocations: 0 / 0.7597 GB, free: 0.8711 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02172/0.5124, allocations: 1.356 MB / 0.761 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003345/0.5128, allocations: 195.7 kB / 0.7612 GB, free: 15.4 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.211/2.724, allocations: 0 / 0.7612 GB, free: 15.4 MB / 0.6511 GB