Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test80,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Tables_CombiTimeTable_Test80",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.315/2.315, allocations: 235.1 MB / 242 MB, free: 9.66 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1392/2.454, allocations: 57.2 MB / 299.2 MB, free: 356 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2831/2.737, allocations: 54.86 MB / 354.1 MB, free: 13.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1568/2.894, allocations: 81.4 MB / 435.5 MB, free: 11.89 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003256/2.894, allocations: 71.97 kB / 435.6 MB, free: 11.82 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. [/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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.03654/2.931, allocations: 7.092 MB / 442.6 MB, free: 4.648 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.744e-05/2.931, allocations: 8 kB / 442.7 MB, free: 4.641 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.101e-05/2.931, allocations: 23.81 kB / 442.7 MB, free: 4.617 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006388/2.932, allocations: 230.8 kB / 442.9 MB, free: 4.352 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.299e-05/2.932, allocations: 3.938 kB / 442.9 MB, free: 4.348 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.901e-05/2.932, allocations: 8 kB / 442.9 MB, free: 4.34 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001621/2.932, allocations: 31.98 kB / 442.9 MB, free: 4.309 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002426/2.932, allocations: 97.08 kB / 443 MB, free: 4.195 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/2.932, allocations: 7.906 kB / 443 MB, free: 4.188 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.143e-05/2.932, allocations: 0 / 443 MB, free: 4.188 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/2.932, allocations: 0 / 443 MB, free: 4.188 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003484/2.933, allocations: 210.9 kB / 443.3 MB, free: 3.941 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002898/2.933, allocations: 97.28 kB / 443.4 MB, free: 3.828 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001258/2.933, allocations: 37.72 kB / 443.4 MB, free: 3.785 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.519e-05/2.933, allocations: 8.016 kB / 443.4 MB, free: 3.777 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002331/2.933, allocations: 101 kB / 443.5 MB, free: 3.66 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 2.205e-06/2.933, allocations: 0 / 443.5 MB, free: 3.66 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004722/2.934, allocations: 117.5 kB / 443.6 MB, free: 3.539 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.725e-05/2.934, allocations: 140.5 kB / 443.7 MB, free: 3.371 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003598/2.934, allocations: 178.8 kB / 443.9 MB, free: 3.188 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.389e-05/2.934, allocations: 29.7 kB / 443.9 MB, free: 3.152 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.11e-05/2.934, allocations: 92.41 kB / 444 MB, free: 3.055 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.775e-05/2.934, allocations: 27.66 kB / 444.1 MB, free: 3.027 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.494e-05/2.935, allocations: 0 / 444.1 MB, free: 3.027 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001612/2.935, allocations: 334.7 kB / 444.4 MB, free: 2.691 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001595/2.935, allocations: 40 kB / 444.4 MB, free: 2.652 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002078/2.935, allocations: 85.14 kB / 444.5 MB, free: 2.551 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002107/2.935, allocations: 51.91 kB / 444.6 MB, free: 2.5 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/2.935, allocations: 0 / 444.6 MB, free: 2.5 MB / 378.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005777/2.936, allocations: 177.4 kB / 444.7 MB, free: 2.32 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/2.936, allocations: 8.094 kB / 444.7 MB, free: 2.312 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.296e-06/2.936, allocations: 0 / 444.7 MB, free: 2.312 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.24e-05/2.936, allocations: 4 kB / 444.8 MB, free: 2.309 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000261/2.936, allocations: 23.92 kB / 444.8 MB, free: 2.285 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/2.936, allocations: 0 / 444.8 MB, free: 2.285 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001975/2.937, allocations: 23.69 kB / 444.8 MB, free: 2.262 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.255e-05/2.937, allocations: 11.98 kB / 444.8 MB, free: 2.25 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_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled,$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 (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.0001381/2.937, allocations: 117 kB / 444.9 MB, free: 2.129 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.505e-05/2.937, allocations: 19.81 kB / 444.9 MB, free: 2.109 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004728/2.937, allocations: 130.7 kB / 445.1 MB, free: 1.977 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-06/2.937, allocations: 0 / 445.1 MB, free: 1.977 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/2.937, allocations: 4 kB / 445.1 MB, free: 1.973 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.003e-05/2.937, allocations: 3.906 kB / 445.1 MB, free: 1.969 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002857/2.938, allocations: 198.1 kB / 445.3 MB, free: 1.738 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/2.938, allocations: 0 / 445.3 MB, free: 1.738 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001066/2.938, allocations: 11.94 kB / 445.3 MB, free: 1.727 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.935e-06/2.938, allocations: 4 kB / 445.3 MB, free: 1.723 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.996e-05/2.938, allocations: 3.984 kB / 445.3 MB, free: 1.719 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.749e-06/2.938, allocations: 7.906 kB / 445.3 MB, free: 1.711 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.561e-06/2.938, allocations: 0 / 445.3 MB, free: 1.711 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004095/2.938, allocations: 163.4 kB / 445.5 MB, free: 1.523 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005761/2.939, allocations: 0.543 MB / 446 MB, free: 0.9492 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001567/2.939, allocations: 116.8 kB / 446.1 MB, free: 0.8164 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.025e-05/2.939, allocations: 4 kB / 446.1 MB, free: 0.8125 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001545/2.939, allocations: 7.984 kB / 446.1 MB, free: 0.8047 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.934e-05/2.939, allocations: 11.89 kB / 446.1 MB, free: 0.793 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.333e-05/2.939, allocations: 4 kB / 446.1 MB, free: 0.7891 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0002485/2.94, allocations: 155.1 kB / 446.3 MB, free: 0.6367 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001581/2.941, allocations: 71.92 kB / 446.4 MB, free: 0.5664 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,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,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 (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.001962/2.943, allocations: 0.5625 MB / 446.9 MB, free: 100 kB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.1592/3.102, allocations: 164 kB / 447.1 MB, free: 130.3 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.935e-06/3.103, allocations: 0 / 447.1 MB, free: 130.3 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001607/3.103, allocations: 41.59 kB / 447.1 MB, free: 130.3 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005784/3.103, allocations: 31 kB / 447.2 MB, free: 130.3 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006655/3.104, allocations: 183.6 kB / 447.3 MB, free: 130.2 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003068/3.104, allocations: 0.7507 MB / 448.1 MB, free: 129.5 MB / 378.7 MB Notification: Performance of SimCode: time 1.473e-06/3.104, allocations: 0 / 448.1 MB, free: 129.5 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat does not exist to compare? outputFormat=mat