Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test16,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test16",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.992/1.992, allocations: 209.3 MB / 216.3 MB, free: 6.801 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.238/2.23, allocations: 51.04 MB / 267.3 MB, free: 5.145 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1123/2.342, allocations: 48.69 MB / 316 MB, free: 4.359 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3439/2.686, allocations: 75.22 MB / 391.2 MB, free: 1.543 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000271/2.686, allocations: 75.31 kB / 391.3 MB, free: 1.508 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.01799/2.704, allocations: 3.905 MB / 395.2 MB, free: 14.18 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.186e-05/2.705, allocations: 12 kB / 395.2 MB, free: 14.17 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.66e-05/2.705, allocations: 19.69 kB / 395.2 MB, free: 14.15 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003564/2.705, allocations: 190.9 kB / 395.4 MB, free: 13.93 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.55e-05/2.705, allocations: 0 / 395.4 MB, free: 13.93 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.746e-05/2.705, allocations: 4 kB / 395.4 MB, free: 13.92 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.858e-05/2.705, allocations: 15.81 kB / 395.4 MB, free: 13.91 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001074/2.705, allocations: 44.8 kB / 395.5 MB, free: 13.86 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/2.705, allocations: 0 / 395.5 MB, free: 13.86 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.163e-05/2.705, allocations: 0 / 395.5 MB, free: 13.86 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.416e-06/2.705, allocations: 4 kB / 395.5 MB, free: 13.86 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004321/2.706, allocations: 268.1 kB / 395.7 MB, free: 13.58 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002313/2.706, allocations: 40.52 kB / 395.8 MB, free: 13.54 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.491e-05/2.706, allocations: 12.86 kB / 395.8 MB, free: 13.52 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.871e-05/2.706, allocations: 0 / 395.8 MB, free: 13.52 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001555/2.706, allocations: 58.41 kB / 395.8 MB, free: 13.46 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.773e-06/2.706, allocations: 3.938 kB / 395.9 MB, free: 13.46 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004759/2.707, allocations: 103.7 kB / 396 MB, free: 13.36 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.515e-05/2.707, allocations: 59.31 kB / 396 MB, free: 13.29 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002185/2.707, allocations: 136.3 kB / 396.1 MB, free: 13.16 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.226e-05/2.707, allocations: 33.69 kB / 396.2 MB, free: 13.12 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.767e-05/2.707, allocations: 88.08 kB / 396.3 MB, free: 13.04 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.663e-05/2.707, allocations: 11.38 kB / 396.3 MB, free: 13.03 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.072e-05/2.707, allocations: 4 kB / 396.3 MB, free: 13.02 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001313/2.707, allocations: 318.2 kB / 396.6 MB, free: 12.71 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.24e-05/2.707, allocations: 19.69 kB / 396.6 MB, free: 12.7 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.674e-05/2.708, allocations: 22.67 kB / 396.6 MB, free: 12.68 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.507e-05/2.708, allocations: 18.62 kB / 396.6 MB, free: 12.67 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/2.708, allocations: 0 / 396.6 MB, free: 12.67 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000269/2.708, allocations: 103 kB / 396.7 MB, free: 12.58 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/2.708, allocations: 4 kB / 396.8 MB, free: 12.57 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/2.708, allocations: 0 / 396.8 MB, free: 12.57 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/2.708, allocations: 4 kB / 396.8 MB, free: 12.57 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.898e-05/2.708, allocations: 8 kB / 396.8 MB, free: 12.56 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.719e-06/2.708, allocations: 3.906 kB / 396.8 MB, free: 12.56 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.174e-05/2.708, allocations: 7.922 kB / 396.8 MB, free: 12.55 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.662e-05/2.708, allocations: 4 kB / 396.8 MB, free: 12.55 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * Array equations: 0 * 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 9.34e-05/2.708, allocations: 108.9 kB / 396.9 MB, free: 12.43 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.917e-05/2.708, allocations: 15.41 kB / 396.9 MB, free: 12.42 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002671/2.709, allocations: 76.48 kB / 397 MB, free: 12.35 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/2.709, allocations: 0 / 397 MB, free: 12.35 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.007e-05/2.709, allocations: 7.906 kB / 397 MB, free: 12.34 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/2.709, allocations: 0 / 397 MB, free: 12.34 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004286/2.709, allocations: 315.5 kB / 397.3 MB, free: 12.02 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/2.709, allocations: 3.938 kB / 397.3 MB, free: 12.01 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.922e-05/2.709, allocations: 8 kB / 397.3 MB, free: 12 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.018e-06/2.709, allocations: 4 kB / 397.3 MB, free: 12 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.345e-05/2.709, allocations: 4.094 kB / 397.3 MB, free: 12 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.241e-06/2.709, allocations: 8 kB / 397.3 MB, free: 11.99 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/2.709, allocations: 0 / 397.3 MB, free: 11.99 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002157/2.71, allocations: 166.5 kB / 397.5 MB, free: 11.82 MB / 330.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003922/2.71, allocations: 0.5415 MB / 398 MB, free: 11.27 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.531e-05/2.71, allocations: 89 kB / 398.1 MB, free: 11.17 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.247e-05/2.71, allocations: 0 / 398.1 MB, free: 11.17 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001426/2.71, allocations: 4 kB / 398.1 MB, free: 11.16 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.928e-05/2.71, allocations: 0 / 398.1 MB, free: 11.16 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.397e-05/2.71, allocations: 4 kB / 398.1 MB, free: 11.16 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.0001338/2.71, allocations: 122.4 kB / 398.2 MB, free: 11.05 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001222/2.712, allocations: 35.16 kB / 398.3 MB, free: 11.02 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,t_new.nextTimeEvent) * Number of discrete states: 1 (t_new.nextTimeEvent) * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0007959/2.712, allocations: 301.3 kB / 398.6 MB, free: 10.77 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002466/2.713, allocations: 75.27 kB / 398.6 MB, free: 10.71 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/2.713, allocations: 0 / 398.6 MB, free: 10.71 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.353e-05/2.713, allocations: 15.06 kB / 398.7 MB, free: 10.7 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003473/2.713, allocations: 15.86 kB / 398.7 MB, free: 10.68 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004526/2.714, allocations: 121.9 kB / 398.8 MB, free: 10.55 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004128/2.714, allocations: 0.7153 MB / 399.5 MB, free: 9.809 MB / 330.7 MB Notification: Performance of SimCode: time 1.242e-06/2.714, allocations: 3.938 kB / 399.5 MB, free: 9.805 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test16_res.mat does not exist to compare? outputFormat=mat