Running command: "" <> buildModelFMU(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(BuildingSystems): time 3.485/3.485, allocations: 343.8 MB / 355.9 MB, free: 9.383 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.235e-05/5.241e-05, allocations: 8 kB / 436.7 MB, free: 2.375 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1888/0.1889, allocations: 77.73 MB / 0.5023 GB, free: 4.492 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6356/0.8246, allocations: 106.2 MB / 0.6061 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003042/0.825, allocations: 83.94 kB / 0.6061 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.0144/0.8394, allocations: 2.833 MB / 0.6089 GB, free: 11.79 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.104e-06/0.8394, allocations: 0 / 0.6089 GB, free: 11.79 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 7.965e-06/0.8395, allocations: 0 / 0.6089 GB, free: 11.79 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.000441/0.8399, allocations: 354.4 kB / 0.6092 GB, free: 11.4 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.252e-05/0.84, allocations: 11.97 kB / 0.6093 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.081e-05/0.84, allocations: 34.56 kB / 0.6093 GB, free: 11.35 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.97e-05/0.8401, allocations: 3.953 kB / 0.6093 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001507/0.8402, allocations: 159.1 kB / 0.6094 GB, free: 11.15 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.644e-05/0.8403, allocations: 11.94 kB / 0.6095 GB, free: 11.14 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.443e-05/0.8403, allocations: 3.984 kB / 0.6095 GB, free: 11.13 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000123/0.8404, allocations: 37.7 kB / 0.6095 GB, free: 11.09 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.296e-06/0.8404, allocations: 0 / 0.6095 GB, free: 11.09 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.072e-05/0.8405, allocations: 4 kB / 0.6095 GB, free: 11.09 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.8405, allocations: 0 / 0.6095 GB, free: 11.09 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.66e-05/0.8405, allocations: 15.94 kB / 0.6095 GB, free: 11.07 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000218/0.8408, allocations: 161.6 kB / 0.6097 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002191/0.841, allocations: 38.58 kB / 0.6097 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.869e-05/0.8411, allocations: 16.8 kB / 0.6097 GB, free: 10.8 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.031e-05/0.8411, allocations: 4 kB / 0.6097 GB, free: 10.79 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.377e-05/0.8412, allocations: 38.64 kB / 0.6098 GB, free: 10.75 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=4): time 1.673e-06/0.8412, allocations: 0 / 0.6098 GB, free: 10.75 MB / 0.4948 GB Notification: Performance of matching and sorting (n=6): time 0.0007342/0.8419, allocations: 294.4 kB / 0.61 GB, free: 10.41 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.077e-05/0.842, allocations: 55.41 kB / 0.6101 GB, free: 10.34 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.651e-05/0.8421, allocations: 96.94 kB / 0.6102 GB, free: 10.24 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.774e-05/0.8421, allocations: 33.64 kB / 0.6102 GB, free: 10.2 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.556e-05/0.8422, allocations: 80.14 kB / 0.6103 GB, free: 10.12 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.55e-05/0.8422, allocations: 19.72 kB / 0.6103 GB, free: 10.1 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.498e-06/0.8422, allocations: 7.938 kB / 0.6103 GB, free: 10.09 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001719/0.8424, allocations: 310.8 kB / 0.6106 GB, free: 9.777 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.976e-05/0.8424, allocations: 12 kB / 0.6106 GB, free: 9.766 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.613e-05/0.8425, allocations: 11.98 kB / 0.6106 GB, free: 9.754 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.664e-05/0.8426, allocations: 12.62 kB / 0.6107 GB, free: 9.742 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.8426, allocations: 0 / 0.6107 GB, free: 9.742 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001544/0.8427, allocations: 65.83 kB / 0.6107 GB, free: 9.672 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.035e-05/0.8428, allocations: 6.812 kB / 0.6107 GB, free: 9.668 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.238e-06/0.8428, allocations: 12.02 kB / 0.6107 GB, free: 9.656 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/0.8428, allocations: 0 / 0.6107 GB, free: 9.656 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.851e-05/0.8429, allocations: 8 kB / 0.6107 GB, free: 9.648 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.668e-06/0.8429, allocations: 3.984 kB / 0.6107 GB, free: 9.645 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.85e-05/0.843, allocations: 0 / 0.6107 GB, free: 9.645 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.567e-05/0.843, allocations: 11.94 kB / 0.6108 GB, free: 9.633 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 9.282e-05/0.8431, allocations: 105 kB / 0.6109 GB, free: 9.523 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.544e-05/0.8431, allocations: 4 kB / 0.6109 GB, free: 9.52 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001998/0.8433, allocations: 65.78 kB / 0.6109 GB, free: 9.445 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.8433, allocations: 7.938 kB / 0.6109 GB, free: 9.438 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.8434, allocations: 0 / 0.6109 GB, free: 9.438 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.8434, allocations: 4 kB / 0.6109 GB, free: 9.434 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004225/0.8438, allocations: 315.5 kB / 0.6112 GB, free: 9.066 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.8438, allocations: 0 / 0.6112 GB, free: 9.066 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000112/0.8439, allocations: 12 kB / 0.6112 GB, free: 9.055 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.604e-06/0.844, allocations: 4 kB / 0.6112 GB, free: 9.051 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.766e-06/0.844, allocations: 3.938 kB / 0.6113 GB, free: 9.047 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.844, allocations: 0 / 0.6113 GB, free: 9.047 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.844, allocations: 4.031 kB / 0.6113 GB, free: 9.043 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002671/0.8443, allocations: 186.1 kB / 0.6114 GB, free: 8.836 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.757e-05/0.8444, allocations: 85.14 kB / 0.6115 GB, free: 8.734 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.628e-05/0.8444, allocations: 3.938 kB / 0.6115 GB, free: 8.73 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.476e-05/0.8445, allocations: 0 / 0.6115 GB, free: 8.73 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.889e-05/0.8445, allocations: 16 kB / 0.6115 GB, free: 8.715 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.594e-06/0.8445, allocations: 0 / 0.6115 GB, free: 8.715 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 5.711e-05/0.8446, allocations: 83.28 kB / 0.6116 GB, free: 8.633 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4.91e-07/0.8446, allocations: 0 / 0.6116 GB, free: 8.633 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003459/0.845, allocations: 27.88 kB / 0.6116 GB, free: 8.605 MB / 0.4948 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.0007518/0.8457, allocations: 0.831 MB / 0.6125 GB, free: 7.742 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001342/0.8459, allocations: 27.94 kB / 0.6125 GB, free: 7.715 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.8459, allocations: 0 / 0.6125 GB, free: 7.715 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 4.953e-05/0.846, allocations: 16 kB / 0.6125 GB, free: 7.699 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001874/0.8462, allocations: 5.781 kB / 0.6125 GB, free: 7.695 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006601/0.8468, allocations: 192.3 kB / 0.6127 GB, free: 7.465 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003363/0.8472, allocations: 0.6848 MB / 0.6134 GB, free: 6.754 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 4.971e-05/0.8473, allocations: 4 kB / 0.6134 GB, free: 6.75 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.099e-05/0.8473, allocations: 15.42 kB / 0.6134 GB, free: 6.738 MB / 0.4948 GB Notification: Performance of SimCode: time 1.092e-06/0.8473, allocations: 0 / 0.6134 GB, free: 6.738 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02477/0.8721, allocations: 1.361 MB / 0.6147 GB, free: 5.492 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003759/0.8725, allocations: 216.2 kB / 0.6149 GB, free: 5.262 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.429/3.302, allocations: 0 / 0.6149 GB, free: 5.262 MB / 0.4948 GB