Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test16,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Tables_CombiTimeTable_Test16",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.453/2.453, allocations: 235.1 MB / 242 MB, free: 9.746 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.159/2.612, allocations: 57.2 MB / 299.2 MB, free: 432 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.291/2.903, allocations: 54.85 MB / 354.1 MB, free: 13.31 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1979/3.101, allocations: 81.3 MB / 435.4 MB, free: 11.91 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003757/3.102, allocations: 67.97 kB / 435.4 MB, free: 11.84 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.03007/3.132, allocations: 4.486 MB / 439.9 MB, free: 7.285 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.94e-05/3.132, allocations: 8 kB / 439.9 MB, free: 7.277 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.469e-05/3.132, allocations: 11.89 kB / 439.9 MB, free: 7.266 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005096/3.132, allocations: 203.4 kB / 440.1 MB, free: 7.023 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.383e-05/3.132, allocations: 4 kB / 440.1 MB, free: 7.02 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.875e-05/3.133, allocations: 4 kB / 440.2 MB, free: 7.016 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001346/3.133, allocations: 19.98 kB / 440.2 MB, free: 6.996 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001575/3.133, allocations: 57.61 kB / 440.2 MB, free: 6.934 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.662e-05/3.133, allocations: 3.906 kB / 440.2 MB, free: 6.93 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.626e-05/3.133, allocations: 4 kB / 440.2 MB, free: 6.926 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.112e-06/3.133, allocations: 0 / 440.2 MB, free: 6.926 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006324/3.134, allocations: 285.4 kB / 440.5 MB, free: 6.609 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001817/3.134, allocations: 46.69 kB / 440.6 MB, free: 6.555 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.759e-05/3.134, allocations: 20.98 kB / 440.6 MB, free: 6.531 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.714e-05/3.134, allocations: 4 kB / 440.6 MB, free: 6.527 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001483/3.134, allocations: 59.34 kB / 440.6 MB, free: 6.457 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.544e-06/3.134, allocations: 0 / 440.6 MB, free: 6.457 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007825/3.135, allocations: 145.2 kB / 440.8 MB, free: 6.309 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.046e-05/3.135, allocations: 51.41 kB / 440.8 MB, free: 6.246 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002862/3.135, allocations: 149.5 kB / 441 MB, free: 6.09 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.967e-05/3.135, allocations: 33.69 kB / 441 MB, free: 6.051 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.174e-05/3.135, allocations: 92 kB / 441.1 MB, free: 5.957 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.521e-05/3.135, allocations: 27.64 kB / 441.1 MB, free: 5.93 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.621e-05/3.135, allocations: 4 kB / 441.1 MB, free: 5.926 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001613/3.136, allocations: 322.7 kB / 441.4 MB, free: 5.602 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001309/3.136, allocations: 39.94 kB / 441.5 MB, free: 5.562 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001516/3.136, allocations: 49.66 kB / 441.5 MB, free: 5.508 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001655/3.136, allocations: 39.97 kB / 441.6 MB, free: 5.469 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/3.136, allocations: 8 kB / 441.6 MB, free: 5.461 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000548/3.137, allocations: 129.5 kB / 441.7 MB, free: 5.328 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.372e-05/3.137, allocations: 7.938 kB / 441.7 MB, free: 5.32 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/3.137, allocations: 4 kB / 441.7 MB, free: 5.316 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.811e-05/3.137, allocations: 0 / 441.7 MB, free: 5.316 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002531/3.137, allocations: 12 kB / 441.7 MB, free: 5.305 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.327e-05/3.137, allocations: 4 kB / 441.7 MB, free: 5.301 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001696/3.137, allocations: 3.984 kB / 441.7 MB, free: 5.297 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.648e-05/3.137, allocations: 7.906 kB / 441.7 MB, free: 5.289 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.0001475/3.137, allocations: 113 kB / 441.9 MB, free: 5.172 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.533e-05/3.138, allocations: 7.906 kB / 441.9 MB, free: 5.164 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005302/3.138, allocations: 110.3 kB / 442 MB, free: 5.047 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.435e-05/3.138, allocations: 3.906 kB / 442 MB, free: 5.043 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.207e-06/3.138, allocations: 4 kB / 442 MB, free: 5.039 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.682e-06/3.138, allocations: 0 / 442 MB, free: 5.039 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009226/3.139, allocations: 363.8 kB / 442.3 MB, free: 4.633 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/3.139, allocations: 4.031 kB / 442.3 MB, free: 4.629 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001321/3.139, allocations: 8 kB / 442.3 MB, free: 4.621 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.245e-06/3.139, allocations: 4 kB / 442.4 MB, free: 4.617 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.471e-05/3.139, allocations: 4 kB / 442.4 MB, free: 4.613 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.177e-06/3.139, allocations: 0 / 442.4 MB, free: 4.613 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.067e-05/3.139, allocations: 4 kB / 442.4 MB, free: 4.609 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004726/3.14, allocations: 209.8 kB / 442.6 MB, free: 4.379 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006851/3.141, allocations: 0.5764 MB / 443.1 MB, free: 3.773 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001634/3.141, allocations: 93.38 kB / 443.2 MB, free: 3.664 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.83e-05/3.141, allocations: 4 kB / 443.2 MB, free: 3.66 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002638/3.141, allocations: 7.984 kB / 443.2 MB, free: 3.652 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.544e-05/3.141, allocations: 7.906 kB / 443.3 MB, free: 3.645 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.746e-05/3.141, allocations: 7.938 kB / 443.3 MB, free: 3.637 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0002353/3.142, allocations: 123.2 kB / 443.4 MB, free: 3.516 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002751/3.144, allocations: 39.94 kB / 443.4 MB, free: 3.477 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.001776/3.146, allocations: 364.9 kB / 443.8 MB, free: 3.203 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005379/3.147, allocations: 117.6 kB / 443.9 MB, free: 3.082 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.758e-06/3.147, allocations: 0 / 443.9 MB, free: 3.082 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001502/3.147, allocations: 27.98 kB / 443.9 MB, free: 3.055 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006491/3.148, allocations: 13.42 kB / 443.9 MB, free: 3.043 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008565/3.148, allocations: 157.2 kB / 444.1 MB, free: 2.867 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006312/3.149, allocations: 0.7231 MB / 444.8 MB, free: 2.117 MB / 378.7 MB Notification: Performance of SimCode: time 1.323e-06/3.149, allocations: 0 / 444.8 MB, free: 2.117 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Tables.CombiTimeTable.Test16_res.mat does not exist to compare? outputFormat=mat