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={"dynamic"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadModel(Buildings): time 4.549/4.549, allocations: 403.9 MB / 410.9 MB, free: 4.949 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2741/4.824, allocations: 95.04 MB / 0.4941 GB, free: 7.301 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5837/5.407, allocations: 92.68 MB / 0.5846 GB, free: 3.367 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2826/5.69, allocations: 118.8 MB / 0.7007 GB, free: 14.86 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005068/5.691, allocations: 95.91 kB / 0.7008 GB, free: 14.77 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.006267/5.697, allocations: 1.059 MB / 0.7018 GB, free: 13.66 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.408e-05/5.697, allocations: 15.94 kB / 0.7018 GB, free: 13.65 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.548e-05/5.697, allocations: 7.906 kB / 0.7018 GB, free: 13.64 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001663/5.697, allocations: 159.1 kB / 0.702 GB, free: 13.45 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.724e-05/5.697, allocations: 0 / 0.702 GB, free: 13.45 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.595e-05/5.697, allocations: 7.938 kB / 0.702 GB, free: 13.44 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000114/5.697, allocations: 15.98 kB / 0.702 GB, free: 13.42 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001803/5.698, allocations: 81.97 kB / 0.7021 GB, free: 13.32 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/5.698, allocations: 0 / 0.7021 GB, free: 13.32 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.254e-05/5.698, allocations: 3.906 kB / 0.7021 GB, free: 13.32 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/5.698, allocations: 3.938 kB / 0.7021 GB, free: 13.31 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001243/5.699, allocations: 1.1 MB / 0.7031 GB, free: 12.07 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001083/5.699, allocations: 165.1 kB / 0.7033 GB, free: 11.89 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.623e-05/5.699, allocations: 84.12 kB / 0.7034 GB, free: 11.81 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 3.668e-05/5.699, allocations: 79.22 kB / 0.7035 GB, free: 11.73 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.699e-05/5.699, allocations: 113.8 kB / 0.7036 GB, free: 11.61 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=0): time 2.404e-06/5.699, allocations: 0 / 0.7036 GB, free: 11.61 MB / 0.5886 GB Notification: Performance of matching and sorting (n=0): time 0.0001113/5.699, allocations: 29.61 kB / 0.7036 GB, free: 11.57 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.329e-05/5.699, allocations: 77.11 kB / 0.7037 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001906/5.7, allocations: 121.1 kB / 0.7038 GB, free: 11.35 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.554e-05/5.7, allocations: 25.7 kB / 0.7038 GB, free: 11.32 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 6.121e-05/5.7, allocations: 96.41 kB / 0.7039 GB, free: 11.22 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.655e-06/5.7, allocations: 0 / 0.7039 GB, free: 11.22 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.591e-06/5.7, allocations: 0 / 0.7039 GB, free: 11.22 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001546/5.7, allocations: 322.8 kB / 0.7042 GB, free: 10.9 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.37e-05/5.7, allocations: 15.92 kB / 0.7042 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.438e-05/5.7, allocations: 48.22 kB / 0.7043 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001946/5.7, allocations: 20.02 kB / 0.7043 GB, free: 10.8 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/5.7, allocations: 0 / 0.7043 GB, free: 10.8 MB / 0.5886 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0004381/5.701, allocations: 69.61 kB / 0.7044 GB, free: 10.73 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.741e-05/5.701, allocations: 4 kB / 0.7044 GB, free: 10.72 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.817e-05/5.701, allocations: 4 kB / 0.7044 GB, free: 10.72 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.928e-05/5.701, allocations: 0 / 0.7044 GB, free: 10.72 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001341/5.701, allocations: 15.92 kB / 0.7044 GB, free: 10.7 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.184e-05/5.701, allocations: 7.906 kB / 0.7044 GB, free: 10.7 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001368/5.701, allocations: 4.094 kB / 0.7044 GB, free: 10.69 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.189e-05/5.701, allocations: 8 kB / 0.7044 GB, free: 10.68 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.0001596/5.701, allocations: 184.2 kB / 0.7046 GB, free: 10.5 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001088/5.702, allocations: 104.9 kB / 0.7047 GB, free: 10.39 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.275e-05/5.702, allocations: 120.4 kB / 0.7048 GB, free: 10.25 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.524e-05/5.702, allocations: 176.3 kB / 0.705 GB, free: 10.07 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.336e-05/5.702, allocations: 180.3 kB / 0.7051 GB, free: 9.891 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.565e-05/5.702, allocations: 184.2 kB / 0.7053 GB, free: 9.703 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003477/5.702, allocations: 390.1 kB / 0.7057 GB, free: 9.277 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.772e-05/5.702, allocations: 103.4 kB / 0.7058 GB, free: 9.172 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.508e-05/5.702, allocations: 112.9 kB / 0.7059 GB, free: 9.055 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.371e-05/5.703, allocations: 180.3 kB / 0.7061 GB, free: 8.871 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.915e-05/5.703, allocations: 180.3 kB / 0.7062 GB, free: 8.688 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.47e-05/5.703, allocations: 180.2 kB / 0.7064 GB, free: 8.504 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001477/5.703, allocations: 180.2 kB / 0.7066 GB, free: 8.32 MB / 0.5886 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002294/5.703, allocations: 311.7 kB / 0.7069 GB, free: 7.992 MB / 0.5886 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003895/5.704, allocations: 0.6759 MB / 0.7075 GB, free: 7.289 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001477/5.704, allocations: 186 kB / 0.7077 GB, free: 7.082 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001321/5.704, allocations: 184.2 kB / 0.7079 GB, free: 6.895 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000222/5.704, allocations: 101.1 kB / 0.708 GB, free: 6.789 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.848e-05/5.704, allocations: 192.1 kB / 0.7082 GB, free: 6.594 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.719e-05/5.704, allocations: 105 kB / 0.7083 GB, free: 6.484 MB / 0.5886 GB Notification: Performance of sort global known variables: time 0.0001356/5.704, allocations: 95.27 kB / 0.7084 GB, free: 6.391 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.002096/5.707, allocations: 8.281 kB / 0.7084 GB, free: 6.383 MB / 0.5886 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.0003185/5.707, allocations: 193.8 kB / 0.7085 GB, free: 6.188 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001707/5.707, allocations: 24.28 kB / 0.7086 GB, free: 6.164 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/5.707, allocations: 3.938 kB / 0.7086 GB, free: 6.16 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 3.236e-06/5.707, allocations: 0 / 0.7086 GB, free: 6.16 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004576/5.708, allocations: 0.5263 MB / 0.7091 GB, free: 5.629 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003275/5.708, allocations: 139.5 kB / 0.7092 GB, free: 5.469 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004551/5.709, allocations: 0.6958 MB / 0.7099 GB, free: 4.746 MB / 0.5886 GB Notification: Performance of SimCode: time 1.422e-06/5.709, allocations: 4 kB / 0.7099 GB, free: 4.742 MB / 0.5886 GB