Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test14,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Tables_CombiTimeTable_Test14",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.601/2.601, allocations: 235.1 MB / 242 MB, free: 9.73 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1668/2.768, allocations: 57.2 MB / 299.2 MB, free: 412 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3032/3.072, allocations: 54.86 MB / 354.1 MB, free: 13.38 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1896/3.261, allocations: 82.65 MB / 436.7 MB, free: 10.61 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004656/3.262, allocations: 67.97 kB / 436.8 MB, free: 10.55 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$t_new.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$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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.03743/3.299, allocations: 4.44 MB / 441.3 MB, free: 6.027 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.635e-05/3.299, allocations: 8 kB / 441.3 MB, free: 6.02 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001312/3.299, allocations: 19.81 kB / 441.3 MB, free: 6 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007316/3.3, allocations: 238.4 kB / 441.5 MB, free: 5.727 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.721e-05/3.3, allocations: 0 / 441.5 MB, free: 5.727 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.524e-05/3.3, allocations: 8 kB / 441.5 MB, free: 5.719 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003499/3.301, allocations: 47.98 kB / 441.6 MB, free: 5.672 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003931/3.301, allocations: 85.66 kB / 441.6 MB, free: 5.582 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/3.301, allocations: 0 / 441.6 MB, free: 5.582 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.448e-05/3.301, allocations: 0 / 441.6 MB, free: 5.582 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.065e-05/3.301, allocations: 7.984 kB / 441.7 MB, free: 5.574 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001817/3.303, allocations: 425 kB / 442.1 MB, free: 5.121 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006039/3.304, allocations: 94.67 kB / 442.2 MB, free: 5.02 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002104/3.304, allocations: 40.86 kB / 442.2 MB, free: 4.977 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.588e-05/3.304, allocations: 4 kB / 442.2 MB, free: 4.973 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003438/3.304, allocations: 107.3 kB / 442.3 MB, free: 4.855 MB / 378.7 MB Notification: Performance of pre-optimization done (n=12): time 6.963e-06/3.304, allocations: 0 / 442.3 MB, free: 4.855 MB / 378.7 MB Notification: Performance of matching and sorting (n=12): time 0.0006916/3.305, allocations: 113.5 kB / 442.4 MB, free: 4.738 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.964e-05/3.305, allocations: 55.41 kB / 442.5 MB, free: 4.672 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004445/3.306, allocations: 177.7 kB / 442.7 MB, free: 4.488 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.395e-05/3.306, allocations: 33.7 kB / 442.7 MB, free: 4.449 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001005/3.306, allocations: 104.1 kB / 442.8 MB, free: 4.344 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.752e-05/3.306, allocations: 31.56 kB / 442.8 MB, free: 4.312 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.769e-05/3.306, allocations: 4 kB / 442.8 MB, free: 4.309 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001989/3.306, allocations: 330.8 kB / 443.1 MB, free: 3.977 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002933/3.307, allocations: 52.09 kB / 443.2 MB, free: 3.922 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003283/3.307, allocations: 70.94 kB / 443.3 MB, free: 3.844 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003141/3.307, allocations: 55.86 kB / 443.3 MB, free: 3.789 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.316e-06/3.307, allocations: 7.938 kB / 443.3 MB, free: 3.781 MB / 378.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0009192/3.308, allocations: 172.7 kB / 443.5 MB, free: 3.609 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.571e-05/3.308, allocations: 7.938 kB / 443.5 MB, free: 3.602 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.277e-05/3.308, allocations: 4 kB / 443.5 MB, free: 3.598 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.178e-05/3.308, allocations: 0 / 443.5 MB, free: 3.598 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006139/3.309, allocations: 51.97 kB / 443.6 MB, free: 3.547 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.155e-06/3.309, allocations: 0 / 443.6 MB, free: 3.547 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006724/3.31, allocations: 43.8 kB / 443.6 MB, free: 3.504 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.838e-05/3.31, allocations: 8 kB / 443.6 MB, free: 3.496 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new.nextTimeEvent,$whenCondition1,$PRE.trapezoid1.T_start,trapezoid1.T_start,$PRE.trapezoid1.count,trapezoid1.count,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 (17): * Single equations (assignments): 15 * 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.0001891/3.31, allocations: 116.8 kB / 443.7 MB, free: 3.375 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.804e-05/3.31, allocations: 15.81 kB / 443.7 MB, free: 3.359 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006747/3.311, allocations: 123 kB / 443.9 MB, free: 3.23 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.029e-05/3.311, allocations: 4 kB / 443.9 MB, free: 3.227 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.144e-06/3.311, allocations: 0 / 443.9 MB, free: 3.227 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.429e-05/3.311, allocations: 3.984 kB / 443.9 MB, free: 3.223 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004287/3.311, allocations: 206 kB / 444.1 MB, free: 2.984 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/3.311, allocations: 4 kB / 444.1 MB, free: 2.98 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006319/3.312, allocations: 31.97 kB / 444.1 MB, free: 2.949 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.362e-05/3.312, allocations: 0 / 444.1 MB, free: 2.949 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.882e-05/3.312, allocations: 4 kB / 444.1 MB, free: 2.945 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.346e-06/3.312, allocations: 0 / 444.1 MB, free: 2.945 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.468e-06/3.312, allocations: 8 kB / 444.1 MB, free: 2.938 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001132/3.313, allocations: 208.8 kB / 444.3 MB, free: 2.715 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001244/3.315, allocations: 0.6307 MB / 444.9 MB, free: 2.062 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001735/3.315, allocations: 100.9 kB / 445 MB, free: 1.945 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.251e-05/3.315, allocations: 4.125 kB / 445.1 MB, free: 1.941 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004445/3.315, allocations: 27.97 kB / 445.1 MB, free: 1.914 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001123/3.316, allocations: 23.97 kB / 445.1 MB, free: 1.891 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.017e-05/3.316, allocations: 7.984 kB / 445.1 MB, free: 1.883 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0002305/3.316, allocations: 140.5 kB / 445.2 MB, free: 1.746 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001474/3.317, allocations: 60.02 kB / 445.3 MB, free: 1.688 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 3 (trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * 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.001159/3.318, allocations: 324.2 kB / 445.6 MB, free: 1.441 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008328/3.319, allocations: 179.3 kB / 445.8 MB, free: 1.254 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.073e-06/3.319, allocations: 128 / 445.8 MB, free: 1.254 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003087/3.32, allocations: 55.92 kB / 445.9 MB, free: 1.199 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007687/3.32, allocations: 35.7 kB / 445.9 MB, free: 1.164 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001473/3.322, allocations: 215.7 kB / 446.1 MB, free: 0.9297 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009227/3.323, allocations: 0.751 MB / 446.8 MB, free: 160 kB / 378.7 MB Notification: Performance of SimCode: time 2.245e-06/3.323, allocations: 0 / 446.8 MB, free: 160 kB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Tables.CombiTimeTable.Test14_res.mat does not exist to compare? outputFormat=mat