Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Ground.Boreholes.BaseClasses.Examples.Factorial,fileNamePrefix="Buildings_5_0_1_Buildings_Fluid_HeatExchangers_Ground_Boreholes_BaseClasses_Examples_Factorial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.977/3.977, allocations: 403.3 MB / 415.4 MB, free: 12.99 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 5.093e-05/5.089e-05, allocations: 11.88 kB / 0.4992 GB, free: 13.33 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6158/0.6158, allocations: 92.68 MB / 0.5897 GB, free: 14.48 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2276/0.8435, allocations: 119.6 MB / 0.7065 GB, free: 6.73 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003166/0.8439, allocations: 87.94 kB / 0.7065 GB, free: 6.645 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.004113/0.848, allocations: 1.069 MB / 0.7076 GB, free: 5.574 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.903e-06/0.8481, allocations: 0 / 0.7076 GB, free: 5.574 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 7.734e-06/0.8481, allocations: 0 / 0.7076 GB, free: 5.574 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003602/0.8484, allocations: 324.6 kB / 0.7079 GB, free: 5.215 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.202e-05/0.8485, allocations: 12.03 kB / 0.7079 GB, free: 5.203 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.175e-05/0.8486, allocations: 42.5 kB / 0.7079 GB, free: 5.152 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.454e-05/0.8486, allocations: 7.953 kB / 0.708 GB, free: 5.145 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001465/0.8488, allocations: 166.9 kB / 0.7081 GB, free: 4.941 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.248e-05/0.8488, allocations: 0 / 0.7081 GB, free: 4.941 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.56e-05/0.8488, allocations: 4 kB / 0.7081 GB, free: 4.938 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001825/0.849, allocations: 77.91 kB / 0.7082 GB, free: 4.84 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.849, allocations: 0 / 0.7082 GB, free: 4.84 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.583e-05/0.8491, allocations: 8 kB / 0.7082 GB, free: 4.832 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.541e-06/0.8491, allocations: 0 / 0.7082 GB, free: 4.832 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.31e-05/0.8492, allocations: 31.88 kB / 0.7082 GB, free: 4.801 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001022/0.8502, allocations: 1.115 MB / 0.7093 GB, free: 3.527 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001001/0.8503, allocations: 165.1 kB / 0.7095 GB, free: 3.355 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.525e-05/0.8504, allocations: 84.08 kB / 0.7096 GB, free: 3.27 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 3.36e-05/0.8504, allocations: 79.28 kB / 0.7096 GB, free: 3.191 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.19e-05/0.8505, allocations: 109.8 kB / 0.7097 GB, free: 3.074 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=0): time 2.234e-06/0.8505, allocations: 4 kB / 0.7097 GB, free: 3.07 MB / 0.5886 GB Notification: Performance of matching and sorting (n=0): time 9.203e-05/0.8506, allocations: 29.61 kB / 0.7098 GB, free: 3.035 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.744e-05/0.8507, allocations: 156.4 kB / 0.7099 GB, free: 2.863 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001656/0.8509, allocations: 129 kB / 0.71 GB, free: 2.727 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.864e-05/0.8509, allocations: 25.7 kB / 0.7101 GB, free: 2.695 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 6.837e-05/0.851, allocations: 92.05 kB / 0.7102 GB, free: 2.602 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.035e-06/0.851, allocations: 0 / 0.7102 GB, free: 2.602 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.679e-06/0.851, allocations: 0 / 0.7102 GB, free: 2.602 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001419/0.8512, allocations: 318.8 kB / 0.7105 GB, free: 2.281 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.875e-05/0.8512, allocations: 15.92 kB / 0.7105 GB, free: 2.266 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.16e-05/0.8513, allocations: 40.28 kB / 0.7105 GB, free: 2.211 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.706e-05/0.8514, allocations: 20.02 kB / 0.7105 GB, free: 2.191 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.8514, allocations: 0 / 0.7105 GB, free: 2.191 MB / 0.5886 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.00021/0.8516, allocations: 73.52 kB / 0.7106 GB, free: 2.113 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/0.8517, allocations: 4 kB / 0.7106 GB, free: 2.109 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.426e-05/0.8517, allocations: 7.953 kB / 0.7106 GB, free: 2.102 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.8517, allocations: 0 / 0.7106 GB, free: 2.102 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001096/0.8518, allocations: 15.92 kB / 0.7106 GB, free: 2.086 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.8518, allocations: 0 / 0.7106 GB, free: 2.086 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001118/0.852, allocations: 12.09 kB / 0.7106 GB, free: 2.074 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.716e-05/0.852, allocations: 4 kB / 0.7106 GB, free: 2.07 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 5 (y[5],y[4],y[3],y[2],y[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.0001301/0.8521, allocations: 191.7 kB / 0.7108 GB, free: 1.879 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.825e-05/0.8522, allocations: 101 kB / 0.7109 GB, free: 1.773 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.572e-05/0.8523, allocations: 116.6 kB / 0.711 GB, free: 1.652 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.632e-05/0.8524, allocations: 180.2 kB / 0.7112 GB, free: 1.469 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.118e-05/0.8524, allocations: 184.3 kB / 0.7114 GB, free: 1.281 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.882e-05/0.8525, allocations: 184.8 kB / 0.7116 GB, free: 1.094 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002744/0.8528, allocations: 405.2 kB / 0.7119 GB, free: 0.6406 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-05/0.8529, allocations: 105.4 kB / 0.712 GB, free: 0.5312 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.19e-05/0.8529, allocations: 104.9 kB / 0.7121 GB, free: 432 kB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.12e-05/0.853, allocations: 184.3 kB / 0.7123 GB, free: 240 kB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.634e-05/0.8531, allocations: 182.6 kB / 0.7125 GB, free: 52 kB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.465e-05/0.8532, allocations: 180.2 kB / 0.7127 GB, free: 15.87 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.823e-05/0.8533, allocations: 184.6 kB / 0.7128 GB, free: 15.68 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001651/0.8535, allocations: 311.7 kB / 0.7131 GB, free: 15.35 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001005/0.8536, allocations: 190.1 kB / 0.7133 GB, free: 15.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.024e-05/0.8537, allocations: 180.3 kB / 0.7135 GB, free: 14.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000156/0.8538, allocations: 112.9 kB / 0.7136 GB, free: 14.84 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.319e-05/0.8539, allocations: 184.2 kB / 0.7138 GB, free: 14.65 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.832e-05/0.854, allocations: 101 kB / 0.7139 GB, free: 14.55 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001103/0.8541, allocations: 103.2 kB / 0.714 GB, free: 14.45 MB / 0.6042 GB Notification: Performance of sort global known variables: time 4.51e-07/0.8541, allocations: 4 kB / 0.714 GB, free: 14.44 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003446/0.8545, allocations: 8 kB / 0.714 GB, free: 14.43 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (0): * Single equations (assignments): 0 * 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.0005234/0.855, allocations: 0.8203 MB / 0.7148 GB, free: 13.58 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001248/0.8552, allocations: 24.06 kB / 0.7148 GB, free: 13.56 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.8552, allocations: 0 / 0.7148 GB, free: 13.56 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 2.625e-06/0.8552, allocations: 0 / 0.7148 GB, free: 13.56 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003711/0.8556, allocations: 0.5185 MB / 0.7153 GB, free: 13.04 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004698/0.8561, allocations: 177.8 kB / 0.7155 GB, free: 12.82 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000302/0.8564, allocations: 0.6811 MB / 0.7161 GB, free: 12.12 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 8.09e-05/0.8565, allocations: 20.2 kB / 0.7162 GB, free: 12.1 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.037e-05/0.8565, allocations: 11.44 kB / 0.7162 GB, free: 12.09 MB / 0.6042 GB Notification: Performance of SimCode: time 1.222e-06/0.8565, allocations: 0 / 0.7162 GB, free: 12.09 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02189/0.8784, allocations: 1.201 MB / 0.7173 GB, free: 10.98 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003041/0.8788, allocations: 183.5 kB / 0.7175 GB, free: 10.75 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.262/3.141, allocations: 0 / 0.7175 GB, free: 10.75 MB / 0.6042 GB