Running command: "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.224/4.224, allocations: 432.7 MB / 444.9 MB, free: 15.72 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 4.309e-05/4.33e-05, allocations: 3.844 kB / 0.5338 GB, free: 12.23 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2149/0.215, allocations: 98.73 MB / 0.6302 GB, free: 6.148 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2346/0.4496, allocations: 125.2 MB / 0.7525 GB, free: 8.738 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003208/0.45, allocations: 83.94 kB / 0.7526 GB, free: 8.656 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01971/0.4697, allocations: 3.98 MB / 0.7565 GB, free: 4.668 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.543e-06/0.4698, allocations: 4 kB / 0.7565 GB, free: 4.664 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.893e-06/0.4698, allocations: 0 / 0.7565 GB, free: 4.664 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.0004147/0.4702, allocations: 346.3 kB / 0.7568 GB, free: 4.281 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.187e-05/0.4703, allocations: 8.031 kB / 0.7568 GB, free: 4.273 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.932e-05/0.4703, allocations: 38.5 kB / 0.7569 GB, free: 4.227 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.843e-05/0.4704, allocations: 3.953 kB / 0.7569 GB, free: 4.223 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001393/0.4705, allocations: 167.1 kB / 0.757 GB, free: 4.02 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.553e-05/0.4706, allocations: 4 kB / 0.757 GB, free: 4.016 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.954e-05/0.4706, allocations: 0 / 0.757 GB, free: 4.016 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001162/0.4707, allocations: 41.7 kB / 0.7571 GB, free: 3.969 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.4707, allocations: 0 / 0.7571 GB, free: 3.969 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.051e-05/0.4708, allocations: 3.938 kB / 0.7571 GB, free: 3.965 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.4708, allocations: 0 / 0.7571 GB, free: 3.965 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.162e-05/0.4708, allocations: 15.94 kB / 0.7571 GB, free: 3.949 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002066/0.471, allocations: 157.7 kB / 0.7572 GB, free: 3.746 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002196/0.4713, allocations: 42.45 kB / 0.7573 GB, free: 3.695 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.08e-05/0.4714, allocations: 24.94 kB / 0.7573 GB, free: 3.668 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.964e-05/0.4714, allocations: 7.984 kB / 0.7573 GB, free: 3.66 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.827e-05/0.4714, allocations: 30.56 kB / 0.7573 GB, free: 3.621 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 1.954e-06/0.4714, allocations: 0 / 0.7573 GB, free: 3.621 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6): time 0.0007276/0.4722, allocations: 298.3 kB / 0.7576 GB, free: 3.277 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.739e-05/0.4722, allocations: 55.41 kB / 0.7577 GB, free: 3.211 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.027e-05/0.4723, allocations: 104.9 kB / 0.7578 GB, free: 3.102 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.887e-05/0.4724, allocations: 29.7 kB / 0.7578 GB, free: 3.066 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.444e-05/0.4724, allocations: 80.14 kB / 0.7579 GB, free: 2.984 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.991e-05/0.4725, allocations: 11.81 kB / 0.7579 GB, free: 2.973 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.354e-06/0.4725, allocations: 4 kB / 0.7579 GB, free: 2.969 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001391/0.4726, allocations: 318.8 kB / 0.7582 GB, free: 2.648 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.643e-05/0.4727, allocations: 8 kB / 0.7582 GB, free: 2.641 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.162e-05/0.4727, allocations: 8 kB / 0.7582 GB, free: 2.633 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.503e-05/0.4728, allocations: 12 kB / 0.7582 GB, free: 2.621 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.4728, allocations: 4 kB / 0.7582 GB, free: 2.617 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001517/0.4729, allocations: 73.52 kB / 0.7583 GB, free: 2.539 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/0.473, allocations: 4 kB / 0.7583 GB, free: 2.535 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.473, allocations: 0 / 0.7583 GB, free: 2.535 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/0.473, allocations: 4 kB / 0.7583 GB, free: 2.531 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.992e-05/0.4731, allocations: 11.98 kB / 0.7583 GB, free: 2.52 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.692e-06/0.4731, allocations: 240 / 0.7583 GB, free: 2.52 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.762e-05/0.4732, allocations: 32 / 0.7583 GB, free: 2.52 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.201e-05/0.4732, allocations: 7.953 kB / 0.7583 GB, free: 2.512 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 8.345e-05/0.4733, allocations: 113 kB / 0.7584 GB, free: 2.395 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.473e-05/0.4733, allocations: 4 kB / 0.7584 GB, free: 2.391 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001825/0.4735, allocations: 69.7 kB / 0.7585 GB, free: 2.316 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.4735, allocations: 0 / 0.7585 GB, free: 2.316 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.097e-05/0.4735, allocations: 3.984 kB / 0.7585 GB, free: 2.312 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.4735, allocations: 0 / 0.7585 GB, free: 2.312 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004091/0.474, allocations: 311.4 kB / 0.7588 GB, free: 1.949 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.474, allocations: 3.938 kB / 0.7588 GB, free: 1.945 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001091/0.4741, allocations: 15.88 kB / 0.7588 GB, free: 1.93 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.4741, allocations: 4.031 kB / 0.7588 GB, free: 1.926 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.999e-06/0.4741, allocations: 4 kB / 0.7588 GB, free: 1.922 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.225e-06/0.4741, allocations: 0 / 0.7588 GB, free: 1.922 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.4742, allocations: 3.984 kB / 0.7588 GB, free: 1.918 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002503/0.4744, allocations: 194.2 kB / 0.759 GB, free: 1.703 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.052e-05/0.4745, allocations: 77.11 kB / 0.7591 GB, free: 1.609 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.107e-05/0.4745, allocations: 12.09 kB / 0.7591 GB, free: 1.598 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.793e-05/0.4746, allocations: 3.984 kB / 0.7591 GB, free: 1.594 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.208e-05/0.4747, allocations: 11.89 kB / 0.7591 GB, free: 1.582 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.985e-06/0.4747, allocations: 0 / 0.7591 GB, free: 1.582 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.337e-05/0.4747, allocations: 79.28 kB / 0.7592 GB, free: 1.504 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.2e-07/0.4747, allocations: 0 / 0.7592 GB, free: 1.504 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003611/0.4751, allocations: 35.92 kB / 0.7592 GB, free: 1.469 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (m_flow_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.0006952/0.4758, allocations: 0.8149 MB / 0.76 GB, free: 0.6172 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001531/0.476, allocations: 35.92 kB / 0.7601 GB, free: 0.582 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.476, allocations: 0 / 0.7601 GB, free: 0.582 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.41e-05/0.4761, allocations: 16 kB / 0.7601 GB, free: 0.5664 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001893/0.4763, allocations: 8.078 kB / 0.7601 GB, free: 0.5586 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006342/0.4769, allocations: 188 kB / 0.7603 GB, free: 344 kB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003512/0.4773, allocations: 0.6848 MB / 0.7609 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 4.684e-05/0.4773, allocations: 7.938 kB / 0.7609 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.092e-05/0.4774, allocations: 19.44 kB / 0.761 GB, free: 15.6 MB / 0.6511 GB Notification: Performance of SimCode: time 8.92e-07/0.4774, allocations: 0 / 0.761 GB, free: 15.6 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02179/0.4992, allocations: 1.342 MB / 0.7623 GB, free: 14.36 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002476/0.4995, allocations: 191.5 kB / 0.7625 GB, free: 14.13 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.192/2.691, allocations: 0 / 0.7625 GB, free: 14.13 MB / 0.6511 GB