Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test71,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Tables_CombiTimeTable_Test71",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.492/2.492, allocations: 235.1 MB / 242 MB, free: 9.723 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1802/2.672, allocations: 57.2 MB / 299.2 MB, free: 416 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.325/2.997, allocations: 54.86 MB / 354.1 MB, free: 13.38 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1853/3.183, allocations: 81.18 MB / 435.3 MB, free: 12.07 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003731/3.183, allocations: 71.91 kB / 435.3 MB, free: 12 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.03381/3.217, allocations: 6.293 MB / 441.6 MB, free: 5.625 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.574e-05/3.217, allocations: 8 kB / 441.6 MB, free: 5.617 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002433/3.217, allocations: 51.34 kB / 441.7 MB, free: 5.566 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001492/3.219, allocations: 475.1 kB / 442.1 MB, free: 5.062 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.639e-05/3.219, allocations: 0 / 442.1 MB, free: 5.062 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.146e-05/3.219, allocations: 12 kB / 442.2 MB, free: 5.051 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001713/3.219, allocations: 31.92 kB / 442.2 MB, free: 5.02 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000215/3.219, allocations: 79.38 kB / 442.3 MB, free: 4.93 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/3.219, allocations: 0 / 442.3 MB, free: 4.93 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.197e-05/3.219, allocations: 3.906 kB / 442.3 MB, free: 4.926 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/3.219, allocations: 4 kB / 442.3 MB, free: 4.922 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007966/3.22, allocations: 386.8 kB / 442.7 MB, free: 4.504 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002825/3.22, allocations: 101.2 kB / 442.8 MB, free: 4.387 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000116/3.221, allocations: 37.8 kB / 442.8 MB, free: 4.344 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.667e-05/3.221, allocations: 7.984 kB / 442.8 MB, free: 4.336 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003443/3.221, allocations: 97.09 kB / 442.9 MB, free: 4.223 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 4.178e-06/3.221, allocations: 3.938 kB / 442.9 MB, free: 4.219 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0008059/3.222, allocations: 145 kB / 443 MB, free: 4.07 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.085e-05/3.222, allocations: 81.11 kB / 443.1 MB, free: 3.973 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003903/3.226, allocations: 0.8926 MB / 444 MB, free: 3.074 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.097e-05/3.226, allocations: 33.7 kB / 444 MB, free: 3.035 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002455/3.226, allocations: 144.3 kB / 444.2 MB, free: 2.887 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001103/3.226, allocations: 23.7 kB / 444.2 MB, free: 2.863 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.375e-05/3.226, allocations: 4 kB / 444.2 MB, free: 2.859 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0003991/3.227, allocations: 366.8 kB / 444.6 MB, free: 2.492 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004006/3.227, allocations: 51.94 kB / 444.6 MB, free: 2.441 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003992/3.228, allocations: 95.25 kB / 444.7 MB, free: 2.336 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003884/3.228, allocations: 63.91 kB / 444.8 MB, free: 2.273 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.112e-06/3.228, allocations: 0 / 444.8 MB, free: 2.273 MB / 378.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.001273/3.229, allocations: 236.9 kB / 445 MB, free: 2.035 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.439e-05/3.23, allocations: 4 kB / 445 MB, free: 2.031 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.465e-05/3.23, allocations: 0 / 445 MB, free: 2.031 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.104e-05/3.23, allocations: 4 kB / 445 MB, free: 2.027 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003922/3.23, allocations: 19.98 kB / 445 MB, free: 2.008 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.637e-05/3.23, allocations: 4 kB / 445 MB, free: 2.004 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006065/3.231, allocations: 23.81 kB / 445.1 MB, free: 1.98 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.57e-05/3.231, allocations: 12 kB / 445.1 MB, free: 1.969 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.0002214/3.231, allocations: 112.9 kB / 445.2 MB, free: 1.852 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003312/3.231, allocations: 47.34 kB / 445.2 MB, free: 1.805 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009626/3.232, allocations: 177.7 kB / 445.4 MB, free: 1.621 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.694e-06/3.232, allocations: 0 / 445.4 MB, free: 1.621 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/3.232, allocations: 4 kB / 445.4 MB, free: 1.617 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.145e-06/3.232, allocations: 0 / 445.4 MB, free: 1.617 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008309/3.233, allocations: 354.2 kB / 445.8 MB, free: 1.234 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.96e-06/3.233, allocations: 3.938 kB / 445.8 MB, free: 1.23 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001543/3.234, allocations: 16 kB / 445.8 MB, free: 1.215 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.695e-06/3.234, allocations: 0 / 445.8 MB, free: 1.215 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.436e-05/3.234, allocations: 3.984 kB / 445.8 MB, free: 1.211 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.624e-06/3.234, allocations: 7.938 kB / 445.8 MB, free: 1.203 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/3.234, allocations: 0 / 445.8 MB, free: 1.203 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008144/3.234, allocations: 202.9 kB / 446 MB, free: 0.9766 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0009274/3.235, allocations: 0.5736 MB / 446.6 MB, free: 380 kB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000595/3.236, allocations: 200.4 kB / 446.8 MB, free: 160 kB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001686/3.236, allocations: 8 kB / 446.8 MB, free: 152 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002961/3.237, allocations: 7.984 kB / 446.8 MB, free: 144 kB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.42e-05/3.237, allocations: 7.984 kB / 446.8 MB, free: 136 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.733e-05/3.237, allocations: 4 kB / 446.8 MB, free: 132 kB / 378.7 MB Notification: Performance of sort global known variables: time 0.1713/3.408, allocations: 0.7069 MB / 447.5 MB, free: 130.8 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00175/3.41, allocations: 101.8 kB / 447.6 MB, free: 130.8 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.002392/3.412, allocations: 456 kB / 448 MB, free: 130.6 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007271/3.413, allocations: 196.9 kB / 448.2 MB, free: 130.5 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.66e-06/3.413, allocations: 0 / 448.2 MB, free: 130.5 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001707/3.413, allocations: 46.23 kB / 448.3 MB, free: 130.5 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001185/3.414, allocations: 51.03 kB / 448.3 MB, free: 130.5 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003615/3.418, allocations: 0.758 MB / 449.1 MB, free: 130.4 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001187/3.419, allocations: 0.8926 MB / 450 MB, free: 129.7 MB / 378.7 MB Notification: Performance of SimCode: time 2.615e-06/3.419, allocations: 0 / 450 MB, free: 129.7 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat does not exist to compare? outputFormat=mat