Running command: "" <> buildModelFMU(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(BuildingSystems): time 3.335/3.335, allocations: 343.8 MB / 355.9 MB, free: 9.375 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.703e-05/3.725e-05, allocations: 4 kB / 436.7 MB, free: 2.371 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1849/0.185, allocations: 77.73 MB / 0.5023 GB, free: 4.492 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6633/0.8484, allocations: 106.3 MB / 0.6062 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002935/0.8487, allocations: 75.95 kB / 0.6063 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.0212/0.87, allocations: 3.997 MB / 0.6102 GB, free: 10.5 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.933e-06/0.87, allocations: 0 / 0.6102 GB, free: 10.5 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 8.796e-06/0.87, allocations: 3.938 kB / 0.6102 GB, free: 10.5 MB / 0.4948 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.0004384/0.8705, allocations: 342.5 kB / 0.6105 GB, free: 10.12 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.199e-05/0.8706, allocations: 12.03 kB / 0.6105 GB, free: 10.11 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.536e-05/0.8706, allocations: 38.56 kB / 0.6105 GB, free: 10.06 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.631e-05/0.8707, allocations: 3.953 kB / 0.6105 GB, free: 10.06 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001401/0.8708, allocations: 167 kB / 0.6107 GB, free: 9.855 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.392e-05/0.8709, allocations: 0 / 0.6107 GB, free: 9.855 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.516e-05/0.8709, allocations: 4 kB / 0.6107 GB, free: 9.852 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000129/0.871, allocations: 37.69 kB / 0.6107 GB, free: 9.809 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.898e-06/0.8711, allocations: 0 / 0.6107 GB, free: 9.809 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.284e-05/0.8711, allocations: 0 / 0.6107 GB, free: 9.809 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.446e-06/0.8711, allocations: 4 kB / 0.6107 GB, free: 9.805 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.184e-05/0.8712, allocations: 7.953 kB / 0.6108 GB, free: 9.797 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002344/0.8714, allocations: 173.5 kB / 0.6109 GB, free: 9.578 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002635/0.8717, allocations: 42.55 kB / 0.611 GB, free: 9.527 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.118e-05/0.8718, allocations: 16.86 kB / 0.611 GB, free: 9.508 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.852e-05/0.8718, allocations: 0 / 0.611 GB, free: 9.508 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.858e-05/0.8718, allocations: 30.56 kB / 0.611 GB, free: 9.469 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=4): time 1.783e-06/0.8719, allocations: 0 / 0.611 GB, free: 9.469 MB / 0.4948 GB Notification: Performance of matching and sorting (n=6): time 0.0007918/0.8727, allocations: 302.6 kB / 0.6113 GB, free: 9.121 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.846e-05/0.8727, allocations: 51.41 kB / 0.6113 GB, free: 9.059 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.419e-05/0.8728, allocations: 100.9 kB / 0.6114 GB, free: 8.953 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.96e-05/0.8729, allocations: 25.7 kB / 0.6115 GB, free: 8.922 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.293e-05/0.8729, allocations: 80.14 kB / 0.6115 GB, free: 8.84 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.157e-05/0.873, allocations: 31.58 kB / 0.6116 GB, free: 8.809 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.019e-06/0.873, allocations: 0 / 0.6116 GB, free: 8.809 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001299/0.8731, allocations: 319.2 kB / 0.6119 GB, free: 8.488 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.126e-05/0.8732, allocations: 11.98 kB / 0.6119 GB, free: 8.477 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.937e-05/0.8732, allocations: 16.48 kB / 0.6119 GB, free: 8.461 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.191e-05/0.8733, allocations: 20.12 kB / 0.6119 GB, free: 8.441 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.8733, allocations: 0 / 0.6119 GB, free: 8.441 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001547/0.8735, allocations: 57.64 kB / 0.612 GB, free: 8.379 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.218e-05/0.8735, allocations: 11.98 kB / 0.612 GB, free: 8.367 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.8735, allocations: 0 / 0.612 GB, free: 8.367 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/0.8736, allocations: 0 / 0.612 GB, free: 8.367 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001064/0.8737, allocations: 8 kB / 0.612 GB, free: 8.359 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.116e-05/0.8737, allocations: 8 kB / 0.612 GB, free: 8.352 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.171e-05/0.8737, allocations: 0 / 0.612 GB, free: 8.352 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.094e-05/0.8738, allocations: 3.953 kB / 0.612 GB, free: 8.348 MB / 0.4948 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 8.821e-05/0.8739, allocations: 109 kB / 0.6121 GB, free: 8.234 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.633e-05/0.8739, allocations: 0 / 0.6121 GB, free: 8.234 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002231/0.8741, allocations: 69.7 kB / 0.6122 GB, free: 8.156 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.077e-06/0.8741, allocations: 4 kB / 0.6122 GB, free: 8.152 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.8741, allocations: 0 / 0.6122 GB, free: 8.152 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.8742, allocations: 0 / 0.6122 GB, free: 8.152 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004492/0.8746, allocations: 315.3 kB / 0.6125 GB, free: 7.785 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.8746, allocations: 0 / 0.6125 GB, free: 7.785 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001327/0.8748, allocations: 19.92 kB / 0.6125 GB, free: 7.766 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.503e-06/0.8748, allocations: 0 / 0.6125 GB, free: 7.766 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.083e-05/0.8748, allocations: 0 / 0.6125 GB, free: 7.766 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.8748, allocations: 0 / 0.6125 GB, free: 7.766 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.8749, allocations: 4 kB / 0.6125 GB, free: 7.762 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002768/0.8751, allocations: 186.1 kB / 0.6127 GB, free: 7.555 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.31e-05/0.8752, allocations: 85.12 kB / 0.6128 GB, free: 7.453 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.154e-05/0.8753, allocations: 4.25 kB / 0.6128 GB, free: 7.449 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001121/0.8754, allocations: 4 kB / 0.6128 GB, free: 7.445 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.595e-05/0.8754, allocations: 15.88 kB / 0.6128 GB, free: 7.43 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.202e-05/0.8754, allocations: 4 kB / 0.6128 GB, free: 7.426 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.603e-05/0.8755, allocations: 75.28 kB / 0.6129 GB, free: 7.352 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.705e-06/0.8755, allocations: 4.062 kB / 0.6129 GB, free: 7.348 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003841/0.8759, allocations: 35.94 kB / 0.6129 GB, free: 7.312 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (m_flow_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.0007709/0.8767, allocations: 0.8188 MB / 0.6137 GB, free: 6.461 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001561/0.8769, allocations: 43.94 kB / 0.6137 GB, free: 6.418 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.8769, allocations: 0 / 0.6137 GB, free: 6.418 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 5.229e-05/0.877, allocations: 16 kB / 0.6138 GB, free: 6.402 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001983/0.8772, allocations: 3.953 kB / 0.6138 GB, free: 6.398 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006798/0.8779, allocations: 192.8 kB / 0.6139 GB, free: 6.168 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004111/0.8783, allocations: 0.6887 MB / 0.6146 GB, free: 5.453 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 7.785e-05/0.8784, allocations: 4 kB / 0.6146 GB, free: 5.449 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.807e-05/0.8785, allocations: 19.42 kB / 0.6146 GB, free: 5.434 MB / 0.4948 GB Notification: Performance of SimCode: time 1.923e-06/0.8785, allocations: 0 / 0.6146 GB, free: 5.434 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02256/0.9011, allocations: 1.334 MB / 0.6159 GB, free: 4.211 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003533/0.9015, allocations: 206 kB / 0.6161 GB, free: 3.984 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.311/3.213, allocations: 0 / 0.6161 GB, free: 3.984 MB / 0.4948 GB