Running command: "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,fileNamePrefix="Buildings_5_0_1_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.875/3.875, allocations: 403.3 MB / 415.4 MB, free: 13 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.701e-05/3.71e-05, allocations: 4 kB / 0.4991 GB, free: 13.33 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.622/0.622, allocations: 92.68 MB / 0.5897 GB, free: 14.36 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2265/0.8486, allocations: 120.8 MB / 0.7076 GB, free: 5.402 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003241/0.849, allocations: 75.95 kB / 0.7077 GB, free: 5.328 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.01441/0.8635, allocations: 2.831 MB / 0.7105 GB, free: 2.492 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.004e-06/0.8635, allocations: 0 / 0.7105 GB, free: 2.492 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 8.125e-06/0.8635, allocations: 0 / 0.7105 GB, free: 2.492 MB / 0.5886 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.0003822/0.8639, allocations: 342.4 kB / 0.7108 GB, free: 2.113 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.107e-05/0.864, allocations: 8.031 kB / 0.7108 GB, free: 2.105 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.138e-05/0.864, allocations: 46.45 kB / 0.7108 GB, free: 2.051 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.733e-05/0.8641, allocations: 0 / 0.7108 GB, free: 2.051 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001256/0.8642, allocations: 163.1 kB / 0.711 GB, free: 1.852 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.676e-05/0.8643, allocations: 4 kB / 0.711 GB, free: 1.848 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.324e-05/0.8643, allocations: 0 / 0.711 GB, free: 1.848 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004715/0.8648, allocations: 61.67 kB / 0.7111 GB, free: 1.781 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.8648, allocations: 0 / 0.7111 GB, free: 1.781 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.144e-05/0.8648, allocations: 0 / 0.7111 GB, free: 1.781 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.06e-05/0.8648, allocations: 7.953 kB / 0.7111 GB, free: 1.773 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003512/0.8652, allocations: 31.97 kB / 0.7111 GB, free: 1.742 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000227/0.8654, allocations: 165.6 kB / 0.7113 GB, free: 1.531 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005667/0.866, allocations: 70.52 kB / 0.7113 GB, free: 1.453 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.275e-05/0.8661, allocations: 16.86 kB / 0.7113 GB, free: 1.434 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003258/0.8664, allocations: 93.19 kB / 0.7114 GB, free: 1.324 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.657e-05/0.8665, allocations: 30.56 kB / 0.7115 GB, free: 1.285 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=4): time 1.924e-06/0.8665, allocations: 0 / 0.7115 GB, free: 1.285 MB / 0.5886 GB Notification: Performance of matching and sorting (n=6): time 0.002211/0.8687, allocations: 414 kB / 0.7119 GB, free: 0.8281 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.125e-05/0.8688, allocations: 51.41 kB / 0.7119 GB, free: 0.7656 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.029e-05/0.8689, allocations: 93.33 kB / 0.712 GB, free: 0.668 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.512e-05/0.8689, allocations: 29.7 kB / 0.712 GB, free: 0.6328 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.168e-05/0.8689, allocations: 84.14 kB / 0.7121 GB, free: 0.5469 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.922e-05/0.869, allocations: 19.7 kB / 0.7121 GB, free: 0.5273 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.516e-06/0.869, allocations: 0 / 0.7121 GB, free: 0.5273 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001282/0.8691, allocations: 314.8 kB / 0.7124 GB, free: 216 kB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.244e-05/0.8692, allocations: 15.94 kB / 0.7124 GB, free: 200 kB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.252e-05/0.8693, allocations: 16 kB / 0.7124 GB, free: 184 kB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.481e-05/0.8694, allocations: 19.98 kB / 0.7125 GB, free: 164 kB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.8694, allocations: 4 kB / 0.7125 GB, free: 160 kB / 0.5886 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002093/0.8696, allocations: 73.62 kB / 0.7125 GB, free: 80 kB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.934e-05/0.8696, allocations: 8.719 kB / 0.7125 GB, free: 72 kB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.8697, allocations: 0 / 0.7125 GB, free: 72 kB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.8697, allocations: 4.031 kB / 0.7126 GB, free: 68 kB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002858/0.87, allocations: 23.97 kB / 0.7126 GB, free: 44 kB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.021e-05/0.87, allocations: 3.953 kB / 0.7126 GB, free: 40 kB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001754/0.8702, allocations: 8 kB / 0.7126 GB, free: 32 kB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.942e-05/0.8702, allocations: 3.984 kB / 0.7126 GB, free: 28 kB / 0.5886 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.0001111/0.8703, allocations: 113 kB / 0.7127 GB, free: 15.91 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.796e-05/0.8704, allocations: 0 / 0.7127 GB, free: 15.91 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.519e-05/0.8704, allocations: 8.094 kB / 0.7127 GB, free: 15.9 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/0.8704, allocations: 4 kB / 0.7127 GB, free: 15.9 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.8704, allocations: 0 / 0.7127 GB, free: 15.9 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/0.8705, allocations: 3.953 kB / 0.7127 GB, free: 15.89 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006852/0.8712, allocations: 335.4 kB / 0.713 GB, free: 15.51 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.8712, allocations: 0 / 0.713 GB, free: 15.51 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002807/0.8715, allocations: 24.09 kB / 0.7131 GB, free: 15.48 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.342e-06/0.8715, allocations: 4 kB / 0.7131 GB, free: 15.48 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.886e-05/0.8715, allocations: 8 kB / 0.7131 GB, free: 15.47 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.43e-06/0.8715, allocations: 3.953 kB / 0.7131 GB, free: 15.47 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.8715, allocations: 0 / 0.7131 GB, free: 15.47 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000348/0.8719, allocations: 210 kB / 0.7133 GB, free: 15.24 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 6.752e-05/0.872, allocations: 81.09 kB / 0.7133 GB, free: 15.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.082e-05/0.872, allocations: 11.98 kB / 0.7134 GB, free: 15.13 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002436/0.8723, allocations: 7.984 kB / 0.7134 GB, free: 15.12 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.092e-05/0.8723, allocations: 4 kB / 0.7134 GB, free: 15.12 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.518e-05/0.8723, allocations: 4 kB / 0.7134 GB, free: 15.11 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.528e-05/0.8724, allocations: 75.28 kB / 0.7134 GB, free: 15.04 MB / 0.6042 GB Notification: Performance of sort global known variables: time 4.71e-07/0.8724, allocations: 4.062 kB / 0.7135 GB, free: 15.04 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003294/0.8728, allocations: 27.92 kB / 0.7135 GB, free: 15.01 MB / 0.6042 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.0006879/0.8735, allocations: 0.8232 MB / 0.7143 GB, free: 14.15 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001866/0.8737, allocations: 44.05 kB / 0.7143 GB, free: 14.11 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.8737, allocations: 0 / 0.7143 GB, free: 14.11 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 9.296e-05/0.8738, allocations: 23.94 kB / 0.7143 GB, free: 14.08 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001834/0.874, allocations: 0 / 0.7143 GB, free: 14.08 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009367/0.8749, allocations: 211.9 kB / 0.7145 GB, free: 13.84 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002695/0.8752, allocations: 0.6848 MB / 0.7152 GB, free: 13.13 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001076/0.8753, allocations: 8 kB / 0.7152 GB, free: 13.12 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.768e-05/0.8754, allocations: 15.44 kB / 0.7152 GB, free: 13.11 MB / 0.6042 GB Notification: Performance of SimCode: time 8.82e-07/0.8754, allocations: 0 / 0.7152 GB, free: 13.11 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02235/0.8978, allocations: 1.386 MB / 0.7166 GB, free: 11.83 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002951/0.8982, allocations: 206.8 kB / 0.7168 GB, free: 11.6 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.346/3.244, allocations: 2.406 kB / 0.7168 GB, free: 11.6 MB / 0.6042 GB