Running command: "" <> buildModelFMU(ModelicaTest.Blocks.IntegerTable,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Blocks_IntegerTable",fmuType="me",version="2.0",platforms={"static"}) [: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(ModelicaTest): time 1.899/1.899, allocations: 209.3 MB / 216.3 MB, free: 6.867 MB / 186.8 MB Notification: Performance of FrontEnd - loaded program: time 0.2305/2.129, allocations: 51.02 MB / 267.3 MB, free: 5.234 MB / 218.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1086/2.238, allocations: 48.69 MB / 316 MB, free: 4.453 MB / 266.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3051/2.543, allocations: 73.37 MB / 389.3 MB, free: 3.445 MB / 314.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002236/2.543, allocations: 60.8 kB / 389.4 MB, free: 3.414 MB / 314.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.02442/2.568, allocations: 4.709 MB / 394.1 MB, free: 15.23 MB / 330.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.731e-05/2.568, allocations: 12 kB / 394.1 MB, free: 15.21 MB / 330.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.106e-05/2.568, allocations: 15.89 kB / 394.1 MB, free: 15.2 MB / 330.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001986/2.568, allocations: 190.8 kB / 394.3 MB, free: 14.97 MB / 330.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.566e-05/2.568, allocations: 0 / 394.3 MB, free: 14.97 MB / 330.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.859e-05/2.568, allocations: 11.98 kB / 394.3 MB, free: 14.96 MB / 330.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002215/2.568, allocations: 50.55 kB / 394.4 MB, free: 14.92 MB / 330.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003318/2.569, allocations: 161.9 kB / 394.5 MB, free: 14.77 MB / 330.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/2.569, allocations: 0 / 394.5 MB, free: 14.77 MB / 330.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.315e-05/2.569, allocations: 3.188 kB / 394.5 MB, free: 14.77 MB / 330.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.997e-06/2.569, allocations: 4 kB / 394.5 MB, free: 14.76 MB / 330.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003348/2.569, allocations: 233.2 kB / 394.8 MB, free: 14.51 MB / 330.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003151/2.57, allocations: 159.7 kB / 394.9 MB, free: 14.34 MB / 330.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001655/2.57, allocations: 78.22 kB / 395 MB, free: 14.26 MB / 330.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.239e-05/2.57, allocations: 8 kB / 395 MB, free: 14.25 MB / 330.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003404/2.57, allocations: 178.4 kB / 395.2 MB, free: 14.08 MB / 330.8 MB Notification: Performance of pre-optimization done (n=16): time 2.354e-06/2.57, allocations: 0 / 395.2 MB, free: 14.08 MB / 330.8 MB Notification: Performance of matching and sorting (n=16): time 0.0005581/2.571, allocations: 206.3 kB / 395.4 MB, free: 13.9 MB / 330.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001409/2.571, allocations: 144.4 kB / 395.5 MB, free: 13.73 MB / 330.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004869/2.571, allocations: 171.6 kB / 395.7 MB, free: 13.57 MB / 330.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0001135/2.571, allocations: 29.7 kB / 395.7 MB, free: 13.54 MB / 330.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001439/2.572, allocations: 91.12 kB / 395.8 MB, free: 13.45 MB / 330.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001361/2.572, allocations: 42.05 kB / 395.9 MB, free: 13.42 MB / 330.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.55e-05/2.572, allocations: 0 / 395.9 MB, free: 13.42 MB / 330.8 MB Notification: Performance of setup shared object (initialization): time 0.0003131/2.572, allocations: 326 kB / 396.2 MB, free: 13.1 MB / 330.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003767/2.573, allocations: 69.89 kB / 396.2 MB, free: 13.04 MB / 330.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003349/2.573, allocations: 92.94 kB / 396.3 MB, free: 12.96 MB / 330.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005283/2.574, allocations: 87.61 kB / 396.4 MB, free: 12.89 MB / 330.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/2.574, allocations: 0 / 396.4 MB, free: 12.89 MB / 330.8 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0007095/2.574, allocations: 225.9 kB / 396.6 MB, free: 12.7 MB / 330.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/2.574, allocations: 4 kB / 396.6 MB, free: 12.69 MB / 330.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.158e-05/2.574, allocations: 7.938 kB / 396.7 MB, free: 12.68 MB / 330.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.787e-05/2.574, allocations: 0 / 396.7 MB, free: 12.68 MB / 330.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.982e-05/2.574, allocations: 15.92 kB / 396.7 MB, free: 12.67 MB / 330.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/2.574, allocations: 0 / 396.7 MB, free: 12.67 MB / 330.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001602/2.575, allocations: 15.84 kB / 396.7 MB, free: 12.65 MB / 330.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.003e-05/2.575, allocations: 15.62 kB / 396.7 MB, free: 12.64 MB / 330.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 28 ($whenCondition4,$PRE.integerTable4.y,integerTable4.y,$PRE.integerTable4.nextTime,integerTable4.nextTime,$PRE.integerTable4.index,integerTable4.index,$whenCondition3,$PRE.integerTable3.y,integerTable3.y,$PRE.integerTable3.nextTime,integerTable3.nextTime,$PRE.integerTable3.index,integerTable3.index,$whenCondition2,$PRE.integerTable2.y,integerTable2.y,$PRE.integerTable2.nextTime,integerTable2.nextTime,$PRE.integerTable2.index,integerTable2.index,$whenCondition1,$PRE.integerTable.y,integerTable.y,$PRE.integerTable.nextTime,integerTable.nextTime,$PRE.integerTable.index,integerTable.index) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 4 * 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.0001527/2.575, allocations: 123 kB / 396.8 MB, free: 12.52 MB / 330.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.845e-05/2.575, allocations: 11.81 kB / 396.8 MB, free: 12.5 MB / 330.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.84e-05/2.575, allocations: 23.42 kB / 396.9 MB, free: 12.48 MB / 330.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.084e-06/2.575, allocations: 4 kB / 396.9 MB, free: 12.48 MB / 330.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/2.575, allocations: 0 / 396.9 MB, free: 12.48 MB / 330.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.6e-06/2.575, allocations: 0 / 396.9 MB, free: 12.48 MB / 330.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002521/2.575, allocations: 198.9 kB / 397.1 MB, free: 12.26 MB / 330.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-06/2.575, allocations: 0 / 397.1 MB, free: 12.26 MB / 330.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.012e-05/2.575, allocations: 0 / 397.1 MB, free: 12.26 MB / 330.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.613e-06/2.575, allocations: 4 kB / 397.1 MB, free: 12.26 MB / 330.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.662e-05/2.575, allocations: 7.984 kB / 397.1 MB, free: 12.25 MB / 330.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/2.575, allocations: 0 / 397.1 MB, free: 12.25 MB / 330.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.19e-06/2.575, allocations: 3.906 kB / 397.1 MB, free: 12.25 MB / 330.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005336/2.576, allocations: 297.7 kB / 397.4 MB, free: 11.95 MB / 330.8 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006796/2.577, allocations: 0.6517 MB / 398 MB, free: 11.29 MB / 330.8 MB Notification: Performance of postOpt removeConstants (simulation): time 6.574e-05/2.577, allocations: 93.11 kB / 398.1 MB, free: 11.18 MB / 330.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.863e-05/2.577, allocations: 10.88 kB / 398.1 MB, free: 11.17 MB / 330.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001956/2.577, allocations: 19.98 kB / 398.1 MB, free: 11.15 MB / 330.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.208e-05/2.577, allocations: 10.92 kB / 398.1 MB, free: 11.14 MB / 330.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.607e-05/2.577, allocations: 31.89 kB / 398.2 MB, free: 11.11 MB / 330.8 MB Notification: Performance of sort global known variables: time 0.0001524/2.577, allocations: 133.1 kB / 398.3 MB, free: 10.99 MB / 330.8 MB Notification: Performance of remove unused functions: time 0.001452/2.579, allocations: 83.8 kB / 398.4 MB, free: 10.91 MB / 330.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition4,integerTable4.y,integerTable4.nextTime,integerTable4.index,$whenCondition3,integerTable3.y,integerTable3.nextTime,integerTable3.index,$whenCondition2,integerTable2.y,integerTable2.nextTime,integerTable2.index,$whenCondition1,integerTable.y,integerTable.nextTime,integerTable.index) * Number of discrete states: 8 (integerTable.index,integerTable.nextTime,integerTable2.index,integerTable2.nextTime,integerTable3.index,integerTable3.nextTime,integerTable4.index,integerTable4.nextTime) * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 12 * 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.0005523/2.579, allocations: 198 kB / 398.6 MB, free: 10.72 MB / 330.8 MB Notification: Performance of simCode: created initialization part: time 0.0005213/2.58, allocations: 264.5 kB / 398.8 MB, free: 10.47 MB / 330.8 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/2.58, allocations: 416 / 398.8 MB, free: 10.47 MB / 330.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002036/2.58, allocations: 81.11 kB / 398.9 MB, free: 10.4 MB / 330.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001863/2.58, allocations: 15.02 kB / 398.9 MB, free: 10.39 MB / 330.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007518/2.581, allocations: 256.2 kB / 399.2 MB, free: 10.14 MB / 330.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004854/2.582, allocations: 0.7299 MB / 399.9 MB, free: 9.387 MB / 330.8 MB Notification: Performance of SimCode: time 7.11e-07/2.582, allocations: 0 / 399.9 MB, free: 9.387 MB / 330.8 MB