Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test68,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Tables_CombiTimeTable_Test68",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.428/2.428, allocations: 235 MB / 242 MB, free: 9.738 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1854/2.614, allocations: 57.2 MB / 299.2 MB, free: 424 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3008/2.915, allocations: 54.86 MB / 354.1 MB, free: 13.38 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1723/3.087, allocations: 81.18 MB / 435.3 MB, free: 12.09 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003081/3.087, allocations: 71.91 kB / 435.3 MB, free: 12.02 MB / 378.7 MB [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2346:7-2347:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$startTime.getDerTableValue. [/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$startTime.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$startTime.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$startTime.getTableTimeTmax. [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2346:7-2347:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$startTime_0.getDerTableValue. [/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$startTime_0.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$startTime_0.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$startTime_0.getTableTimeTmax. Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.03025/3.117, allocations: 6.233 MB / 441.6 MB, free: 5.707 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.711e-05/3.118, allocations: 12 kB / 441.6 MB, free: 5.695 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003167/3.118, allocations: 47.44 kB / 441.6 MB, free: 5.648 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002334/3.12, allocations: 463.1 kB / 442.1 MB, free: 5.156 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.613e-05/3.12, allocations: 4 kB / 442.1 MB, free: 5.152 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.834e-05/3.12, allocations: 4 kB / 442.1 MB, free: 5.148 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002271/3.121, allocations: 35.98 kB / 442.1 MB, free: 5.113 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002802/3.121, allocations: 79.31 kB / 442.2 MB, free: 5.023 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.328e-05/3.121, allocations: 0 / 442.2 MB, free: 5.023 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.72e-05/3.121, allocations: 4 kB / 442.2 MB, free: 5.02 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.486e-06/3.121, allocations: 0 / 442.2 MB, free: 5.02 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001191/3.122, allocations: 378.8 kB / 442.6 MB, free: 4.609 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004924/3.123, allocations: 105.2 kB / 442.7 MB, free: 4.488 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002407/3.123, allocations: 41.8 kB / 442.7 MB, free: 4.441 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.248e-05/3.123, allocations: 0 / 442.7 MB, free: 4.441 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003699/3.124, allocations: 101 kB / 442.8 MB, free: 4.324 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 9.137e-06/3.124, allocations: 0 / 442.8 MB, free: 4.324 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0008193/3.124, allocations: 149.1 kB / 443 MB, free: 4.172 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.323e-05/3.125, allocations: 85.11 kB / 443 MB, free: 4.07 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003076/3.128, allocations: 0.8691 MB / 443.9 MB, free: 3.191 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.521e-05/3.128, allocations: 29.7 kB / 443.9 MB, free: 3.156 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001824/3.128, allocations: 140.4 kB / 444.1 MB, free: 3.012 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.233e-05/3.128, allocations: 27.64 kB / 444.1 MB, free: 2.984 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.006e-05/3.128, allocations: 4 kB / 444.1 MB, free: 2.98 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002797/3.128, allocations: 366.7 kB / 444.5 MB, free: 2.613 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002814/3.129, allocations: 51.98 kB / 444.5 MB, free: 2.562 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002446/3.129, allocations: 95.25 kB / 444.6 MB, free: 2.457 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002436/3.129, allocations: 59.97 kB / 444.7 MB, free: 2.398 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.117e-06/3.129, allocations: 0 / 444.7 MB, free: 2.398 MB / 378.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007426/3.13, allocations: 229.1 kB / 444.9 MB, free: 2.168 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.47e-05/3.13, allocations: 8 kB / 444.9 MB, free: 2.16 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.141e-05/3.13, allocations: 4 kB / 444.9 MB, free: 2.156 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.773e-05/3.13, allocations: 4.062 kB / 444.9 MB, free: 2.152 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002453/3.13, allocations: 31.92 kB / 444.9 MB, free: 2.121 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.838e-06/3.13, allocations: 3.906 kB / 444.9 MB, free: 2.117 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002542/3.131, allocations: 15.84 kB / 445 MB, free: 2.102 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.241e-05/3.131, allocations: 8 kB / 445 MB, free: 2.094 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.startTime.nextTimeEvent,startTime.nextTimeEvent,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEventScaled,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 2 * 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.0001236/3.131, allocations: 112.9 kB / 445.1 MB, free: 1.977 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001402/3.131, allocations: 51.33 kB / 445.1 MB, free: 1.926 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005732/3.132, allocations: 173.5 kB / 445.3 MB, free: 1.746 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/3.132, allocations: 0 / 445.3 MB, free: 1.746 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.007e-05/3.132, allocations: 3.984 kB / 445.3 MB, free: 1.742 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.121e-06/3.132, allocations: 4 kB / 445.3 MB, free: 1.738 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005294/3.132, allocations: 349.8 kB / 445.7 MB, free: 1.359 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/3.132, allocations: 0 / 445.7 MB, free: 1.359 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.955e-05/3.132, allocations: 11.98 kB / 445.7 MB, free: 1.348 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.244e-06/3.132, allocations: 4 kB / 445.7 MB, free: 1.344 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.206e-05/3.132, allocations: 4 kB / 445.7 MB, free: 1.34 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/3.132, allocations: 3.938 kB / 445.7 MB, free: 1.336 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/3.132, allocations: 4 kB / 445.7 MB, free: 1.332 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004662/3.133, allocations: 198.9 kB / 445.9 MB, free: 1.109 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006297/3.133, allocations: 0.5775 MB / 446.4 MB, free: 0.5 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004864/3.134, allocations: 192.4 kB / 446.6 MB, free: 300 kB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001279/3.134, allocations: 12.03 kB / 446.6 MB, free: 288 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002128/3.134, allocations: 7.984 kB / 446.7 MB, free: 280 kB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.974e-05/3.134, allocations: 11.98 kB / 446.7 MB, free: 268 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.141e-05/3.134, allocations: 4 kB / 446.7 MB, free: 264 kB / 378.7 MB Notification: Performance of sort global known variables: time 0.1629/3.297, allocations: 0.6814 MB / 447.4 MB, free: 130.6 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002248/3.3, allocations: 105.2 kB / 447.5 MB, free: 130.6 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001478/3.301, allocations: 457.8 kB / 447.9 MB, free: 130.4 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005162/3.302, allocations: 195.3 kB / 448.1 MB, free: 130.4 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/3.302, allocations: 0 / 448.1 MB, free: 130.4 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001257/3.302, allocations: 47.7 kB / 448.1 MB, free: 130.4 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006891/3.303, allocations: 45.31 kB / 448.2 MB, free: 130.4 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002142/3.305, allocations: 0.744 MB / 448.9 MB, free: 130.2 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006477/3.305, allocations: 0.886 MB / 449.8 MB, free: 129.5 MB / 378.7 MB Notification: Performance of SimCode: time 1.513e-06/3.305, allocations: 0 / 449.8 MB, free: 129.5 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat does not exist to compare? outputFormat=mat