Running command: "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.911/3.911, allocations: 432.7 MB / 444.9 MB, free: 15.7 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 4.274e-05/4.282e-05, allocations: 4.062 kB / 0.5338 GB, free: 12.26 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2349/0.235, allocations: 98.73 MB / 0.6302 GB, free: 6.129 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2494/0.4845, allocations: 125.4 MB / 0.7526 GB, free: 8.59 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003157/0.4849, allocations: 75.95 kB / 0.7527 GB, free: 8.516 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02334/0.5082, allocations: 4.494 MB / 0.7571 GB, free: 4.012 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.904e-06/0.5083, allocations: 0 / 0.7571 GB, free: 4.012 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.133e-05/0.5083, allocations: 4 kB / 0.7571 GB, free: 4.008 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.0004572/0.5088, allocations: 358.3 kB / 0.7575 GB, free: 3.613 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.317e-05/0.5089, allocations: 12.03 kB / 0.7575 GB, free: 3.602 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.318e-05/0.5089, allocations: 34.56 kB / 0.7575 GB, free: 3.559 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.314e-05/0.509, allocations: 3.953 kB / 0.7575 GB, free: 3.555 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001404/0.5091, allocations: 163.1 kB / 0.7577 GB, free: 3.355 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.215e-05/0.5091, allocations: 0 / 0.7577 GB, free: 3.355 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.084e-05/0.5092, allocations: 11.94 kB / 0.7577 GB, free: 3.344 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001463/0.5093, allocations: 45.69 kB / 0.7577 GB, free: 3.293 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.328e-05/0.5094, allocations: 4 kB / 0.7577 GB, free: 3.289 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.251e-05/0.5094, allocations: 0 / 0.7577 GB, free: 3.289 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.5094, allocations: 0 / 0.7577 GB, free: 3.289 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.644e-05/0.5095, allocations: 23.92 kB / 0.7577 GB, free: 3.266 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002285/0.5097, allocations: 173.5 kB / 0.7579 GB, free: 3.047 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001478/0.5099, allocations: 58.56 kB / 0.758 GB, free: 2.98 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.648e-05/0.51, allocations: 24.86 kB / 0.758 GB, free: 2.953 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.728e-05/0.51, allocations: 8 kB / 0.758 GB, free: 2.945 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.084e-05/0.5101, allocations: 30.56 kB / 0.758 GB, free: 2.906 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.673e-06/0.5101, allocations: 0 / 0.758 GB, free: 2.906 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11): time 0.001383/0.5115, allocations: 0.5561 MB / 0.7586 GB, free: 2.258 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.753e-05/0.5115, allocations: 55.36 kB / 0.7586 GB, free: 2.191 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.833e-05/0.5116, allocations: 97 kB / 0.7587 GB, free: 2.09 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.411e-05/0.5117, allocations: 25.7 kB / 0.7587 GB, free: 2.059 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.771e-05/0.5117, allocations: 84.36 kB / 0.7588 GB, free: 1.973 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.546e-05/0.5118, allocations: 39.45 kB / 0.7589 GB, free: 1.934 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.272e-06/0.5118, allocations: 0 / 0.7589 GB, free: 1.934 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001594/0.512, allocations: 322.8 kB / 0.7592 GB, free: 1.609 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.44e-05/0.5121, allocations: 16 kB / 0.7592 GB, free: 1.594 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.604e-05/0.5121, allocations: 20 kB / 0.7592 GB, free: 1.574 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.114e-05/0.5122, allocations: 32.05 kB / 0.7592 GB, free: 1.543 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.5122, allocations: 0 / 0.7592 GB, free: 1.543 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002321/0.5125, allocations: 93.59 kB / 0.7593 GB, free: 1.445 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.159e-05/0.5125, allocations: 8 kB / 0.7593 GB, free: 1.438 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.298e-06/0.5125, allocations: 4 kB / 0.7593 GB, free: 1.434 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.666e-05/0.5126, allocations: 0 / 0.7593 GB, free: 1.434 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001837/0.5128, allocations: 19.98 kB / 0.7593 GB, free: 1.414 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.276e-06/0.5128, allocations: 4 kB / 0.7593 GB, free: 1.41 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.876e-05/0.5128, allocations: 7.953 kB / 0.7594 GB, free: 1.402 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.434e-05/0.5129, allocations: 4 kB / 0.7594 GB, free: 1.398 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 9.736e-05/0.513, allocations: 112.9 kB / 0.7595 GB, free: 1.281 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.055e-05/0.513, allocations: 4 kB / 0.7595 GB, free: 1.277 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003033/0.5133, allocations: 113.7 kB / 0.7596 GB, free: 1.16 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-06/0.5133, allocations: 4 kB / 0.7596 GB, free: 1.156 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.5134, allocations: 0 / 0.7596 GB, free: 1.156 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.5134, allocations: 0 / 0.7596 GB, free: 1.156 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005564/0.5139, allocations: 346.5 kB / 0.7599 GB, free: 0.7617 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.481e-06/0.514, allocations: 3.984 kB / 0.7599 GB, free: 0.7578 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002128/0.5142, allocations: 23.98 kB / 0.7599 GB, free: 0.7344 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.478e-06/0.5142, allocations: 0 / 0.7599 GB, free: 0.7344 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.776e-05/0.5142, allocations: 8 kB / 0.7599 GB, free: 0.7266 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.5142, allocations: 3.938 kB / 0.76 GB, free: 0.7227 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/0.5143, allocations: 3.953 kB / 0.76 GB, free: 0.7188 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003588/0.5146, allocations: 207.5 kB / 0.7602 GB, free: 0.5 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.242e-05/0.5147, allocations: 81.05 kB / 0.7602 GB, free: 412 kB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.991e-05/0.5147, allocations: 4 kB / 0.7602 GB, free: 408 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001265/0.5149, allocations: 4.062 kB / 0.7602 GB, free: 404 kB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.373e-05/0.5149, allocations: 11.98 kB / 0.7602 GB, free: 392 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.787e-05/0.5149, allocations: 7.953 kB / 0.7603 GB, free: 384 kB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.746e-05/0.515, allocations: 75.28 kB / 0.7603 GB, free: 308 kB / 0.6355 GB Notification: Performance of sort global known variables: time 4.61e-07/0.515, allocations: 0 / 0.7603 GB, free: 308 kB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004735/0.5155, allocations: 47.92 kB / 0.7604 GB, free: 260 kB / 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.0008794/0.5164, allocations: 0.7908 MB / 0.7611 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002209/0.5166, allocations: 63.92 kB / 0.7612 GB, free: 15.37 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.971e-06/0.5166, allocations: 4 kB / 0.7612 GB, free: 15.37 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 8.213e-05/0.5167, allocations: 31.94 kB / 0.7612 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000195/0.5169, allocations: 6.031 kB / 0.7612 GB, free: 15.33 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008779/0.5178, allocations: 285.2 kB / 0.7615 GB, free: 15.02 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003157/0.5182, allocations: 0.6848 MB / 0.7622 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 8.115e-05/0.5183, allocations: 15.92 kB / 0.7622 GB, free: 14.29 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.768e-05/0.5183, allocations: 27.38 kB / 0.7622 GB, free: 14.27 MB / 0.6511 GB Notification: Performance of SimCode: time 9.22e-07/0.5183, allocations: 0 / 0.7622 GB, free: 14.27 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0201/0.5384, allocations: 1.746 MB / 0.7639 GB, free: 12.62 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003774/0.5389, allocations: 192.6 kB / 0.7641 GB, free: 12.39 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.143/2.682, allocations: 0 / 0.7641 GB, free: 12.39 MB / 0.6511 GB