Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test77,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Tables_CombiTimeTable_Test77",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.308/2.308, allocations: 235 MB / 242 MB, free: 9.762 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1327/2.441, allocations: 57.21 MB / 299.2 MB, free: 436 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2802/2.721, allocations: 54.85 MB / 354.1 MB, free: 13.4 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1931/2.915, allocations: 81.43 MB / 435.5 MB, free: 11.86 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002862/2.915, allocations: 75.91 kB / 435.6 MB, free: 11.78 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.03661/2.951, allocations: 6.918 MB / 442.5 MB, free: 4.781 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.837e-05/2.952, allocations: 11.94 kB / 442.5 MB, free: 4.77 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001502/2.952, allocations: 27.62 kB / 442.5 MB, free: 4.742 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009269/2.953, allocations: 262.2 kB / 442.8 MB, free: 4.449 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.069e-05/2.953, allocations: 4 kB / 442.8 MB, free: 4.445 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.627e-05/2.953, allocations: 11.91 kB / 442.8 MB, free: 4.434 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002314/2.953, allocations: 39.92 kB / 442.9 MB, free: 4.395 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000333/2.953, allocations: 99.36 kB / 443 MB, free: 4.285 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.809e-05/2.953, allocations: 0 / 443 MB, free: 4.285 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.474e-05/2.953, allocations: 0 / 443 MB, free: 4.285 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.131e-05/2.954, allocations: 4 kB / 443 MB, free: 4.281 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001218/2.955, allocations: 477.3 kB / 443.4 MB, free: 3.773 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004126/2.955, allocations: 101.5 kB / 443.5 MB, free: 3.656 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001639/2.955, allocations: 33.84 kB / 443.6 MB, free: 3.617 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.907e-05/2.955, allocations: 7.938 kB / 443.6 MB, free: 3.609 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003227/2.956, allocations: 105 kB / 443.7 MB, free: 3.488 MB / 378.7 MB Notification: Performance of pre-optimization done (n=12): time 2.846e-06/2.956, allocations: 3.938 kB / 443.7 MB, free: 3.484 MB / 378.7 MB Notification: Performance of matching and sorting (n=16): time 0.001543/2.957, allocations: 284.2 kB / 443.9 MB, free: 3.199 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.154e-05/2.957, allocations: 81.11 kB / 444 MB, free: 3.102 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008358/2.958, allocations: 301 kB / 444.3 MB, free: 2.801 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.8e-05/2.958, allocations: 33.7 kB / 444.4 MB, free: 2.762 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001514/2.959, allocations: 108.5 kB / 444.5 MB, free: 2.648 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.929e-05/2.959, allocations: 47.34 kB / 444.5 MB, free: 2.602 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.854e-05/2.959, allocations: 4 kB / 444.5 MB, free: 2.598 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002281/2.959, allocations: 338.8 kB / 444.8 MB, free: 2.258 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003384/2.959, allocations: 64.19 kB / 444.9 MB, free: 2.191 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003771/2.96, allocations: 99.55 kB / 445 MB, free: 2.082 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004866/2.96, allocations: 79.97 kB / 445.1 MB, free: 2.004 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/2.96, allocations: 0 / 445.1 MB, free: 2.004 MB / 378.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001114/2.961, allocations: 241.3 kB / 445.3 MB, free: 1.762 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.716e-05/2.961, allocations: 8 kB / 445.3 MB, free: 1.754 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.19e-05/2.961, allocations: 3.984 kB / 445.3 MB, free: 1.75 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.341e-05/2.962, allocations: 3.906 kB / 445.3 MB, free: 1.746 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000437/2.962, allocations: 35.92 kB / 445.4 MB, free: 1.711 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.178e-06/2.962, allocations: 160 / 445.4 MB, free: 1.711 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003009/2.962, allocations: 11.94 kB / 445.4 MB, free: 1.699 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.381e-05/2.962, allocations: 8 kB / 445.4 MB, free: 1.691 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.000195/2.963, allocations: 132.9 kB / 445.5 MB, free: 1.555 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001155/2.963, allocations: 23.62 kB / 445.5 MB, free: 1.531 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009527/2.964, allocations: 187.4 kB / 445.7 MB, free: 1.344 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.36e-05/2.964, allocations: 4 kB / 445.7 MB, free: 1.34 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/2.964, allocations: 0 / 445.7 MB, free: 1.34 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.105e-06/2.964, allocations: 0 / 445.7 MB, free: 1.34 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001841/2.966, allocations: 0.5974 MB / 446.3 MB, free: 0.6914 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.03e-05/2.966, allocations: 0 / 446.3 MB, free: 0.6914 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002531/2.966, allocations: 23.98 kB / 446.3 MB, free: 0.668 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.195e-05/2.966, allocations: 0 / 446.3 MB, free: 0.668 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.331e-05/2.966, allocations: 8.281 kB / 446.4 MB, free: 0.6602 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.374e-05/2.966, allocations: 4 kB / 446.4 MB, free: 0.6562 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.039e-05/2.966, allocations: 11.92 kB / 446.4 MB, free: 0.6445 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009242/2.967, allocations: 373.3 kB / 446.7 MB, free: 244 kB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.2508/3.218, allocations: 0.7565 MB / 447.5 MB, free: 130.4 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001677/3.218, allocations: 126.3 kB / 447.6 MB, free: 130.3 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.14e-05/3.218, allocations: 3.938 kB / 447.6 MB, free: 130.3 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000283/3.218, allocations: 10.44 kB / 447.6 MB, free: 130.3 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.559e-05/3.219, allocations: 15.14 kB / 447.6 MB, free: 130.3 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.322e-05/3.219, allocations: 3.969 kB / 447.6 MB, free: 130.3 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0003446/3.219, allocations: 238.9 kB / 447.9 MB, free: 130.2 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001512/3.22, allocations: 87.42 kB / 448 MB, free: 130.2 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.001505/3.222, allocations: 0.5235 MB / 448.5 MB, free: 130 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004942/3.223, allocations: 235.2 kB / 448.7 MB, free: 129.9 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/3.223, allocations: 0 / 448.7 MB, free: 129.9 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001497/3.223, allocations: 66.05 kB / 448.8 MB, free: 129.9 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006025/3.223, allocations: 41.5 kB / 448.8 MB, free: 129.9 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009017/3.224, allocations: 346.3 kB / 449.2 MB, free: 129.8 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003451/3.225, allocations: 0.7908 MB / 450 MB, free: 129.1 MB / 378.7 MB Notification: Performance of SimCode: time 9.81e-07/3.225, allocations: 0 / 450 MB, free: 129.1 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat does not exist to compare? outputFormat=mat