Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test69,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Tables_CombiTimeTable_Test69",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.1 MB / 242 MB, free: 9.758 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2091/2.637, allocations: 57.2 MB / 299.2 MB, free: 444 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3076/2.945, allocations: 54.86 MB / 354.1 MB, free: 13.39 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1598/3.105, allocations: 81.18 MB / 435.3 MB, free: 12.1 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002512/3.105, allocations: 71.89 kB / 435.3 MB, free: 12.03 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.03228/3.137, allocations: 6.233 MB / 441.6 MB, free: 5.719 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.653e-05/3.137, allocations: 8 kB / 441.6 MB, free: 5.711 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001988/3.138, allocations: 47.44 kB / 441.6 MB, free: 5.664 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0014/3.139, allocations: 459.1 kB / 442.1 MB, free: 5.176 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.849e-05/3.139, allocations: 7.984 kB / 442.1 MB, free: 5.168 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.987e-05/3.139, allocations: 15.94 kB / 442.1 MB, free: 5.152 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002458/3.139, allocations: 27.98 kB / 442.1 MB, free: 5.125 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002366/3.14, allocations: 83.36 kB / 442.2 MB, free: 5.031 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/3.14, allocations: 0 / 442.2 MB, free: 5.031 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.265e-05/3.14, allocations: 4 kB / 442.2 MB, free: 5.027 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.909e-06/3.14, allocations: 4 kB / 442.2 MB, free: 5.023 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007675/3.141, allocations: 378.8 kB / 442.6 MB, free: 4.613 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00029/3.141, allocations: 101.2 kB / 442.7 MB, free: 4.496 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001123/3.141, allocations: 33.72 kB / 442.7 MB, free: 4.457 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.749e-05/3.141, allocations: 4 kB / 442.7 MB, free: 4.453 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002406/3.141, allocations: 109 kB / 442.8 MB, free: 4.328 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 2.785e-06/3.141, allocations: 0 / 442.8 MB, free: 4.328 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0007785/3.142, allocations: 145.1 kB / 443 MB, free: 4.18 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.82e-05/3.142, allocations: 81.11 kB / 443 MB, free: 4.082 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002714/3.145, allocations: 0.873 MB / 443.9 MB, free: 3.199 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.207e-05/3.145, allocations: 29.7 kB / 443.9 MB, free: 3.164 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000142/3.145, allocations: 136.4 kB / 444.1 MB, free: 3.023 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.562e-05/3.145, allocations: 31.64 kB / 444.1 MB, free: 2.992 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.93e-05/3.145, allocations: 7.938 kB / 444.1 MB, free: 2.984 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002208/3.146, allocations: 366.7 kB / 444.5 MB, free: 2.617 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002098/3.146, allocations: 51.98 kB / 444.5 MB, free: 2.566 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002298/3.146, allocations: 95.17 kB / 444.6 MB, free: 2.461 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000248/3.146, allocations: 59.97 kB / 444.7 MB, free: 2.402 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/3.146, allocations: 4 kB / 444.7 MB, free: 2.398 MB / 378.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.001141/3.147, allocations: 229 kB / 444.9 MB, free: 2.168 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.573e-05/3.148, allocations: 4 kB / 444.9 MB, free: 2.164 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.265e-05/3.148, allocations: 0 / 444.9 MB, free: 2.164 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.073e-05/3.148, allocations: 4 kB / 444.9 MB, free: 2.16 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002502/3.148, allocations: 19.98 kB / 444.9 MB, free: 2.141 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.472e-05/3.148, allocations: 11.84 kB / 444.9 MB, free: 2.129 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003575/3.148, allocations: 23.77 kB / 445 MB, free: 2.105 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.398e-05/3.148, allocations: 8.062 kB / 445 MB, free: 2.098 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.0001465/3.148, allocations: 113 kB / 445.1 MB, free: 1.98 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001583/3.149, allocations: 47.34 kB / 445.1 MB, free: 1.934 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006699/3.149, allocations: 169.5 kB / 445.3 MB, free: 1.758 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.105e-05/3.149, allocations: 7.984 kB / 445.3 MB, free: 1.75 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/3.149, allocations: 0 / 445.3 MB, free: 1.75 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.087e-06/3.149, allocations: 3.984 kB / 445.3 MB, free: 1.746 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008104/3.15, allocations: 349.8 kB / 445.7 MB, free: 1.367 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/3.15, allocations: 4 kB / 445.7 MB, free: 1.363 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001066/3.15, allocations: 8.375 kB / 445.7 MB, free: 1.355 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.548e-06/3.15, allocations: 4 kB / 445.7 MB, free: 1.352 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.673e-05/3.15, allocations: 3.984 kB / 445.7 MB, free: 1.348 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.646e-06/3.15, allocations: 11.94 kB / 445.7 MB, free: 1.336 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.117e-06/3.15, allocations: 0 / 445.7 MB, free: 1.336 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006702/3.151, allocations: 202.9 kB / 445.9 MB, free: 1.109 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0008383/3.152, allocations: 0.5697 MB / 446.5 MB, free: 0.5078 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006056/3.153, allocations: 196.4 kB / 446.6 MB, free: 300 kB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002025/3.153, allocations: 3.906 kB / 446.6 MB, free: 296 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003634/3.153, allocations: 15.98 kB / 446.7 MB, free: 280 kB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.512e-05/3.153, allocations: 4 kB / 446.7 MB, free: 276 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.489e-05/3.153, allocations: 7.984 kB / 446.7 MB, free: 268 kB / 378.7 MB Notification: Performance of sort global known variables: time 0.1852/3.339, allocations: 0.6853 MB / 447.4 MB, free: 131 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002169/3.341, allocations: 101.4 kB / 447.5 MB, free: 131 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.001524/3.343, allocations: 456.4 kB / 447.9 MB, free: 130.8 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005174/3.343, allocations: 196.3 kB / 448.1 MB, free: 130.7 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/3.343, allocations: 0 / 448.1 MB, free: 130.7 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001285/3.343, allocations: 45.92 kB / 448.1 MB, free: 130.7 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006836/3.344, allocations: 49.92 kB / 448.2 MB, free: 130.7 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001989/3.346, allocations: 0.7465 MB / 448.9 MB, free: 130.6 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006427/3.347, allocations: 0.8954 MB / 449.8 MB, free: 129.9 MB / 378.7 MB Notification: Performance of SimCode: time 1.413e-06/3.347, allocations: 0 / 449.8 MB, free: 129.9 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat does not exist to compare? outputFormat=mat