Running command: "" <> buildModelFMU(ModelicaTest.Blocks.IntegerTable,fileNamePrefix="ModelicaTest_3_2_2_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 2.254/2.254, allocations: 234.9 MB / 241.9 MB, free: 9.781 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1577/2.412, allocations: 57.21 MB / 299.1 MB, free: 476 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2515/2.663, allocations: 54.83 MB / 354 MB, free: 13.44 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2143/2.878, allocations: 79.52 MB / 433.5 MB, free: 13.8 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002582/2.878, allocations: 63.91 kB / 433.5 MB, free: 13.74 MB / 378.7 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.02649/2.905, allocations: 4.707 MB / 438.2 MB, free: 8.953 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.92e-05/2.905, allocations: 11.98 kB / 438.3 MB, free: 8.941 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.96e-05/2.905, allocations: 15.91 kB / 438.3 MB, free: 8.926 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001832/2.905, allocations: 198.6 kB / 438.5 MB, free: 8.691 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.577e-05/2.905, allocations: 4 kB / 438.5 MB, free: 8.688 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.563e-05/2.905, allocations: 7.984 kB / 438.5 MB, free: 8.68 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001788/2.905, allocations: 51.98 kB / 438.5 MB, free: 8.629 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003285/2.906, allocations: 153 kB / 438.7 MB, free: 8.461 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/2.906, allocations: 3.984 kB / 438.7 MB, free: 8.457 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.524e-05/2.906, allocations: 4 kB / 438.7 MB, free: 8.453 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.184e-06/2.906, allocations: 4 kB / 438.7 MB, free: 8.449 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003626/2.906, allocations: 236.7 kB / 438.9 MB, free: 8.172 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003132/2.906, allocations: 158.4 kB / 439.1 MB, free: 7.98 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001744/2.907, allocations: 83.59 kB / 439.2 MB, free: 7.887 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.094e-05/2.907, allocations: 0 / 439.2 MB, free: 7.887 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003569/2.907, allocations: 179.8 kB / 439.3 MB, free: 7.688 MB / 378.7 MB Notification: Performance of pre-optimization done (n=16): time 2.124e-06/2.907, allocations: 0 / 439.3 MB, free: 7.688 MB / 378.7 MB Notification: Performance of matching and sorting (n=16): time 0.0005778/2.908, allocations: 205.3 kB / 439.5 MB, free: 7.48 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.077e-05/2.908, allocations: 148.5 kB / 439.7 MB, free: 7.305 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000229/2.908, allocations: 157.2 kB / 439.8 MB, free: 7.145 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.049e-05/2.908, allocations: 29.7 kB / 439.9 MB, free: 7.109 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.923e-05/2.908, allocations: 100.1 kB / 440 MB, free: 7.008 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.371e-05/2.908, allocations: 39.55 kB / 440 MB, free: 6.969 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.125e-05/2.908, allocations: 0 / 440 MB, free: 6.969 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001368/2.908, allocations: 326.8 kB / 440.3 MB, free: 6.641 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001848/2.909, allocations: 68.2 kB / 440.4 MB, free: 6.57 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002154/2.909, allocations: 99.88 kB / 440.5 MB, free: 6.461 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003426/2.909, allocations: 83.86 kB / 440.6 MB, free: 6.379 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/2.909, allocations: 4 kB / 440.6 MB, free: 6.375 MB / 378.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006613/2.91, allocations: 217.4 kB / 440.8 MB, free: 6.156 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.114e-05/2.91, allocations: 8 kB / 440.8 MB, free: 6.148 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/2.91, allocations: 0 / 440.8 MB, free: 6.148 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.409e-05/2.91, allocations: 7.891 kB / 440.8 MB, free: 6.141 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.734e-05/2.91, allocations: 4 kB / 440.8 MB, free: 6.137 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.136e-06/2.91, allocations: 4 kB / 440.8 MB, free: 6.133 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001595/2.91, allocations: 23.78 kB / 440.8 MB, free: 6.109 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.09e-05/2.91, allocations: 11.98 kB / 440.8 MB, free: 6.098 MB / 378.7 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.0001584/2.91, allocations: 123.7 kB / 441 MB, free: 5.969 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.185e-05/2.91, allocations: 19.8 kB / 441 MB, free: 5.949 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.793e-05/2.911, allocations: 16.11 kB / 441 MB, free: 5.922 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.628e-06/2.911, allocations: 4 kB / 441 MB, free: 5.918 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.154e-06/2.911, allocations: 0 / 441 MB, free: 5.918 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.295e-06/2.911, allocations: 4 kB / 441 MB, free: 5.914 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000238/2.911, allocations: 194 kB / 441.2 MB, free: 5.688 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/2.911, allocations: 0 / 441.2 MB, free: 5.688 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.28e-05/2.911, allocations: 8 kB / 441.2 MB, free: 5.68 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/2.911, allocations: 0 / 441.2 MB, free: 5.68 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.901e-05/2.911, allocations: 7.984 kB / 441.2 MB, free: 5.672 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.955e-06/2.911, allocations: 4.188 kB / 441.2 MB, free: 5.668 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.558e-06/2.911, allocations: 8 kB / 441.2 MB, free: 5.66 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005296/2.912, allocations: 284.4 kB / 441.5 MB, free: 5.336 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0007002/2.912, allocations: 0.6582 MB / 442.2 MB, free: 4.629 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.691e-05/2.912, allocations: 92.95 kB / 442.2 MB, free: 4.52 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.603e-05/2.912, allocations: 11.91 kB / 442.3 MB, free: 4.508 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002132/2.913, allocations: 15.97 kB / 442.3 MB, free: 4.492 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.188e-05/2.913, allocations: 11.98 kB / 442.3 MB, free: 4.48 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001033/2.913, allocations: 27.97 kB / 442.3 MB, free: 4.453 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0001579/2.913, allocations: 127.2 kB / 442.4 MB, free: 4.328 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001564/2.915, allocations: 83.98 kB / 442.5 MB, free: 4.246 MB / 378.7 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.0007574/2.915, allocations: 199.7 kB / 442.7 MB, free: 4.039 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000567/2.916, allocations: 263.5 kB / 443 MB, free: 3.758 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/2.916, allocations: 4 kB / 443 MB, free: 3.754 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000236/2.916, allocations: 87.91 kB / 443.1 MB, free: 3.668 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002252/2.916, allocations: 11.89 kB / 443.1 MB, free: 3.656 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000781/2.917, allocations: 247.1 kB / 443.3 MB, free: 3.383 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003928/2.918, allocations: 0.7344 MB / 444.1 MB, free: 2.625 MB / 378.7 MB Notification: Performance of SimCode: time 9.62e-07/2.918, allocations: 0 / 444.1 MB, free: 2.625 MB / 378.7 MB