Running command: "" <> buildModelFMU(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(BuildingSystems): time 3.232/3.232, allocations: 343.8 MB / 355.9 MB, free: 9.402 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 6.829e-05/6.856e-05, allocations: 7.984 kB / 436.7 MB, free: 2.395 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2362/0.2364, allocations: 77.73 MB / 0.5023 GB, free: 4.508 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6564/0.8929, allocations: 106.5 MB / 0.6063 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002976/0.8933, allocations: 79.95 kB / 0.6064 GB, free: 14.4 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.02326/0.9165, allocations: 4.503 MB / 0.6108 GB, free: 9.906 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.834e-06/0.9166, allocations: 0 / 0.6108 GB, free: 9.906 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 8.216e-06/0.9166, allocations: 0 / 0.6108 GB, free: 9.906 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004785/0.9171, allocations: 350.4 kB / 0.6111 GB, free: 9.52 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.491e-05/0.9172, allocations: 8.031 kB / 0.6111 GB, free: 9.512 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.819e-05/0.9172, allocations: 34.56 kB / 0.6112 GB, free: 9.469 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.843e-05/0.9173, allocations: 11.95 kB / 0.6112 GB, free: 9.457 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001362/0.9174, allocations: 167 kB / 0.6113 GB, free: 9.254 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.777e-05/0.9175, allocations: 4 kB / 0.6113 GB, free: 9.25 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.338e-05/0.9175, allocations: 11.91 kB / 0.6113 GB, free: 9.238 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001492/0.9177, allocations: 45.67 kB / 0.6114 GB, free: 9.188 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.763e-05/0.9177, allocations: 4 kB / 0.6114 GB, free: 9.184 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.401e-05/0.9177, allocations: 0 / 0.6114 GB, free: 9.184 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.9177, allocations: 0 / 0.6114 GB, free: 9.184 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.845e-05/0.9178, allocations: 23.92 kB / 0.6114 GB, free: 9.16 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002283/0.9181, allocations: 169.6 kB / 0.6116 GB, free: 8.945 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001559/0.9182, allocations: 58.94 kB / 0.6116 GB, free: 8.879 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.737e-05/0.9183, allocations: 24.86 kB / 0.6117 GB, free: 8.852 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.112e-05/0.9184, allocations: 0 / 0.6117 GB, free: 8.852 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.557e-05/0.9184, allocations: 34.56 kB / 0.6117 GB, free: 8.809 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 2.044e-06/0.9184, allocations: 0 / 0.6117 GB, free: 8.809 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11): time 0.001396/0.9198, allocations: 0.5538 MB / 0.6122 GB, free: 8.164 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.822e-05/0.9199, allocations: 59.36 kB / 0.6123 GB, free: 8.094 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.285e-05/0.92, allocations: 89 kB / 0.6124 GB, free: 8 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.966e-05/0.92, allocations: 25.7 kB / 0.6124 GB, free: 7.969 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.164e-05/0.9201, allocations: 88.12 kB / 0.6125 GB, free: 7.879 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 5.6e-05/0.9202, allocations: 39.41 kB / 0.6125 GB, free: 7.84 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.913e-06/0.9202, allocations: 4.125 kB / 0.6125 GB, free: 7.836 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001205/0.9203, allocations: 318.8 kB / 0.6128 GB, free: 7.516 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.672e-05/0.9204, allocations: 20 kB / 0.6128 GB, free: 7.496 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.337e-05/0.9205, allocations: 20 kB / 0.6129 GB, free: 7.477 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.284e-05/0.9206, allocations: 24.17 kB / 0.6129 GB, free: 7.453 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.9206, allocations: 0 / 0.6129 GB, free: 7.453 MB / 0.4948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002478/0.9208, allocations: 101.6 kB / 0.613 GB, free: 7.348 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.219e-05/0.9209, allocations: 4.625 kB / 0.613 GB, free: 7.344 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/0.9209, allocations: 3.984 kB / 0.613 GB, free: 7.34 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.084e-05/0.9209, allocations: 8 kB / 0.613 GB, free: 7.332 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002249/0.9212, allocations: 19.98 kB / 0.613 GB, free: 7.312 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/0.9212, allocations: 3.938 kB / 0.613 GB, free: 7.309 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.012e-05/0.9212, allocations: 7.953 kB / 0.613 GB, free: 7.301 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.235e-05/0.9213, allocations: 4 kB / 0.613 GB, free: 7.297 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 (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.0001007/0.9214, allocations: 113 kB / 0.6131 GB, free: 7.18 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.244e-05/0.9214, allocations: 7.844 kB / 0.6131 GB, free: 7.172 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003326/0.9217, allocations: 109.8 kB / 0.6133 GB, free: 7.055 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.009e-06/0.9218, allocations: 4 kB / 0.6133 GB, free: 7.051 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.596e-06/0.9218, allocations: 4 kB / 0.6133 GB, free: 7.047 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.93e-06/0.9218, allocations: 0 / 0.6133 GB, free: 7.047 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005714/0.9224, allocations: 350.4 kB / 0.6136 GB, free: 6.648 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.372e-06/0.9224, allocations: 4 kB / 0.6136 GB, free: 6.645 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002354/0.9227, allocations: 19.98 kB / 0.6136 GB, free: 6.625 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.715e-06/0.9227, allocations: 0 / 0.6136 GB, free: 6.625 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.779e-05/0.9227, allocations: 4 kB / 0.6136 GB, free: 6.621 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.304e-06/0.9227, allocations: 4 kB / 0.6136 GB, free: 6.617 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.43e-06/0.9227, allocations: 3.953 kB / 0.6136 GB, free: 6.613 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000382/0.9231, allocations: 219.3 kB / 0.6138 GB, free: 6.383 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.617e-05/0.9232, allocations: 77.11 kB / 0.6139 GB, free: 6.289 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.735e-05/0.9232, allocations: 4 kB / 0.6139 GB, free: 6.285 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001496/0.9234, allocations: 8.031 kB / 0.6139 GB, free: 6.277 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.64e-05/0.9234, allocations: 7.984 kB / 0.6139 GB, free: 6.27 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.831e-05/0.9235, allocations: 7.953 kB / 0.6139 GB, free: 6.262 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.468e-05/0.9235, allocations: 79.34 kB / 0.614 GB, free: 6.184 MB / 0.4948 GB Notification: Performance of sort global known variables: time 3.91e-07/0.9235, allocations: 0 / 0.614 GB, free: 6.184 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0004517/0.924, allocations: 47.92 kB / 0.6141 GB, free: 6.137 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (m_flow_comp,der_m_flow_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.0008884/0.9249, allocations: 0.7826 MB / 0.6148 GB, free: 5.328 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002554/0.9252, allocations: 55.98 kB / 0.6149 GB, free: 5.273 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.9252, allocations: 4.156 kB / 0.6149 GB, free: 5.27 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 8.294e-05/0.9253, allocations: 35.94 kB / 0.6149 GB, free: 5.234 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002105/0.9255, allocations: 7.938 kB / 0.6149 GB, free: 5.227 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009651/0.9265, allocations: 286.5 kB / 0.6152 GB, free: 4.902 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002758/0.9268, allocations: 0.6888 MB / 0.6159 GB, free: 4.188 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 8.679e-05/0.9269, allocations: 7.984 kB / 0.6159 GB, free: 4.18 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.117e-05/0.927, allocations: 15.44 kB / 0.6159 GB, free: 4.168 MB / 0.4948 GB Notification: Performance of SimCode: time 1.573e-06/0.927, allocations: 3.938 kB / 0.6159 GB, free: 4.164 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02811/0.9551, allocations: 1.754 MB / 0.6176 GB, free: 2.523 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003543/0.9556, allocations: 208.1 kB / 0.6178 GB, free: 2.293 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.43/3.385, allocations: 2.234 kB / 0.6178 GB, free: 2.293 MB / 0.4948 GB