Running command: "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.268/4.268, allocations: 432.7 MB / 444.9 MB, free: 15.71 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.662e-05/3.682e-05, allocations: 3.344 kB / 0.5338 GB, free: 12.23 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2171/0.2172, allocations: 98.73 MB / 0.6302 GB, free: 6.113 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2282/0.4454, allocations: 126 MB / 0.7533 GB, free: 7.914 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003466/0.4458, allocations: 87.95 kB / 0.7534 GB, free: 7.828 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02282/0.4687, allocations: 4.257 MB / 0.7575 GB, free: 3.562 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.864e-06/0.4687, allocations: 0 / 0.7575 GB, free: 3.562 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.957e-06/0.4687, allocations: 0 / 0.7575 GB, free: 3.562 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006359/0.4694, allocations: 366.3 kB / 0.7579 GB, free: 3.16 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.228e-05/0.4695, allocations: 12.03 kB / 0.7579 GB, free: 3.148 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.059e-05/0.4695, allocations: 38.55 kB / 0.7579 GB, free: 3.102 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.098e-05/0.4696, allocations: 11.86 kB / 0.7579 GB, free: 3.09 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001417/0.4697, allocations: 174.9 kB / 0.7581 GB, free: 2.879 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.265e-05/0.4698, allocations: 8 kB / 0.7581 GB, free: 2.871 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.687e-05/0.4698, allocations: 8 kB / 0.7581 GB, free: 2.863 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001922/0.47, allocations: 69.61 kB / 0.7582 GB, free: 2.789 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.388e-05/0.47, allocations: 0 / 0.7582 GB, free: 2.789 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.807e-05/0.4701, allocations: 4 kB / 0.7582 GB, free: 2.785 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.4701, allocations: 0 / 0.7582 GB, free: 2.785 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001205/0.4702, allocations: 31.98 kB / 0.7582 GB, free: 2.754 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008351/0.4711, allocations: 332.7 kB / 0.7585 GB, free: 2.379 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001725/0.4713, allocations: 62.56 kB / 0.7586 GB, free: 2.309 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.613e-05/0.4713, allocations: 16.86 kB / 0.7586 GB, free: 2.289 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.889e-05/0.4714, allocations: 0 / 0.7586 GB, free: 2.289 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.894e-05/0.4714, allocations: 50.45 kB / 0.7587 GB, free: 2.23 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.733e-06/0.4714, allocations: 0 / 0.7587 GB, free: 2.23 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11): time 0.001464/0.4729, allocations: 0.5596 MB / 0.7592 GB, free: 1.578 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.613e-05/0.473, allocations: 51.41 kB / 0.7593 GB, free: 1.516 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.934e-05/0.4731, allocations: 104.9 kB / 0.7594 GB, free: 1.406 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.275e-05/0.4732, allocations: 29.7 kB / 0.7594 GB, free: 1.371 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.101e-05/0.4732, allocations: 91.98 kB / 0.7595 GB, free: 1.277 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.076e-05/0.4733, allocations: 39.45 kB / 0.7595 GB, free: 1.238 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.057e-05/0.4733, allocations: 4 kB / 0.7595 GB, free: 1.234 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001182/0.4734, allocations: 314.8 kB / 0.7598 GB, free: 0.918 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.615e-05/0.4735, allocations: 24 kB / 0.7598 GB, free: 0.8945 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.278e-05/0.4736, allocations: 20 kB / 0.7599 GB, free: 0.875 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.249e-05/0.4737, allocations: 20.09 kB / 0.7599 GB, free: 0.8555 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.4737, allocations: 7.922 kB / 0.7599 GB, free: 0.8477 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002538/0.474, allocations: 101.5 kB / 0.76 GB, free: 0.7422 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/0.474, allocations: 4 kB / 0.76 GB, free: 0.7383 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.474, allocations: 0 / 0.76 GB, free: 0.7383 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.4741, allocations: 192 / 0.76 GB, free: 0.7383 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003053/0.4744, allocations: 31.92 kB / 0.76 GB, free: 0.707 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.4744, allocations: 0 / 0.76 GB, free: 0.707 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001364/0.4745, allocations: 15.98 kB / 0.76 GB, free: 0.6914 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.655e-05/0.4746, allocations: 0 / 0.76 GB, free: 0.6914 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 0.0001038/0.4747, allocations: 113 kB / 0.7601 GB, free: 0.5742 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.671e-05/0.4748, allocations: 11.94 kB / 0.7601 GB, free: 0.5625 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000354/0.4751, allocations: 109.6 kB / 0.7603 GB, free: 460 kB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.214e-06/0.4752, allocations: 0 / 0.7603 GB, free: 460 kB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.4752, allocations: 3.938 kB / 0.7603 GB, free: 456 kB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.4752, allocations: 0 / 0.7603 GB, free: 456 kB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005919/0.4758, allocations: 374.6 kB / 0.7606 GB, free: 24 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.4758, allocations: 7.984 kB / 0.7606 GB, free: 16 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003527/0.4762, allocations: 24.05 kB / 0.7606 GB, free: 15.99 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.631e-06/0.4762, allocations: 0 / 0.7606 GB, free: 15.99 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.867e-05/0.4762, allocations: 4 kB / 0.7606 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.531e-06/0.4763, allocations: 0 / 0.7606 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.4763, allocations: 3.938 kB / 0.7607 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000391/0.4767, allocations: 215.8 kB / 0.7609 GB, free: 15.76 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.045e-05/0.4767, allocations: 81.06 kB / 0.7609 GB, free: 15.66 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.774e-05/0.4768, allocations: 12.09 kB / 0.7609 GB, free: 15.65 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002192/0.477, allocations: 7.984 kB / 0.761 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.547e-05/0.4771, allocations: 7.984 kB / 0.761 GB, free: 15.63 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.075e-05/0.4771, allocations: 15.88 kB / 0.761 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 5.038e-05/0.4771, allocations: 79.28 kB / 0.7611 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.81e-07/0.4772, allocations: 0 / 0.7611 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004246/0.4776, allocations: 44.06 kB / 0.7611 GB, free: 15.5 MB / 0.6511 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.0008606/0.4785, allocations: 0.808 MB / 0.7619 GB, free: 14.66 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.000257/0.4787, allocations: 63.86 kB / 0.7619 GB, free: 14.6 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.4788, allocations: 0 / 0.7619 GB, free: 14.6 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 9.293e-05/0.4789, allocations: 32 kB / 0.762 GB, free: 14.57 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002549/0.4791, allocations: 8 kB / 0.762 GB, free: 14.56 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009942/0.4801, allocations: 303.3 kB / 0.7623 GB, free: 14.22 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002873/0.4805, allocations: 0.6926 MB / 0.7629 GB, free: 13.5 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001043/0.4806, allocations: 12.66 kB / 0.763 GB, free: 13.49 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.724e-05/0.4807, allocations: 27.44 kB / 0.763 GB, free: 13.46 MB / 0.6511 GB Notification: Performance of SimCode: time 1.583e-06/0.4807, allocations: 0 / 0.763 GB, free: 13.46 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02442/0.5051, allocations: 1.991 MB / 0.7649 GB, free: 11.59 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003437/0.5055, allocations: 207 kB / 0.7651 GB, free: 11.37 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.284/2.79, allocations: 0 / 0.7651 GB, free: 11.37 MB / 0.6511 GB