Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.IntegerReplicator,fileNamePrefix="Buildings_5_0_1_Buildings_Utilities_Math_Examples_IntegerReplicator",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.616/4.616, allocations: 404 MB / 410.9 MB, free: 4.957 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2465/4.862, allocations: 95 MB / 0.4941 GB, free: 7.359 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5445/5.407, allocations: 92.69 MB / 0.5846 GB, free: 3.402 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2642/5.671, allocations: 120.1 MB / 0.7019 GB, free: 13.62 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002979/5.672, allocations: 67.97 kB / 0.7019 GB, free: 13.55 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.01297/5.685, allocations: 2.336 MB / 0.7042 GB, free: 11.16 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.548e-05/5.685, allocations: 12 kB / 0.7042 GB, free: 11.15 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.243e-05/5.685, allocations: 11.91 kB / 0.7043 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002543/5.685, allocations: 190.8 kB / 0.7044 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.544e-05/5.685, allocations: 4 kB / 0.7044 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.282e-05/5.685, allocations: 3.938 kB / 0.7044 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001339/5.685, allocations: 23.98 kB / 0.7045 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001515/5.685, allocations: 61.67 kB / 0.7045 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/5.685, allocations: 4 kB / 0.7045 GB, free: 10.81 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.493e-05/5.685, allocations: 0 / 0.7045 GB, free: 10.81 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.345e-05/5.685, allocations: 3.906 kB / 0.7045 GB, free: 10.81 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004845/5.686, allocations: 253.5 kB / 0.7048 GB, free: 10.52 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001553/5.686, allocations: 58.56 kB / 0.7048 GB, free: 10.46 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.871e-05/5.686, allocations: 32.89 kB / 0.7049 GB, free: 10.42 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 9.538e-06/5.686, allocations: 0 / 0.7049 GB, free: 10.42 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001541/5.686, allocations: 71.31 kB / 0.7049 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=6): time 2.305e-06/5.686, allocations: 0 / 0.7049 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of matching and sorting (n=6): time 0.0003677/5.687, allocations: 97.66 kB / 0.705 GB, free: 10.24 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.835e-05/5.687, allocations: 59.31 kB / 0.7051 GB, free: 10.17 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000137/5.687, allocations: 113.2 kB / 0.7052 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.762e-05/5.687, allocations: 25.7 kB / 0.7052 GB, free: 10.02 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.228e-05/5.687, allocations: 88.14 kB / 0.7053 GB, free: 9.926 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.701e-05/5.687, allocations: 11.83 kB / 0.7053 GB, free: 9.914 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.013e-05/5.687, allocations: 0 / 0.7053 GB, free: 9.914 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001299/5.687, allocations: 326.7 kB / 0.7056 GB, free: 9.586 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.439e-05/5.687, allocations: 31.98 kB / 0.7056 GB, free: 9.555 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.302e-05/5.688, allocations: 23.98 kB / 0.7057 GB, free: 9.531 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002905/5.688, allocations: 32.45 kB / 0.7057 GB, free: 9.5 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.08e-06/5.688, allocations: 0 / 0.7057 GB, free: 9.5 MB / 0.5886 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005587/5.688, allocations: 109.4 kB / 0.7058 GB, free: 9.387 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 3.055e-05/5.688, allocations: 8 kB / 0.7058 GB, free: 9.379 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.919e-05/5.689, allocations: 3.984 kB / 0.7058 GB, free: 9.375 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.774e-05/5.689, allocations: 0 / 0.7058 GB, free: 9.375 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.618e-05/5.689, allocations: 0 / 0.7058 GB, free: 9.375 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/5.689, allocations: 0 / 0.7058 GB, free: 9.375 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.889e-05/5.689, allocations: 8 kB / 0.7058 GB, free: 9.367 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.281e-05/5.689, allocations: 4 kB / 0.7058 GB, free: 9.363 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,$PRE.intTab.y,intTab.y,$PRE.intTab.nextTime,intTab.nextTime,$PRE.intTab.index,intTab.index,intRep.y[1],intRep.y[2]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 4 * Array equations: 1 * Algorithm blocks: 1 * 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.0001276/5.689, allocations: 107.7 kB / 0.7059 GB, free: 9.254 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.111e-05/5.689, allocations: 4 kB / 0.7059 GB, free: 9.25 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.61e-05/5.689, allocations: 16.27 kB / 0.7059 GB, free: 9.234 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.357e-05/5.689, allocations: 4 kB / 0.706 GB, free: 9.23 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.325e-06/5.689, allocations: 0 / 0.706 GB, free: 9.23 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.333e-06/5.689, allocations: 0 / 0.706 GB, free: 9.23 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002823/5.689, allocations: 154.2 kB / 0.7061 GB, free: 9.043 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/5.69, allocations: 192 / 0.7061 GB, free: 9.043 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.681e-05/5.69, allocations: 4 kB / 0.7061 GB, free: 9.039 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.051e-06/5.69, allocations: 0 / 0.7061 GB, free: 9.039 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.305e-05/5.69, allocations: 4 kB / 0.7061 GB, free: 9.035 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.058e-05/5.69, allocations: 7.891 kB / 0.7061 GB, free: 9.027 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.077e-06/5.69, allocations: 0 / 0.7061 GB, free: 9.027 MB / 0.5886 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005095/5.69, allocations: 117 kB / 0.7062 GB, free: 8.895 MB / 0.5886 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006956/5.691, allocations: 0.4936 MB / 0.7067 GB, free: 8.379 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 8.508e-05/5.691, allocations: 84.95 kB / 0.7068 GB, free: 8.277 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.577e-05/5.691, allocations: 8 kB / 0.7068 GB, free: 8.27 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001364/5.691, allocations: 3.984 kB / 0.7068 GB, free: 8.266 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.69e-05/5.691, allocations: 4 kB / 0.7068 GB, free: 8.262 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.913e-05/5.691, allocations: 7.984 kB / 0.7068 GB, free: 8.254 MB / 0.5886 GB Notification: Performance of sort global known variables: time 0.0001444/5.692, allocations: 95.28 kB / 0.7069 GB, free: 8.16 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.002825/5.694, allocations: 28.27 kB / 0.7069 GB, free: 8.133 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: 6 ($whenCondition1,intTab.y,intTab.nextTime,intTab.index,intRep.y[1],intRep.y[2]) * Number of discrete states: 2 (intTab.nextTime,intTab.index) * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 1 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0006164/5.695, allocations: 150.3 kB / 0.7071 GB, free: 7.98 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0004618/5.696, allocations: 85.69 kB / 0.7072 GB, free: 7.891 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/5.696, allocations: 0 / 0.7072 GB, free: 7.891 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001577/5.696, allocations: 27.98 kB / 0.7072 GB, free: 7.863 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002554/5.696, allocations: 7.906 kB / 0.7072 GB, free: 7.855 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006197/5.697, allocations: 123.5 kB / 0.7073 GB, free: 7.711 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005645/5.697, allocations: 0.7036 MB / 0.708 GB, free: 6.98 MB / 0.5886 GB Notification: Performance of SimCode: time 2.104e-06/5.697, allocations: 0 / 0.708 GB, free: 6.98 MB / 0.5886 GB