Running command: "" <> buildModelFMU(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(BuildingSystems): time 3.25/3.25, allocations: 343.8 MB / 355.9 MB, free: 9.383 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.979e-05/5.991e-05, allocations: 12 kB / 436.7 MB, free: 2.375 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1838/0.1839, allocations: 77.73 MB / 0.5023 GB, free: 4.484 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6845/0.8685, allocations: 107.1 MB / 0.6069 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003354/0.8688, allocations: 83.95 kB / 0.607 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.02285/0.8917, allocations: 4.267 MB / 0.6112 GB, free: 9.449 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.482e-06/0.8917, allocations: 0 / 0.6112 GB, free: 9.449 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.199e-05/0.8918, allocations: 4 kB / 0.6112 GB, free: 9.445 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006403/0.8924, allocations: 366.4 kB / 0.6115 GB, free: 9.043 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.276e-05/0.8925, allocations: 8.031 kB / 0.6116 GB, free: 9.035 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.456e-05/0.8926, allocations: 42.55 kB / 0.6116 GB, free: 8.984 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.113e-05/0.8926, allocations: 11.86 kB / 0.6116 GB, free: 8.973 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001434/0.8928, allocations: 167 kB / 0.6118 GB, free: 8.77 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.819e-05/0.8928, allocations: 8 kB / 0.6118 GB, free: 8.762 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.017e-05/0.8928, allocations: 4 kB / 0.6118 GB, free: 8.758 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001918/0.893, allocations: 65.67 kB / 0.6118 GB, free: 8.688 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/0.8931, allocations: 0 / 0.6118 GB, free: 8.688 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.733e-05/0.8931, allocations: 8 kB / 0.6118 GB, free: 8.68 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.71e-06/0.8931, allocations: 0 / 0.6118 GB, free: 8.68 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001204/0.8932, allocations: 31.98 kB / 0.6119 GB, free: 8.648 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000787/0.894, allocations: 332.6 kB / 0.6122 GB, free: 8.273 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001683/0.8942, allocations: 62.56 kB / 0.6123 GB, free: 8.203 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.645e-05/0.8943, allocations: 21.39 kB / 0.6123 GB, free: 8.18 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.266e-05/0.8943, allocations: 4 kB / 0.6123 GB, free: 8.176 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.621e-05/0.8944, allocations: 42.52 kB / 0.6123 GB, free: 8.125 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 1.944e-06/0.8944, allocations: 3.938 kB / 0.6123 GB, free: 8.121 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11): time 0.001462/0.8959, allocations: 0.553 MB / 0.6129 GB, free: 7.477 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.36e-05/0.8959, allocations: 51.41 kB / 0.6129 GB, free: 7.414 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.792e-05/0.896, allocations: 101 kB / 0.613 GB, free: 7.309 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.356e-05/0.8961, allocations: 29.7 kB / 0.613 GB, free: 7.273 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.671e-05/0.8962, allocations: 91.98 kB / 0.6131 GB, free: 7.18 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 5.732e-05/0.8962, allocations: 35.45 kB / 0.6132 GB, free: 7.145 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.074e-05/0.8962, allocations: 4 kB / 0.6132 GB, free: 7.141 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001394/0.8964, allocations: 322.8 kB / 0.6135 GB, free: 6.816 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.946e-05/0.8965, allocations: 24 kB / 0.6135 GB, free: 6.793 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.103e-05/0.8966, allocations: 20.12 kB / 0.6135 GB, free: 6.773 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.301e-05/0.8967, allocations: 32.08 kB / 0.6135 GB, free: 6.742 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.8967, allocations: 3.938 kB / 0.6135 GB, free: 6.738 MB / 0.4948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002504/0.8969, allocations: 97.55 kB / 0.6136 GB, free: 6.637 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.899e-05/0.897, allocations: 10.59 kB / 0.6137 GB, free: 6.629 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.241e-06/0.897, allocations: 0 / 0.6137 GB, free: 6.629 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/0.897, allocations: 0 / 0.6137 GB, free: 6.629 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002768/0.8973, allocations: 31.92 kB / 0.6137 GB, free: 6.598 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.116e-05/0.8973, allocations: 3.984 kB / 0.6137 GB, free: 6.594 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001278/0.8975, allocations: 8 kB / 0.6137 GB, free: 6.586 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.644e-05/0.8975, allocations: 8.188 kB / 0.6137 GB, free: 6.578 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 9.846e-05/0.8976, allocations: 110.7 kB / 0.6138 GB, free: 6.465 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.497e-05/0.8977, allocations: 7.859 kB / 0.6138 GB, free: 6.457 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003112/0.898, allocations: 105.7 kB / 0.6139 GB, free: 6.34 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/0.898, allocations: 4 kB / 0.6139 GB, free: 6.336 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.898, allocations: 0 / 0.6139 GB, free: 6.336 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.898, allocations: 0 / 0.6139 GB, free: 6.336 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006059/0.8986, allocations: 375.2 kB / 0.6143 GB, free: 5.914 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.8987, allocations: 3.984 kB / 0.6143 GB, free: 5.91 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003409/0.899, allocations: 27.98 kB / 0.6143 GB, free: 5.883 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.899, allocations: 0 / 0.6143 GB, free: 5.883 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.725e-05/0.8991, allocations: 4 kB / 0.6143 GB, free: 5.879 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.8991, allocations: 0 / 0.6143 GB, free: 5.879 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.446e-06/0.8991, allocations: 3.984 kB / 0.6143 GB, free: 5.875 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004454/0.8995, allocations: 231.4 kB / 0.6145 GB, free: 5.633 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.645e-05/0.8996, allocations: 81.06 kB / 0.6146 GB, free: 5.535 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.483e-05/0.8997, allocations: 4 kB / 0.6146 GB, free: 5.531 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002157/0.8999, allocations: 12.02 kB / 0.6146 GB, free: 5.52 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.362e-05/0.8999, allocations: 7.984 kB / 0.6146 GB, free: 5.512 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.655e-05/0.9, allocations: 7.938 kB / 0.6146 GB, free: 5.504 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 5.737e-05/0.9, allocations: 83.28 kB / 0.6147 GB, free: 5.422 MB / 0.4948 GB Notification: Performance of sort global known variables: time 3.91e-07/0.9, allocations: 0 / 0.6147 GB, free: 5.422 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0004243/0.9005, allocations: 43.94 kB / 0.6148 GB, free: 5.379 MB / 0.4948 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.0009289/0.9014, allocations: 0.8042 MB / 0.6156 GB, free: 4.555 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002288/0.9017, allocations: 60.36 kB / 0.6156 GB, free: 4.496 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.683e-06/0.9017, allocations: 0 / 0.6156 GB, free: 4.496 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 9.327e-05/0.9018, allocations: 35.94 kB / 0.6156 GB, free: 4.461 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002557/0.9021, allocations: 16.05 kB / 0.6157 GB, free: 4.445 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009259/0.903, allocations: 303.2 kB / 0.6159 GB, free: 4.105 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003201/0.9033, allocations: 0.6965 MB / 0.6166 GB, free: 3.383 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001033/0.9035, allocations: 8.656 kB / 0.6166 GB, free: 3.375 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.971e-05/0.9035, allocations: 23.44 kB / 0.6167 GB, free: 3.352 MB / 0.4948 GB Notification: Performance of SimCode: time 1.072e-06/0.9036, allocations: 0 / 0.6167 GB, free: 3.352 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0215/0.9251, allocations: 2.007 MB / 0.6186 GB, free: 1.469 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000385/0.9255, allocations: 211.1 kB / 0.6188 GB, free: 1.238 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.515/3.44, allocations: 3.938 kB / 0.6188 GB, free: 1.234 MB / 0.4948 GB