Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test72,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Tables_CombiTimeTable_Test72",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.612/2.612, allocations: 235.1 MB / 242 MB, free: 9.668 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1929/2.805, allocations: 57.2 MB / 299.2 MB, free: 348 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2876/3.093, allocations: 54.86 MB / 354.1 MB, free: 13.39 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1788/3.272, allocations: 81.18 MB / 435.3 MB, free: 12.09 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000455/3.272, allocations: 71.95 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.03911/3.311, allocations: 6.273 MB / 441.6 MB, free: 5.66 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.222e-05/3.312, allocations: 12 kB / 441.6 MB, free: 5.648 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002275/3.312, allocations: 51.33 kB / 441.7 MB, free: 5.598 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00186/3.314, allocations: 471.1 kB / 442.1 MB, free: 5.098 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.221e-05/3.314, allocations: 0 / 442.1 MB, free: 5.098 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.528e-05/3.314, allocations: 15.97 kB / 442.2 MB, free: 5.082 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002664/3.314, allocations: 32 kB / 442.2 MB, free: 5.051 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000383/3.315, allocations: 83.36 kB / 442.3 MB, free: 4.957 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.802e-05/3.315, allocations: 0 / 442.3 MB, free: 4.957 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.937e-05/3.315, allocations: 7.844 kB / 442.3 MB, free: 4.949 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.475e-05/3.315, allocations: 0 / 442.3 MB, free: 4.949 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00127/3.316, allocations: 382.8 kB / 442.7 MB, free: 4.535 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004761/3.317, allocations: 101.3 kB / 442.7 MB, free: 4.418 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001709/3.317, allocations: 33.72 kB / 442.8 MB, free: 4.379 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.905e-05/3.317, allocations: 4.078 kB / 442.8 MB, free: 4.375 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003435/3.317, allocations: 105 kB / 442.9 MB, free: 4.254 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 5.29e-06/3.317, allocations: 0 / 442.9 MB, free: 4.254 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.001046/3.318, allocations: 149 kB / 443 MB, free: 4.102 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001166/3.318, allocations: 88.98 kB / 443.1 MB, free: 3.996 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00481/3.323, allocations: 0.8965 MB / 444 MB, free: 3.094 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001064/3.323, allocations: 25.7 kB / 444 MB, free: 3.062 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003041/3.324, allocations: 144.3 kB / 444.2 MB, free: 2.914 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001283/3.324, allocations: 27.7 kB / 444.2 MB, free: 2.887 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.191e-05/3.324, allocations: 4 kB / 444.2 MB, free: 2.883 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0003694/3.324, allocations: 366.8 kB / 444.6 MB, free: 2.516 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002923/3.325, allocations: 59.92 kB / 444.6 MB, free: 2.457 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002844/3.325, allocations: 87.31 kB / 444.7 MB, free: 2.359 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003081/3.325, allocations: 55.97 kB / 444.8 MB, free: 2.305 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/3.325, allocations: 0 / 444.8 MB, free: 2.305 MB / 378.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.001286/3.327, allocations: 236.9 kB / 445 MB, free: 2.066 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.109e-05/3.327, allocations: 4 kB / 445 MB, free: 2.062 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.928e-05/3.327, allocations: 4 kB / 445 MB, free: 2.059 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.38e-05/3.327, allocations: 0 / 445 MB, free: 2.059 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003402/3.327, allocations: 27.92 kB / 445 MB, free: 2.031 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.696e-06/3.327, allocations: 0 / 445 MB, free: 2.031 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004871/3.328, allocations: 23.73 kB / 445.1 MB, free: 2.008 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.818e-05/3.328, allocations: 12 kB / 445.1 MB, free: 1.996 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.0002062/3.328, allocations: 113 kB / 445.2 MB, free: 1.879 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003357/3.328, allocations: 51.28 kB / 445.2 MB, free: 1.828 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008997/3.329, allocations: 173.7 kB / 445.4 MB, free: 1.648 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.323e-06/3.329, allocations: 0 / 445.4 MB, free: 1.648 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.174e-05/3.329, allocations: 7.984 kB / 445.4 MB, free: 1.641 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/3.329, allocations: 0 / 445.4 MB, free: 1.641 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000634/3.33, allocations: 353.8 kB / 445.8 MB, free: 1.258 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.212e-06/3.33, allocations: 0 / 445.8 MB, free: 1.258 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001243/3.33, allocations: 15.94 kB / 445.8 MB, free: 1.242 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.425e-06/3.33, allocations: 7.938 kB / 445.8 MB, free: 1.234 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.177e-05/3.33, allocations: 4 kB / 445.8 MB, free: 1.23 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.182e-06/3.33, allocations: 384 / 445.8 MB, free: 1.23 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.194e-06/3.33, allocations: 3.984 kB / 445.8 MB, free: 1.227 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005122/3.331, allocations: 194.9 kB / 446 MB, free: 1.008 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000648/3.331, allocations: 0.5813 MB / 446.6 MB, free: 404 kB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004512/3.332, allocations: 200.4 kB / 446.8 MB, free: 184 kB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001233/3.332, allocations: 0 / 446.8 MB, free: 184 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002233/3.332, allocations: 4 kB / 446.8 MB, free: 180 kB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.353e-05/3.332, allocations: 19.97 kB / 446.8 MB, free: 160 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.858e-05/3.332, allocations: 4 kB / 446.8 MB, free: 156 kB / 378.7 MB Notification: Performance of sort global known variables: time 0.1599/3.492, allocations: 0.7052 MB / 447.5 MB, free: 130.7 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001786/3.494, allocations: 105 kB / 447.6 MB, free: 130.7 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.001619/3.496, allocations: 453 kB / 448 MB, free: 130.5 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005524/3.496, allocations: 197.5 kB / 448.2 MB, free: 130.5 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/3.497, allocations: 2.75 kB / 448.2 MB, free: 130.5 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001319/3.497, allocations: 42.77 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.0007146/3.497, allocations: 53.12 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.00277/3.5, allocations: 0.7672 MB / 449.1 MB, free: 130.3 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007055/3.501, allocations: 0.8898 MB / 450 MB, free: 129.6 MB / 378.7 MB Notification: Performance of SimCode: time 1.794e-06/3.501, allocations: 0 / 450 MB, free: 129.6 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat does not exist to compare? outputFormat=mat