Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test41,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test41",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.105/2.105, allocations: 209.3 MB / 216.3 MB, free: 6.801 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2488/2.354, allocations: 51.04 MB / 267.3 MB, free: 5.086 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.117/2.471, allocations: 48.7 MB / 316 MB, free: 4.297 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3895/2.86, allocations: 75.26 MB / 391.2 MB, free: 1.426 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002744/2.861, allocations: 74.36 kB / 391.3 MB, free: 1.391 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.02432/2.885, allocations: 4.191 MB / 395.5 MB, free: 13.81 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.301e-05/2.885, allocations: 8 kB / 395.5 MB, free: 13.8 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.264e-05/2.885, allocations: 7.906 kB / 395.5 MB, free: 13.79 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003539/2.886, allocations: 198.4 kB / 395.7 MB, free: 13.56 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.75e-05/2.886, allocations: 0 / 395.7 MB, free: 13.56 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.328e-05/2.886, allocations: 15.84 kB / 395.7 MB, free: 13.55 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.937e-05/2.886, allocations: 14.92 kB / 395.8 MB, free: 13.54 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001105/2.886, allocations: 44.62 kB / 395.8 MB, free: 13.49 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.424e-05/2.886, allocations: 4 kB / 395.8 MB, free: 13.49 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.204e-05/2.886, allocations: 0 / 395.8 MB, free: 13.49 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/2.886, allocations: 0 / 395.8 MB, free: 13.49 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004729/2.886, allocations: 270.9 kB / 396.1 MB, free: 13.2 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002501/2.887, allocations: 44.58 kB / 396.1 MB, free: 13.16 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.282e-05/2.887, allocations: 8.859 kB / 396.1 MB, free: 13.15 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.897e-05/2.887, allocations: 7.922 kB / 396.1 MB, free: 13.14 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001024/2.887, allocations: 54.88 kB / 396.2 MB, free: 13.08 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.763e-06/2.887, allocations: 0 / 396.2 MB, free: 13.08 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005122/2.887, allocations: 96.11 kB / 396.3 MB, free: 12.99 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.275e-05/2.888, allocations: 55.34 kB / 396.3 MB, free: 12.93 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003633/2.888, allocations: 187.5 kB / 396.5 MB, free: 12.76 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.729e-05/2.888, allocations: 25.7 kB / 396.5 MB, free: 12.73 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.366e-05/2.888, allocations: 91.62 kB / 396.6 MB, free: 12.64 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.115e-05/2.888, allocations: 15.62 kB / 396.6 MB, free: 12.62 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.895e-06/2.888, allocations: 0 / 396.6 MB, free: 12.62 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001571/2.888, allocations: 322 kB / 397 MB, free: 12.3 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.365e-05/2.888, allocations: 19.38 kB / 397 MB, free: 12.29 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.509e-05/2.888, allocations: 19.5 kB / 397 MB, free: 12.28 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.776e-05/2.889, allocations: 23.61 kB / 397 MB, free: 12.27 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/2.889, allocations: 4 kB / 397 MB, free: 12.26 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002766/2.889, allocations: 102.7 kB / 397.1 MB, free: 12.17 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/2.889, allocations: 4 kB / 397.1 MB, free: 12.17 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/2.889, allocations: 0 / 397.1 MB, free: 12.17 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/2.889, allocations: 7.938 kB / 397.1 MB, free: 12.16 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.727e-05/2.889, allocations: 8 kB / 397.1 MB, free: 12.15 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/2.889, allocations: 0 / 397.1 MB, free: 12.15 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.971e-05/2.889, allocations: 0 / 397.1 MB, free: 12.15 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.07e-05/2.889, allocations: 7.984 kB / 397.1 MB, free: 12.14 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 0.0001074/2.889, allocations: 116.8 kB / 397.3 MB, free: 12.03 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.896e-05/2.889, allocations: 7.906 kB / 397.3 MB, free: 12.02 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002759/2.89, allocations: 84.77 kB / 397.3 MB, free: 11.94 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.107e-06/2.89, allocations: 0 / 397.3 MB, free: 11.94 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/2.89, allocations: 0 / 397.3 MB, free: 11.94 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/2.89, allocations: 144 / 397.3 MB, free: 11.94 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000464/2.89, allocations: 324.1 kB / 397.7 MB, free: 11.6 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.628e-06/2.89, allocations: 8.172 kB / 397.7 MB, free: 11.59 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.293e-05/2.89, allocations: 15.98 kB / 397.7 MB, free: 11.58 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.502e-06/2.89, allocations: 96 / 397.7 MB, free: 11.58 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.518e-05/2.89, allocations: 11.88 kB / 397.7 MB, free: 11.57 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.009e-06/2.89, allocations: 3.984 kB / 397.7 MB, free: 11.56 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.999e-06/2.89, allocations: 3.906 kB / 397.7 MB, free: 11.56 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002261/2.891, allocations: 162.1 kB / 397.9 MB, free: 11.39 MB / 330.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003762/2.891, allocations: 0.5447 MB / 398.4 MB, free: 10.84 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.039e-05/2.891, allocations: 88.89 kB / 398.5 MB, free: 10.74 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.133e-05/2.891, allocations: 7.891 kB / 398.5 MB, free: 10.73 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001117/2.891, allocations: 4 kB / 398.5 MB, free: 10.73 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.128e-05/2.891, allocations: 0 / 398.5 MB, free: 10.73 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.724e-05/2.891, allocations: 4 kB / 398.5 MB, free: 10.73 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.000182/2.891, allocations: 145.5 kB / 398.7 MB, free: 10.61 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001264/2.893, allocations: 43.42 kB / 398.7 MB, free: 10.57 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.0009518/2.894, allocations: 276.8 kB / 399 MB, free: 10.34 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002704/2.894, allocations: 71.75 kB / 399 MB, free: 10.27 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/2.894, allocations: 0 / 399 MB, free: 10.27 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 8.174e-05/2.894, allocations: 27.19 kB / 399.1 MB, free: 10.25 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003683/2.894, allocations: 11.92 kB / 399.1 MB, free: 10.24 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005478/2.895, allocations: 145.2 kB / 399.2 MB, free: 10.09 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004431/2.896, allocations: 0.7263 MB / 399.9 MB, free: 9.34 MB / 330.7 MB Notification: Performance of SimCode: time 9.31e-07/2.896, allocations: 0 / 399.9 MB, free: 9.34 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat does not exist to compare? outputFormat=mat