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.7/3.7, allocations: 403.3 MB / 415.4 MB, free: 13.02 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.899e-05/3.905e-05, allocations: 7.938 kB / 0.4991 GB, free: 13.37 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6089/0.6089, allocations: 92.69 MB / 0.5896 GB, free: 14.49 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2195/0.8285, allocations: 120.8 MB / 0.7076 GB, free: 5.539 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002706/0.8288, allocations: 79.94 kB / 0.7077 GB, free: 5.461 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.01394/0.8428, allocations: 2.819 MB / 0.7104 GB, free: 2.637 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.683e-06/0.8428, allocations: 0 / 0.7104 GB, free: 2.637 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.113e-05/0.8429, allocations: 4 kB / 0.7104 GB, free: 2.633 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.0004187/0.8433, allocations: 344.5 kB / 0.7108 GB, free: 2.254 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.008e-05/0.8433, allocations: 8.031 kB / 0.7108 GB, free: 2.246 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.517e-05/0.8434, allocations: 38.5 kB / 0.7108 GB, free: 2.199 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.267e-05/0.8434, allocations: 4 kB / 0.7108 GB, free: 2.195 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001547/0.8436, allocations: 167 kB / 0.711 GB, free: 1.992 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.456e-05/0.8436, allocations: 4 kB / 0.711 GB, free: 1.988 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.562e-05/0.8437, allocations: 4 kB / 0.711 GB, free: 1.984 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004543/0.8441, allocations: 61.66 kB / 0.711 GB, free: 1.918 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.397e-06/0.8442, allocations: 0 / 0.711 GB, free: 1.918 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.022e-05/0.8442, allocations: 0 / 0.711 GB, free: 1.918 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.247e-06/0.8442, allocations: 7.938 kB / 0.711 GB, free: 1.91 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003644/0.8446, allocations: 31.97 kB / 0.7111 GB, free: 1.879 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002092/0.8448, allocations: 165.6 kB / 0.7112 GB, free: 1.668 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005247/0.8453, allocations: 66.48 kB / 0.7113 GB, free: 1.594 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.084e-05/0.8454, allocations: 20.94 kB / 0.7113 GB, free: 1.57 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003193/0.8457, allocations: 93.09 kB / 0.7114 GB, free: 1.461 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.315e-05/0.8458, allocations: 34.56 kB / 0.7114 GB, free: 1.418 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=4): time 2.375e-06/0.8458, allocations: 0 / 0.7114 GB, free: 1.418 MB / 0.5886 GB Notification: Performance of matching and sorting (n=6): time 0.002163/0.848, allocations: 410 kB / 0.7118 GB, free: 0.9648 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.668e-05/0.8481, allocations: 51.41 kB / 0.7119 GB, free: 0.9023 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.95e-05/0.8482, allocations: 92.98 kB / 0.712 GB, free: 0.8047 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.68e-05/0.8482, allocations: 29.7 kB / 0.712 GB, free: 0.7695 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.949e-05/0.8483, allocations: 80.14 kB / 0.7121 GB, free: 0.6875 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 4.471e-05/0.8483, allocations: 27.64 kB / 0.7121 GB, free: 0.6602 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.746e-06/0.8483, allocations: 0 / 0.7121 GB, free: 0.6602 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001774/0.8485, allocations: 310.8 kB / 0.7124 GB, free: 356 kB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.137e-05/0.8486, allocations: 23.98 kB / 0.7124 GB, free: 332 kB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.638e-05/0.8487, allocations: 19.94 kB / 0.7124 GB, free: 312 kB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.7e-05/0.8488, allocations: 20.14 kB / 0.7124 GB, free: 292 kB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/0.8488, allocations: 3.938 kB / 0.7124 GB, free: 288 kB / 0.5886 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002224/0.849, allocations: 73.67 kB / 0.7125 GB, free: 208 kB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/0.8491, allocations: 4 kB / 0.7125 GB, free: 204 kB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.8491, allocations: 0 / 0.7125 GB, free: 204 kB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/0.8491, allocations: 0 / 0.7125 GB, free: 204 kB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002684/0.8494, allocations: 19.98 kB / 0.7125 GB, free: 184 kB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.003e-05/0.8494, allocations: 7.953 kB / 0.7126 GB, free: 176 kB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001749/0.8496, allocations: 11.98 kB / 0.7126 GB, free: 164 kB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.624e-05/0.8496, allocations: 0 / 0.7126 GB, free: 164 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 9.21e-05/0.8497, allocations: 109 kB / 0.7127 GB, free: 48 kB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.117e-05/0.8497, allocations: 0 / 0.7127 GB, free: 48 kB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.636e-05/0.8498, allocations: 12.03 kB / 0.7127 GB, free: 36 kB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.8498, allocations: 0 / 0.7127 GB, free: 36 kB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.8498, allocations: 4 kB / 0.7127 GB, free: 32 kB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.845e-06/0.8498, allocations: 11.94 kB / 0.7127 GB, free: 20 kB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007373/0.8506, allocations: 331.5 kB / 0.713 GB, free: 15.64 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.8506, allocations: 0 / 0.713 GB, free: 15.64 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002839/0.8509, allocations: 27.92 kB / 0.713 GB, free: 15.61 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.8509, allocations: 0 / 0.713 GB, free: 15.61 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.867e-05/0.8509, allocations: 4 kB / 0.713 GB, free: 15.61 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.294e-05/0.851, allocations: 3.953 kB / 0.713 GB, free: 15.6 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.851, allocations: 4.031 kB / 0.713 GB, free: 15.6 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000365/0.8513, allocations: 202.4 kB / 0.7132 GB, free: 15.38 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 7.484e-05/0.8514, allocations: 81.09 kB / 0.7133 GB, free: 15.28 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.902e-05/0.8515, allocations: 11.98 kB / 0.7133 GB, free: 15.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002388/0.8517, allocations: 7.984 kB / 0.7133 GB, free: 15.26 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.551e-05/0.8518, allocations: 19.97 kB / 0.7134 GB, free: 15.24 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.672e-05/0.8518, allocations: 4 kB / 0.7134 GB, free: 15.23 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 5.815e-05/0.8519, allocations: 79.28 kB / 0.7134 GB, free: 15.16 MB / 0.6042 GB Notification: Performance of sort global known variables: time 5.31e-07/0.8519, allocations: 0 / 0.7134 GB, free: 15.16 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003045/0.8522, allocations: 16 kB / 0.7134 GB, free: 15.14 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.0008015/0.853, allocations: 0.8269 MB / 0.7143 GB, free: 14.28 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002086/0.8532, allocations: 47.92 kB / 0.7143 GB, free: 14.23 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.8533, allocations: 0 / 0.7143 GB, free: 14.23 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 8.181e-05/0.8534, allocations: 19.98 kB / 0.7143 GB, free: 14.21 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001758/0.8535, allocations: 11.88 kB / 0.7143 GB, free: 14.2 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009474/0.8545, allocations: 208 kB / 0.7145 GB, free: 13.96 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003477/0.8549, allocations: 0.6848 MB / 0.7152 GB, free: 13.25 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001102/0.855, allocations: 8 kB / 0.7152 GB, free: 13.24 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.262e-05/0.8551, allocations: 19.42 kB / 0.7152 GB, free: 13.22 MB / 0.6042 GB Notification: Performance of SimCode: time 8.01e-07/0.8551, allocations: 0 / 0.7152 GB, free: 13.22 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02346/0.8786, allocations: 1.393 MB / 0.7166 GB, free: 11.95 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003069/0.8789, allocations: 197 kB / 0.7168 GB, free: 11.72 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.171/3.05, allocations: 0 / 0.7168 GB, free: 11.72 MB / 0.6042 GB