Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test32,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Tables_CombiTimeTable_Test32",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.493/2.493, allocations: 235.1 MB / 242 MB, free: 9.652 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1728/2.666, allocations: 57.2 MB / 299.2 MB, free: 340 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2941/2.96, allocations: 54.87 MB / 354.1 MB, free: 13.36 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1752/3.136, allocations: 81.29 MB / 435.4 MB, free: 11.96 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002882/3.136, allocations: 71.97 kB / 435.5 MB, free: 11.89 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. Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.02268/3.159, allocations: 4.525 MB / 440 MB, free: 7.293 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.899e-05/3.159, allocations: 8 kB / 440 MB, free: 7.285 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.425e-05/3.159, allocations: 7.906 kB / 440 MB, free: 7.277 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004303/3.159, allocations: 210.8 kB / 440.2 MB, free: 7.031 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.978e-05/3.159, allocations: 4 kB / 440.2 MB, free: 7.027 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.015e-05/3.159, allocations: 7.906 kB / 440.2 MB, free: 7.02 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000115/3.16, allocations: 19.98 kB / 440.2 MB, free: 7 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001347/3.16, allocations: 49.69 kB / 440.3 MB, free: 6.945 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/3.16, allocations: 0 / 440.3 MB, free: 6.945 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.209e-05/3.16, allocations: 4 kB / 440.3 MB, free: 6.941 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/3.16, allocations: 0 / 440.3 MB, free: 6.941 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005389/3.16, allocations: 297.3 kB / 440.6 MB, free: 6.613 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001749/3.16, allocations: 54.62 kB / 440.6 MB, free: 6.551 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.208e-05/3.161, allocations: 24.98 kB / 440.7 MB, free: 6.523 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.632e-05/3.161, allocations: 0 / 440.7 MB, free: 6.523 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001368/3.161, allocations: 55.41 kB / 440.7 MB, free: 6.457 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.044e-06/3.161, allocations: 0 / 440.7 MB, free: 6.457 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.00069/3.161, allocations: 145.2 kB / 440.8 MB, free: 6.309 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.306e-05/3.162, allocations: 51.41 kB / 440.9 MB, free: 6.246 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002727/3.162, allocations: 169.2 kB / 441.1 MB, free: 6.074 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.042e-05/3.162, allocations: 25.7 kB / 441.1 MB, free: 6.043 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.317e-05/3.162, allocations: 95.94 kB / 441.2 MB, free: 5.945 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.108e-05/3.162, allocations: 23.7 kB / 441.2 MB, free: 5.922 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.147e-05/3.162, allocations: 0 / 441.2 MB, free: 5.922 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001773/3.162, allocations: 322.8 kB / 441.5 MB, free: 5.598 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001311/3.162, allocations: 40 kB / 441.6 MB, free: 5.559 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001471/3.163, allocations: 49.64 kB / 441.6 MB, free: 5.504 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001459/3.163, allocations: 35.98 kB / 441.6 MB, free: 5.469 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/3.163, allocations: 0 / 441.6 MB, free: 5.469 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004283/3.163, allocations: 145.4 kB / 441.8 MB, free: 5.32 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/3.163, allocations: 4 kB / 441.8 MB, free: 5.316 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/3.163, allocations: 80 / 441.8 MB, free: 5.316 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/3.163, allocations: 4 kB / 441.8 MB, free: 5.312 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001986/3.163, allocations: 20.02 kB / 441.8 MB, free: 5.293 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.969e-06/3.163, allocations: 3.984 kB / 441.8 MB, free: 5.289 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001115/3.164, allocations: 4 kB / 441.8 MB, free: 5.285 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.36e-05/3.164, allocations: 4 kB / 441.8 MB, free: 5.281 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,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 (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 1 * 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.0001102/3.164, allocations: 108.9 kB / 441.9 MB, free: 5.168 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.632e-05/3.164, allocations: 11.81 kB / 441.9 MB, free: 5.156 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003672/3.164, allocations: 110.1 kB / 442 MB, free: 5.039 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.037e-06/3.164, allocations: 0 / 442 MB, free: 5.039 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/3.164, allocations: 4 kB / 442.1 MB, free: 5.035 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.618e-06/3.164, allocations: 0 / 442.1 MB, free: 5.035 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006788/3.165, allocations: 367.9 kB / 442.4 MB, free: 4.629 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/3.165, allocations: 0 / 442.4 MB, free: 4.629 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001166/3.165, allocations: 19.92 kB / 442.4 MB, free: 4.609 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.658e-06/3.165, allocations: 0 / 442.4 MB, free: 4.609 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.362e-05/3.165, allocations: 7.906 kB / 442.4 MB, free: 4.602 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.796e-06/3.165, allocations: 0 / 442.4 MB, free: 4.602 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/3.165, allocations: 0 / 442.4 MB, free: 4.602 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003298/3.165, allocations: 209.9 kB / 442.6 MB, free: 4.371 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004842/3.166, allocations: 0.5764 MB / 443.2 MB, free: 3.766 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001126/3.166, allocations: 97.38 kB / 443.3 MB, free: 3.652 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.783e-05/3.166, allocations: 4 kB / 443.3 MB, free: 3.648 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001474/3.166, allocations: 192 / 443.3 MB, free: 3.648 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.605e-05/3.166, allocations: 15.88 kB / 443.3 MB, free: 3.633 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.818e-05/3.166, allocations: 11.94 kB / 443.3 MB, free: 3.621 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0001826/3.167, allocations: 135.2 kB / 443.5 MB, free: 3.488 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001605/3.168, allocations: 39.94 kB / 443.5 MB, free: 3.449 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001208/3.169, allocations: 355.6 kB / 443.9 MB, free: 3.184 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003684/3.17, allocations: 113.6 kB / 444 MB, free: 3.066 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.101e-06/3.17, allocations: 4 kB / 444 MB, free: 3.062 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001067/3.17, allocations: 35.98 kB / 444 MB, free: 3.027 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004142/3.17, allocations: 19.98 kB / 444 MB, free: 3.008 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005993/3.171, allocations: 153.2 kB / 444.2 MB, free: 2.832 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004899/3.172, allocations: 0.727 MB / 444.9 MB, free: 2.078 MB / 378.7 MB Notification: Performance of SimCode: time 8.42e-07/3.172, allocations: 0 / 444.9 MB, free: 2.078 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Tables.CombiTimeTable.Test32_res.mat does not exist to compare? outputFormat=mat