Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test4,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test4",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.842/1.842, allocations: 209.3 MB / 216.3 MB, free: 6.785 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2527/2.095, allocations: 51.04 MB / 267.3 MB, free: 5.125 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1103/2.205, allocations: 48.68 MB / 316 MB, free: 4.344 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3438/2.549, allocations: 75.26 MB / 391.2 MB, free: 1.488 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003784/2.55, allocations: 75.33 kB / 391.3 MB, free: 1.449 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.02918/2.579, allocations: 4.178 MB / 395.5 MB, free: 13.88 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.562e-05/2.579, allocations: 12 kB / 395.5 MB, free: 13.86 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.39e-05/2.579, allocations: 11.91 kB / 395.5 MB, free: 13.85 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004355/2.58, allocations: 201.6 kB / 395.7 MB, free: 13.62 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.367e-05/2.58, allocations: 4 kB / 395.7 MB, free: 13.62 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.832e-05/2.58, allocations: 7.906 kB / 395.7 MB, free: 13.61 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001113/2.58, allocations: 19.23 kB / 395.7 MB, free: 13.59 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001465/2.58, allocations: 41.12 kB / 395.8 MB, free: 13.55 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.676e-05/2.58, allocations: 0 / 395.8 MB, free: 13.55 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.554e-05/2.58, allocations: 0 / 395.8 MB, free: 13.55 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.132e-05/2.58, allocations: 4 kB / 395.8 MB, free: 13.55 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006304/2.581, allocations: 274 kB / 396.1 MB, free: 13.26 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003096/2.581, allocations: 36.77 kB / 396.1 MB, free: 13.22 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.61e-05/2.581, allocations: 16.05 kB / 396.1 MB, free: 13.21 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.968e-05/2.581, allocations: 0 / 396.1 MB, free: 13.21 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001348/2.581, allocations: 50.88 kB / 396.2 MB, free: 13.15 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 2.986e-06/2.581, allocations: 0 / 396.2 MB, free: 13.15 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005979/2.582, allocations: 103.2 kB / 396.3 MB, free: 13.05 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.299e-05/2.582, allocations: 55.39 kB / 396.3 MB, free: 12.99 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003671/2.583, allocations: 183.2 kB / 396.5 MB, free: 12.82 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.745e-05/2.583, allocations: 29.64 kB / 396.5 MB, free: 12.79 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.479e-05/2.583, allocations: 88.12 kB / 396.6 MB, free: 12.7 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.342e-05/2.583, allocations: 15.5 kB / 396.6 MB, free: 12.69 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.188e-05/2.583, allocations: 0 / 396.6 MB, free: 12.69 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001778/2.583, allocations: 326.5 kB / 396.9 MB, free: 12.37 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001065/2.583, allocations: 19 kB / 397 MB, free: 12.36 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001052/2.583, allocations: 26.11 kB / 397 MB, free: 12.34 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001368/2.583, allocations: 26.73 kB / 397 MB, free: 12.32 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/2.583, allocations: 0 / 397 MB, free: 12.32 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004194/2.584, allocations: 102.7 kB / 397.1 MB, free: 12.23 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.205e-05/2.584, allocations: 4 kB / 397.1 MB, free: 12.23 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.126e-06/2.584, allocations: 0 / 397.1 MB, free: 12.23 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.441e-05/2.584, allocations: 0 / 397.1 MB, free: 12.23 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001316/2.584, allocations: 11.94 kB / 397.1 MB, free: 12.21 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.09e-05/2.584, allocations: 4 kB / 397.1 MB, free: 12.21 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001102/2.584, allocations: 3.984 kB / 397.1 MB, free: 12.21 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.542e-05/2.584, allocations: 4 kB / 397.1 MB, free: 12.2 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.0001257/2.584, allocations: 108.9 kB / 397.2 MB, free: 12.09 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.581e-05/2.585, allocations: 11.91 kB / 397.3 MB, free: 12.08 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004039/2.585, allocations: 85.22 kB / 397.3 MB, free: 12 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.307e-06/2.585, allocations: 3.984 kB / 397.3 MB, free: 11.99 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/2.585, allocations: 0 / 397.3 MB, free: 11.99 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/2.585, allocations: 0 / 397.3 MB, free: 11.99 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006643/2.586, allocations: 331.3 kB / 397.7 MB, free: 11.65 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-06/2.586, allocations: 4 kB / 397.7 MB, free: 11.65 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001015/2.586, allocations: 8.188 kB / 397.7 MB, free: 11.64 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.911e-06/2.586, allocations: 0 / 397.7 MB, free: 11.64 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.859e-05/2.586, allocations: 4 kB / 397.7 MB, free: 11.64 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.613e-06/2.586, allocations: 7.938 kB / 397.7 MB, free: 11.63 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.335e-06/2.586, allocations: 7.891 kB / 397.7 MB, free: 11.62 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003339/2.586, allocations: 165.8 kB / 397.9 MB, free: 11.45 MB / 330.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005182/2.587, allocations: 0.5417 MB / 398.4 MB, free: 10.91 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001114/2.587, allocations: 92.94 kB / 398.5 MB, free: 10.8 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.551e-05/2.587, allocations: 3.906 kB / 398.5 MB, free: 10.79 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001852/2.587, allocations: 4 kB / 398.5 MB, free: 10.79 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.651e-05/2.587, allocations: 3 kB / 398.5 MB, free: 10.79 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.357e-05/2.587, allocations: 4 kB / 398.5 MB, free: 10.79 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.000337/2.588, allocations: 143.8 kB / 398.6 MB, free: 10.66 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002211/2.59, allocations: 47.8 kB / 398.7 MB, free: 10.62 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.001176/2.591, allocations: 273.3 kB / 399 MB, free: 10.39 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003571/2.592, allocations: 72.31 kB / 399 MB, free: 10.33 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/2.592, allocations: 0 / 399 MB, free: 10.33 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001234/2.592, allocations: 19 kB / 399 MB, free: 10.32 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005458/2.592, allocations: 15.8 kB / 399.1 MB, free: 10.3 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007833/2.593, allocations: 158.1 kB / 399.2 MB, free: 10.14 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006057/2.594, allocations: 0.7222 MB / 399.9 MB, free: 9.395 MB / 330.7 MB Notification: Performance of SimCode: time 1.513e-06/2.594, allocations: 0 / 399.9 MB, free: 9.395 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat does not exist to compare? outputFormat=mat