Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test78,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Tables_CombiTimeTable_Test78",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.456/2.456, allocations: 235.1 MB / 242 MB, free: 9.66 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.164/2.62, allocations: 57.19 MB / 299.2 MB, free: 356 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2782/2.898, allocations: 54.87 MB / 354.1 MB, free: 13.4 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1643/3.063, allocations: 81.43 MB / 435.5 MB, free: 11.86 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000301/3.063, allocations: 71.95 kB / 435.6 MB, free: 11.79 MB / 378.7 MB [/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. [/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_2.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_2.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_2.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_2.getTableTimeTmax. Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.04367/3.107, allocations: 7.272 MB / 442.9 MB, free: 4.434 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.951e-05/3.107, allocations: 12 kB / 442.9 MB, free: 4.422 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001232/3.107, allocations: 35.61 kB / 442.9 MB, free: 4.387 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007792/3.108, allocations: 287 kB / 443.2 MB, free: 4.062 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.681e-05/3.108, allocations: 4 kB / 443.2 MB, free: 4.059 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.445e-05/3.108, allocations: 12 kB / 443.2 MB, free: 4.047 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001921/3.108, allocations: 31.98 kB / 443.2 MB, free: 4.016 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002599/3.108, allocations: 95.36 kB / 443.3 MB, free: 3.91 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.617e-05/3.108, allocations: 0 / 443.3 MB, free: 3.91 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.424e-05/3.109, allocations: 3.984 kB / 443.3 MB, free: 3.906 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.217e-06/3.109, allocations: 7.906 kB / 443.3 MB, free: 3.898 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001124/3.11, allocations: 0.4896 MB / 443.8 MB, free: 3.367 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003373/3.11, allocations: 105.4 kB / 443.9 MB, free: 3.246 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001333/3.11, allocations: 37.84 kB / 444 MB, free: 3.203 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.282e-05/3.11, allocations: 0 / 444 MB, free: 3.203 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00027/3.111, allocations: 104.9 kB / 444.1 MB, free: 3.082 MB / 378.7 MB Notification: Performance of pre-optimization done (n=12): time 2.274e-06/3.111, allocations: 0 / 444.1 MB, free: 3.082 MB / 378.7 MB Notification: Performance of matching and sorting (n=16): time 0.001252/3.112, allocations: 311.9 kB / 444.4 MB, free: 2.77 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.95e-05/3.112, allocations: 81.11 kB / 444.5 MB, free: 2.672 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009411/3.113, allocations: 411.5 kB / 444.9 MB, free: 2.266 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.961e-05/3.113, allocations: 29.7 kB / 444.9 MB, free: 2.23 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001039/3.113, allocations: 120.5 kB / 445 MB, free: 2.105 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.54e-05/3.113, allocations: 43.36 kB / 445.1 MB, free: 2.062 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.264e-05/3.113, allocations: 7.938 kB / 445.1 MB, free: 2.055 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001756/3.113, allocations: 346.7 kB / 445.4 MB, free: 1.707 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002359/3.114, allocations: 68.19 kB / 445.5 MB, free: 1.637 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002718/3.114, allocations: 95.61 kB / 445.6 MB, free: 1.531 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002938/3.114, allocations: 71.97 kB / 445.6 MB, free: 1.461 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.072e-06/3.114, allocations: 3.984 kB / 445.6 MB, free: 1.457 MB / 378.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008227/3.115, allocations: 245.2 kB / 445.9 MB, free: 1.211 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.184e-05/3.115, allocations: 12.05 kB / 445.9 MB, free: 1.199 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/3.115, allocations: 4 kB / 445.9 MB, free: 1.195 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.115e-05/3.115, allocations: 0 / 445.9 MB, free: 1.195 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000345/3.115, allocations: 35.92 kB / 445.9 MB, free: 1.16 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/3.116, allocations: 0 / 445.9 MB, free: 1.16 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002435/3.116, allocations: 11.94 kB / 445.9 MB, free: 1.148 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.998e-05/3.116, allocations: 12 kB / 445.9 MB, free: 1.137 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.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 20 * 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.0001564/3.116, allocations: 124.8 kB / 446.1 MB, free: 1.008 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.705e-05/3.116, allocations: 31.62 kB / 446.1 MB, free: 0.9766 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008021/3.117, allocations: 184.4 kB / 446.3 MB, free: 0.7852 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.117e-06/3.117, allocations: 384 / 446.3 MB, free: 0.7852 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/3.117, allocations: 4.312 kB / 446.3 MB, free: 0.7812 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.376e-06/3.117, allocations: 7.984 kB / 446.3 MB, free: 0.7734 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001633/3.119, allocations: 0.6328 MB / 446.9 MB, free: 92 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.143e-06/3.119, allocations: 3.906 kB / 446.9 MB, free: 88 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001868/3.119, allocations: 27.86 kB / 447 MB, free: 60 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.189e-05/3.119, allocations: 4 kB / 447 MB, free: 56 kB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.686e-05/3.119, allocations: 8 kB / 447 MB, free: 48 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.869e-06/3.119, allocations: 3.938 kB / 447 MB, free: 44 kB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/3.119, allocations: 0 / 447 MB, free: 44 kB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.1634/3.282, allocations: 388.1 kB / 447.3 MB, free: 130.4 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005638/3.283, allocations: 0.7615 MB / 448.1 MB, free: 129.8 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002292/3.283, allocations: 138.9 kB / 448.2 MB, free: 129.7 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.688e-05/3.283, allocations: 3.656 kB / 448.2 MB, free: 129.7 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003149/3.284, allocations: 11 kB / 448.3 MB, free: 129.7 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.941e-05/3.284, allocations: 11.25 kB / 448.3 MB, free: 129.7 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.893e-05/3.284, allocations: 14.12 kB / 448.3 MB, free: 129.7 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0005541/3.284, allocations: 317.4 kB / 448.6 MB, free: 129.6 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001713/3.286, allocations: 89.56 kB / 448.7 MB, free: 129.6 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 14 * 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.001719/3.288, allocations: 0.5303 MB / 449.2 MB, free: 129.4 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006273/3.289, allocations: 231.9 kB / 449.4 MB, free: 129.4 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.107e-06/3.289, allocations: 0 / 449.4 MB, free: 129.4 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001678/3.289, allocations: 63.95 kB / 449.5 MB, free: 129.4 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007594/3.289, allocations: 40.16 kB / 449.5 MB, free: 129.4 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0013/3.291, allocations: 430.2 kB / 450 MB, free: 129.2 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004764/3.291, allocations: 0.8158 MB / 450.8 MB, free: 128.5 MB / 378.7 MB Notification: Performance of SimCode: time 1.412e-06/3.291, allocations: 3.094 kB / 450.8 MB, free: 128.5 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat does not exist to compare? outputFormat=mat