Running command: "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,fileNamePrefix="Buildings_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.931/4.931, allocations: 464.6 MB / 476.8 MB, free: 2.211 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.819e-05/3.812e-05, allocations: 9.234 kB / 0.5732 GB, free: 5.633 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2389/0.239, allocations: 107.2 MB / 0.6778 GB, free: 10.29 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9386/1.178, allocations: 133.3 MB / 0.8081 GB, free: 12.48 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002831/1.178, allocations: 87.94 kB / 0.8081 GB, free: 12.47 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02015/1.198, allocations: 4.266 MB / 0.8123 GB, free: 11.93 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.583e-06/1.198, allocations: 0 / 0.8123 GB, free: 11.93 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.276e-06/1.198, allocations: 0 / 0.8123 GB, free: 11.93 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.0005458/1.199, allocations: 378.2 kB / 0.8127 GB, free: 11.55 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.517e-05/1.199, allocations: 7.812 kB / 0.8127 GB, free: 11.55 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.881e-05/1.199, allocations: 38.22 kB / 0.8127 GB, free: 11.51 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.762e-05/1.199, allocations: 11 kB / 0.8127 GB, free: 11.51 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.645e-05/1.199, allocations: 167 kB / 0.8129 GB, free: 11.3 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.586e-05/1.199, allocations: 7.438 kB / 0.8129 GB, free: 11.3 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.918e-05/1.199, allocations: 3.812 kB / 0.8129 GB, free: 11.3 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000169/1.199, allocations: 69.14 kB / 0.813 GB, free: 11.27 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.469e-05/1.199, allocations: 3.844 kB / 0.813 GB, free: 11.27 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.455e-05/1.199, allocations: 0 / 0.813 GB, free: 11.27 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/1.199, allocations: 0 / 0.813 GB, free: 11.27 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001019/1.199, allocations: 31.69 kB / 0.813 GB, free: 11.27 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006816/1.2, allocations: 338.3 kB / 0.8133 GB, free: 10.98 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001475/1.2, allocations: 65.2 kB / 0.8134 GB, free: 10.96 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.907e-05/1.2, allocations: 16.83 kB / 0.8134 GB, free: 10.95 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.015e-05/1.2, allocations: 7.75 kB / 0.8134 GB, free: 10.95 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.208e-05/1.2, allocations: 34.56 kB / 0.8134 GB, free: 10.91 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.883e-06/1.2, allocations: 0 / 0.8134 GB, free: 10.91 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11): time 0.001215/1.202, allocations: 0.5648 MB / 0.814 GB, free: 10.45 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.852e-05/1.202, allocations: 63.16 kB / 0.814 GB, free: 10.38 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.563e-05/1.202, allocations: 99.41 kB / 0.8141 GB, free: 10.29 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.617e-05/1.202, allocations: 25.7 kB / 0.8142 GB, free: 10.25 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.722e-05/1.202, allocations: 91.48 kB / 0.8142 GB, free: 10.17 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.635e-05/1.202, allocations: 37.72 kB / 0.8143 GB, free: 10.14 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.268e-06/1.202, allocations: 3.688 kB / 0.8143 GB, free: 10.14 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.865e-05/1.202, allocations: 324.9 kB / 0.8146 GB, free: 9.824 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.674e-05/1.202, allocations: 14.88 kB / 0.8146 GB, free: 9.824 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.387e-05/1.202, allocations: 27.09 kB / 0.8146 GB, free: 9.82 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.995e-05/1.202, allocations: 25.77 kB / 0.8147 GB, free: 9.82 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/1.202, allocations: 0 / 0.8147 GB, free: 9.82 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002124/1.203, allocations: 94.69 kB / 0.8148 GB, free: 9.785 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/1.203, allocations: 3.844 kB / 0.8148 GB, free: 9.785 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/1.203, allocations: 0 / 0.8148 GB, free: 9.785 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.102e-05/1.203, allocations: 11.89 kB / 0.8148 GB, free: 9.777 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002799/1.203, allocations: 32.62 kB / 0.8148 GB, free: 9.773 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.676e-06/1.203, allocations: 7.906 kB / 0.8148 GB, free: 9.77 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001241/1.203, allocations: 3.875 kB / 0.8148 GB, free: 9.77 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.429e-05/1.203, allocations: 3.844 kB / 0.8148 GB, free: 9.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 (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 6.507e-05/1.203, allocations: 107.6 kB / 0.8149 GB, free: 9.664 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.632e-05/1.203, allocations: 3.812 kB / 0.8149 GB, free: 9.664 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000277/1.203, allocations: 121.3 kB / 0.815 GB, free: 9.605 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/1.203, allocations: 3.953 kB / 0.815 GB, free: 9.602 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/1.203, allocations: 0 / 0.815 GB, free: 9.602 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/1.204, allocations: 0 / 0.815 GB, free: 9.602 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004854/1.204, allocations: 358.6 kB / 0.8154 GB, free: 9.309 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/1.204, allocations: 0 / 0.8154 GB, free: 9.309 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003162/1.204, allocations: 32.19 kB / 0.8154 GB, free: 9.305 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.853e-06/1.204, allocations: 7.953 kB / 0.8154 GB, free: 9.297 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.525e-05/1.204, allocations: 3.047 kB / 0.8154 GB, free: 9.297 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/1.204, allocations: 3.906 kB / 0.8154 GB, free: 9.297 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/1.204, allocations: 0 / 0.8154 GB, free: 9.297 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003213/1.205, allocations: 216.7 kB / 0.8156 GB, free: 9.16 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 2.928e-05/1.205, allocations: 83.36 kB / 0.8157 GB, free: 9.066 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.505e-05/1.205, allocations: 7.141 kB / 0.8157 GB, free: 9.062 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002154/1.205, allocations: 14.12 kB / 0.8157 GB, free: 9.059 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.16e-05/1.205, allocations: 6.375 kB / 0.8157 GB, free: 9.059 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.407e-05/1.205, allocations: 3.812 kB / 0.8157 GB, free: 9.059 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.25e-05/1.205, allocations: 79.25 kB / 0.8158 GB, free: 8.984 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.1e-07/1.205, allocations: 0 / 0.8158 GB, free: 8.984 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004069/1.206, allocations: 45.56 kB / 0.8159 GB, free: 8.973 MB / 0.6355 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.001103/1.207, allocations: 0.7997 MB / 0.8166 GB, free: 24.29 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002316/1.207, allocations: 66.41 kB / 0.8167 GB, free: 24.29 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/1.207, allocations: 3.938 kB / 0.8167 GB, free: 24.28 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 8.149e-05/1.207, allocations: 36.47 kB / 0.8167 GB, free: 24.28 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002609/1.207, allocations: 12.84 kB / 0.8168 GB, free: 24.27 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008583/1.208, allocations: 301 kB / 0.817 GB, free: 24.04 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000303/1.209, allocations: 0.6915 MB / 0.8177 GB, free: 23.35 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001012/1.209, allocations: 18.83 kB / 0.8177 GB, free: 23.34 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.512e-05/1.209, allocations: 29.31 kB / 0.8178 GB, free: 23.33 MB / 0.6511 GB Notification: Performance of SimCode: time 1.213e-06/1.209, allocations: 0 / 0.8178 GB, free: 23.33 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02079/1.23, allocations: 1.986 MB / 0.8197 GB, free: 23.07 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000228/1.23, allocations: 213.8 kB / 0.8199 GB, free: 22.84 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.443/3.673, allocations: 0 / 0.8199 GB, free: 22.84 MB / 0.6511 GB