Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test20,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Tables_CombiTimeTable_Test20",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.561/2.561, allocations: 235 MB / 242 MB, free: 9.746 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.187/2.748, allocations: 57.21 MB / 299.2 MB, free: 424 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3209/3.069, allocations: 54.86 MB / 354.1 MB, free: 13.38 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1772/3.246, allocations: 81.28 MB / 435.4 MB, free: 11.98 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003942/3.246, allocations: 75.94 kB / 435.4 MB, free: 11.91 MB / 378.7 MB [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2312:7-2313:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableValue. [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2358:7-2359:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableTimeTmin. [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2369:7-2370:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableTimeTmax. Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0295/3.276, allocations: 4.518 MB / 440 MB, free: 7.324 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.944e-05/3.276, allocations: 8 kB / 440 MB, free: 7.316 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.742e-05/3.276, allocations: 7.906 kB / 440 MB, free: 7.309 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004614/3.277, allocations: 214.7 kB / 440.2 MB, free: 7.059 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.266e-05/3.277, allocations: 0 / 440.2 MB, free: 7.059 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.394e-05/3.277, allocations: 7.906 kB / 440.2 MB, free: 7.051 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001225/3.277, allocations: 20 kB / 440.2 MB, free: 7.031 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001601/3.277, allocations: 49.67 kB / 440.3 MB, free: 6.977 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.543e-05/3.277, allocations: 4 kB / 440.3 MB, free: 6.973 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.526e-05/3.277, allocations: 0 / 440.3 MB, free: 6.973 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.118e-06/3.277, allocations: 4 kB / 440.3 MB, free: 6.969 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006427/3.278, allocations: 289.3 kB / 440.5 MB, free: 6.648 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001808/3.278, allocations: 58.62 kB / 440.6 MB, free: 6.582 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.036e-05/3.278, allocations: 20.97 kB / 440.6 MB, free: 6.559 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.19e-05/3.278, allocations: 7.984 kB / 440.6 MB, free: 6.551 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001484/3.278, allocations: 59.41 kB / 440.7 MB, free: 6.48 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.274e-06/3.278, allocations: 0 / 440.7 MB, free: 6.48 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006858/3.279, allocations: 145.2 kB / 440.8 MB, free: 6.332 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.48e-05/3.279, allocations: 51.41 kB / 440.9 MB, free: 6.27 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002788/3.279, allocations: 161.2 kB / 441 MB, free: 6.105 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.458e-05/3.279, allocations: 29.7 kB / 441.1 MB, free: 6.07 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.172e-05/3.279, allocations: 103.9 kB / 441.2 MB, free: 5.965 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.704e-05/3.279, allocations: 27.64 kB / 441.2 MB, free: 5.938 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.168e-05/3.279, allocations: 0 / 441.2 MB, free: 5.938 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001479/3.28, allocations: 322.8 kB / 441.5 MB, free: 5.613 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001405/3.28, allocations: 32 kB / 441.5 MB, free: 5.582 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001412/3.28, allocations: 45.72 kB / 441.6 MB, free: 5.531 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001513/3.28, allocations: 43.91 kB / 441.6 MB, free: 5.488 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/3.28, allocations: 4 kB / 441.6 MB, free: 5.484 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006195/3.281, allocations: 141.4 kB / 441.8 MB, free: 5.34 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.056e-05/3.281, allocations: 4 kB / 441.8 MB, free: 5.336 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.216e-05/3.281, allocations: 80 / 441.8 MB, free: 5.336 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.675e-05/3.281, allocations: 4 kB / 441.8 MB, free: 5.332 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002742/3.281, allocations: 12 kB / 441.8 MB, free: 5.32 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.398e-06/3.281, allocations: 3.984 kB / 441.8 MB, free: 5.316 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001361/3.281, allocations: 7.984 kB / 441.8 MB, free: 5.309 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.636e-05/3.281, allocations: 11.94 kB / 441.8 MB, free: 5.297 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * 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.0001178/3.282, allocations: 109 kB / 441.9 MB, free: 5.184 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.147e-05/3.282, allocations: 11.81 kB / 441.9 MB, free: 5.172 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003975/3.282, allocations: 106.1 kB / 442 MB, free: 5.059 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.711e-06/3.282, allocations: 0 / 442 MB, free: 5.059 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/3.282, allocations: 0 / 442 MB, free: 5.059 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/3.282, allocations: 0 / 442 MB, free: 5.059 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006669/3.283, allocations: 371.8 kB / 442.4 MB, free: 4.648 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/3.283, allocations: 8.031 kB / 442.4 MB, free: 4.641 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.984e-05/3.283, allocations: 8 kB / 442.4 MB, free: 4.633 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.002e-06/3.283, allocations: 0 / 442.4 MB, free: 4.633 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.073e-05/3.283, allocations: 7.906 kB / 442.4 MB, free: 4.625 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.09e-06/3.283, allocations: 3.984 kB / 442.4 MB, free: 4.621 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/3.283, allocations: 0 / 442.4 MB, free: 4.621 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003293/3.283, allocations: 209.9 kB / 442.6 MB, free: 4.391 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005086/3.284, allocations: 0.5766 MB / 443.2 MB, free: 3.785 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001242/3.284, allocations: 101 kB / 443.3 MB, free: 3.668 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.349e-05/3.284, allocations: 0 / 443.3 MB, free: 3.668 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000161/3.284, allocations: 8.188 kB / 443.3 MB, free: 3.66 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.982e-05/3.284, allocations: 15.89 kB / 443.3 MB, free: 3.645 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.707e-05/3.284, allocations: 4 kB / 443.3 MB, free: 3.641 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0001944/3.284, allocations: 127.2 kB / 443.5 MB, free: 3.516 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001487/3.286, allocations: 39.92 kB / 443.5 MB, free: 3.477 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001228/3.287, allocations: 361.1 kB / 443.9 MB, free: 3.207 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003686/3.288, allocations: 117.6 kB / 444 MB, free: 3.086 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/3.288, allocations: 0 / 444 MB, free: 3.086 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001465/3.288, allocations: 31.94 kB / 444 MB, free: 3.055 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004468/3.288, allocations: 15.98 kB / 444 MB, free: 3.039 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006569/3.289, allocations: 161.3 kB / 444.2 MB, free: 2.855 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004561/3.289, allocations: 0.7231 MB / 444.9 MB, free: 2.105 MB / 378.7 MB Notification: Performance of SimCode: time 1.232e-06/3.289, allocations: 0 / 444.9 MB, free: 2.105 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Tables.CombiTimeTable.Test20_res.mat does not exist to compare? outputFormat=mat