Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test18,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Tables_CombiTimeTable_Test18",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.592/2.592, allocations: 235.1 MB / 242 MB, free: 13.06 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.1642/2.756, allocations: 57.2 MB / 299.2 MB, free: 3.754 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3046/3.061, allocations: 54.86 MB / 354.1 MB, free: 1.16 MB / 286.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2096/3.271, allocations: 81.33 MB / 435.4 MB, free: 15.72 MB / 382.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004843/3.271, allocations: 67.97 kB / 435.5 MB, free: 15.65 MB / 382.1 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.0332/3.304, allocations: 4.568 MB / 440 MB, free: 11.02 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.763e-05/3.305, allocations: 11.98 kB / 440.1 MB, free: 11 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001091/3.305, allocations: 11.91 kB / 440.1 MB, free: 10.99 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005781/3.305, allocations: 200.4 kB / 440.3 MB, free: 10.75 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.481e-05/3.305, allocations: 0 / 440.3 MB, free: 10.75 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.644e-05/3.305, allocations: 4 kB / 440.3 MB, free: 10.75 MB / 382.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001753/3.306, allocations: 23.92 kB / 440.3 MB, free: 10.73 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002124/3.306, allocations: 57.67 kB / 440.3 MB, free: 10.66 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.29e-05/3.306, allocations: 3.906 kB / 440.4 MB, free: 10.66 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.727e-05/3.306, allocations: 3.984 kB / 440.4 MB, free: 10.66 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.319e-05/3.306, allocations: 8 kB / 440.4 MB, free: 10.65 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008619/3.307, allocations: 285.4 kB / 440.6 MB, free: 10.33 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002027/3.307, allocations: 58.62 kB / 440.7 MB, free: 10.27 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.695e-05/3.307, allocations: 16.98 kB / 440.7 MB, free: 10.25 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.568e-05/3.307, allocations: 4 kB / 440.7 MB, free: 10.24 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001577/3.307, allocations: 59.41 kB / 440.8 MB, free: 10.17 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 3.537e-06/3.307, allocations: 0 / 440.8 MB, free: 10.17 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007205/3.308, allocations: 137.2 kB / 440.9 MB, free: 10.03 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.344e-05/3.308, allocations: 59.39 kB / 441 MB, free: 9.961 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002608/3.308, allocations: 149.5 kB / 441.1 MB, free: 9.809 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.162e-05/3.308, allocations: 29.7 kB / 441.1 MB, free: 9.773 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.052e-05/3.309, allocations: 92 kB / 441.2 MB, free: 9.68 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.868e-05/3.309, allocations: 31.64 kB / 441.3 MB, free: 9.648 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.214e-05/3.309, allocations: 0 / 441.3 MB, free: 9.648 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001671/3.309, allocations: 326.7 kB / 441.6 MB, free: 9.32 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001291/3.309, allocations: 31.94 kB / 441.6 MB, free: 9.289 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001508/3.309, allocations: 51.06 kB / 441.7 MB, free: 9.234 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001634/3.309, allocations: 43.97 kB / 441.7 MB, free: 9.191 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/3.309, allocations: 0 / 441.7 MB, free: 9.191 MB / 382.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004618/3.31, allocations: 137.5 kB / 441.8 MB, free: 9.051 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.323e-05/3.31, allocations: 4 kB / 441.8 MB, free: 9.047 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.877e-06/3.31, allocations: 0 / 441.8 MB, free: 9.047 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.089e-05/3.31, allocations: 0 / 441.8 MB, free: 9.047 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002101/3.31, allocations: 16 kB / 441.9 MB, free: 9.031 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.002e-05/3.31, allocations: 3.984 kB / 441.9 MB, free: 9.027 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001278/3.31, allocations: 4 kB / 441.9 MB, free: 9.023 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.49e-05/3.31, allocations: 11.91 kB / 441.9 MB, free: 9.012 MB / 382.1 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.0001412/3.311, allocations: 113 kB / 442 MB, free: 8.895 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.091e-05/3.311, allocations: 7.906 kB / 442 MB, free: 8.887 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004094/3.311, allocations: 98.16 kB / 442.1 MB, free: 8.781 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.506e-06/3.311, allocations: 3.906 kB / 442.1 MB, free: 8.777 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.196e-06/3.311, allocations: 4 kB / 442.1 MB, free: 8.773 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.135e-06/3.311, allocations: 3.938 kB / 442.1 MB, free: 8.77 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007003/3.312, allocations: 371.9 kB / 442.5 MB, free: 8.359 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/3.312, allocations: 0 / 442.5 MB, free: 8.359 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001026/3.312, allocations: 15.97 kB / 442.5 MB, free: 8.344 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.915e-06/3.312, allocations: 0 / 442.5 MB, free: 8.344 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.922e-05/3.312, allocations: 4 kB / 442.5 MB, free: 8.34 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/3.312, allocations: 192 / 442.5 MB, free: 8.34 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.997e-06/3.312, allocations: 4 kB / 442.5 MB, free: 8.336 MB / 382.1 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003343/3.312, allocations: 205.9 kB / 442.7 MB, free: 8.109 MB / 382.1 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004789/3.313, allocations: 0.5767 MB / 443.3 MB, free: 7.504 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001215/3.313, allocations: 97 kB / 443.4 MB, free: 7.391 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.368e-05/3.313, allocations: 0 / 443.4 MB, free: 7.391 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001713/3.313, allocations: 7.984 kB / 443.4 MB, free: 7.383 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.762e-05/3.313, allocations: 19.84 kB / 443.4 MB, free: 7.363 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.035e-05/3.313, allocations: 3.984 kB / 443.4 MB, free: 7.359 MB / 382.1 MB Notification: Performance of sort global known variables: time 0.0001749/3.314, allocations: 119.3 kB / 443.5 MB, free: 7.242 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00153/3.315, allocations: 39.94 kB / 443.6 MB, free: 7.203 MB / 382.1 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.001286/3.316, allocations: 356.3 kB / 443.9 MB, free: 6.938 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004205/3.317, allocations: 117.6 kB / 444 MB, free: 6.816 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.918e-06/3.317, allocations: 0 / 444 MB, free: 6.816 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001181/3.317, allocations: 35.92 kB / 444.1 MB, free: 6.781 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004655/3.317, allocations: 21.38 kB / 444.1 MB, free: 6.766 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005978/3.318, allocations: 141.2 kB / 444.2 MB, free: 6.605 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004492/3.319, allocations: 0.731 MB / 444.9 MB, free: 5.848 MB / 382.1 MB Notification: Performance of SimCode: time 1.252e-06/3.319, allocations: 0 / 444.9 MB, free: 5.848 MB / 382.1 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat does not exist to compare? outputFormat=mat