Running command: "" <> buildModelFMU(ModelicaTest.Blocks.IntegerTable,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Blocks_IntegerTable",fmuType="cs",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(ModelicaTest): time 2.298/2.298, allocations: 235.1 MB / 242 MB, free: 13.08 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.1679/2.466, allocations: 57.18 MB / 299.2 MB, free: 3.785 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3016/2.768, allocations: 54.86 MB / 354.1 MB, free: 1.191 MB / 286.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1643/2.932, allocations: 79.51 MB / 433.6 MB, free: 1.555 MB / 366.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002751/2.933, allocations: 67.91 kB / 433.6 MB, free: 1.488 MB / 366.1 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.02741/2.96, allocations: 4.703 MB / 438.3 MB, free: 12.71 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.162e-05/2.96, allocations: 8 kB / 438.4 MB, free: 12.7 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.286e-05/2.96, allocations: 11.91 kB / 438.4 MB, free: 12.69 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001884/2.96, allocations: 194.7 kB / 438.6 MB, free: 12.46 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.84e-05/2.96, allocations: 8 kB / 438.6 MB, free: 12.45 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.637e-05/2.96, allocations: 8 kB / 438.6 MB, free: 12.45 MB / 382.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002007/2.961, allocations: 51.97 kB / 438.6 MB, free: 12.39 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003654/2.961, allocations: 161 kB / 438.8 MB, free: 12.22 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/2.961, allocations: 3.984 kB / 438.8 MB, free: 12.21 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.463e-05/2.961, allocations: 0 / 438.8 MB, free: 12.21 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.704e-05/2.961, allocations: 8 kB / 438.8 MB, free: 12.21 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003997/2.962, allocations: 236.8 kB / 439 MB, free: 11.93 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003464/2.962, allocations: 158.5 kB / 439.2 MB, free: 11.74 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001794/2.962, allocations: 75.52 kB / 439.3 MB, free: 11.65 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.389e-05/2.962, allocations: 11.92 kB / 439.3 MB, free: 11.64 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003986/2.963, allocations: 180 kB / 439.4 MB, free: 11.44 MB / 382.1 MB Notification: Performance of pre-optimization done (n=16): time 3.206e-06/2.963, allocations: 0 / 439.4 MB, free: 11.44 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.0006695/2.963, allocations: 205.3 kB / 439.6 MB, free: 11.23 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001204/2.963, allocations: 140.5 kB / 439.8 MB, free: 11.07 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002431/2.964, allocations: 165.2 kB / 439.9 MB, free: 10.9 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.283e-05/2.964, allocations: 29.7 kB / 440 MB, free: 10.86 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.573e-05/2.964, allocations: 96.06 kB / 440.1 MB, free: 10.77 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.204e-05/2.964, allocations: 35.56 kB / 440.1 MB, free: 10.73 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.666e-05/2.964, allocations: 0 / 440.1 MB, free: 10.73 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002001/2.964, allocations: 334.8 kB / 440.4 MB, free: 10.39 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002051/2.964, allocations: 64.2 kB / 440.5 MB, free: 10.33 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002401/2.965, allocations: 95.88 kB / 440.6 MB, free: 10.22 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003677/2.965, allocations: 83.94 kB / 440.7 MB, free: 10.14 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/2.965, allocations: 0 / 440.7 MB, free: 10.14 MB / 382.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0007064/2.966, allocations: 225.3 kB / 440.9 MB, free: 9.914 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.022e-05/2.966, allocations: 4 kB / 440.9 MB, free: 9.91 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/2.966, allocations: 0 / 440.9 MB, free: 9.91 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.428e-05/2.966, allocations: 7.906 kB / 440.9 MB, free: 9.902 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.064e-05/2.966, allocations: 7.938 kB / 440.9 MB, free: 9.895 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.357e-06/2.966, allocations: 3.984 kB / 440.9 MB, free: 9.891 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001786/2.966, allocations: 15.84 kB / 440.9 MB, free: 9.875 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.492e-05/2.966, allocations: 12.25 kB / 440.9 MB, free: 9.863 MB / 382.1 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.0001699/2.966, allocations: 127.7 kB / 441.1 MB, free: 9.73 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.748e-05/2.966, allocations: 19.8 kB / 441.1 MB, free: 9.711 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.252e-05/2.966, allocations: 16.12 kB / 441.1 MB, free: 9.684 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/2.966, allocations: 0 / 441.1 MB, free: 9.684 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.242e-05/2.966, allocations: 8 kB / 441.1 MB, free: 9.676 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.257e-06/2.967, allocations: 3.984 kB / 441.1 MB, free: 9.672 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003139/2.967, allocations: 194 kB / 441.3 MB, free: 9.445 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-06/2.967, allocations: 4 kB / 441.3 MB, free: 9.441 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.126e-05/2.967, allocations: 0 / 441.3 MB, free: 9.441 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.486e-06/2.967, allocations: 8 kB / 441.3 MB, free: 9.434 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.09e-05/2.967, allocations: 7.984 kB / 441.3 MB, free: 9.426 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/2.967, allocations: 0 / 441.3 MB, free: 9.426 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/2.967, allocations: 0 / 441.3 MB, free: 9.426 MB / 382.1 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006119/2.968, allocations: 292.9 kB / 441.6 MB, free: 9.094 MB / 382.1 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0007487/2.968, allocations: 0.6536 MB / 442.3 MB, free: 8.391 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.451e-05/2.968, allocations: 92.94 kB / 442.3 MB, free: 8.281 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.304e-05/2.969, allocations: 11.91 kB / 442.4 MB, free: 8.27 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002225/2.969, allocations: 15.98 kB / 442.4 MB, free: 8.254 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.351e-05/2.969, allocations: 11.92 kB / 442.4 MB, free: 8.242 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001053/2.969, allocations: 31.95 kB / 442.4 MB, free: 8.211 MB / 382.1 MB Notification: Performance of sort global known variables: time 0.0001713/2.969, allocations: 131.2 kB / 442.5 MB, free: 8.082 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001687/2.971, allocations: 87.98 kB / 442.6 MB, free: 7.996 MB / 382.1 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.0007553/2.972, allocations: 192.5 kB / 442.8 MB, free: 7.797 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006439/2.972, allocations: 270.6 kB / 443.1 MB, free: 7.508 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/2.972, allocations: 0 / 443.1 MB, free: 7.508 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002363/2.973, allocations: 87.91 kB / 443.2 MB, free: 7.422 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002149/2.973, allocations: 11.91 kB / 443.2 MB, free: 7.41 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008325/2.974, allocations: 247.1 kB / 443.4 MB, free: 7.137 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004694/2.974, allocations: 0.7305 MB / 444.1 MB, free: 6.383 MB / 382.1 MB Notification: Performance of SimCode: time 1.343e-06/2.974, allocations: 0 / 444.1 MB, free: 6.383 MB / 382.1 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Blocks.IntegerTable_res.mat does not exist to compare? outputFormat=mat