Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test81,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Tables_CombiTimeTable_Test81",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.404/2.404, allocations: 235 MB / 242 MB, free: 9.648 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1671/2.571, allocations: 57.21 MB / 299.2 MB, free: 332 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2711/2.842, allocations: 54.86 MB / 354.1 MB, free: 13.37 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1585/3.001, allocations: 81.4 MB / 435.5 MB, free: 11.84 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002973/3.001, allocations: 75.95 kB / 435.6 MB, free: 11.77 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.0353/3.036, allocations: 7.095 MB / 442.7 MB, free: 4.594 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.636e-05/3.036, allocations: 8 kB / 442.7 MB, free: 4.586 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.5e-05/3.036, allocations: 15.81 kB / 442.7 MB, free: 4.57 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006327/3.037, allocations: 234.8 kB / 442.9 MB, free: 4.301 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.235e-05/3.037, allocations: 0 / 442.9 MB, free: 4.301 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.216e-05/3.037, allocations: 8 kB / 442.9 MB, free: 4.293 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001503/3.037, allocations: 31.92 kB / 442.9 MB, free: 4.262 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002353/3.038, allocations: 97.08 kB / 443 MB, free: 4.148 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/3.038, allocations: 3.906 kB / 443 MB, free: 4.145 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.89e-05/3.038, allocations: 7.984 kB / 443 MB, free: 4.137 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.351e-06/3.038, allocations: 3.938 kB / 443.1 MB, free: 4.133 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003533/3.038, allocations: 206.9 kB / 443.3 MB, free: 3.891 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002721/3.038, allocations: 97.3 kB / 443.4 MB, free: 3.777 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001316/3.038, allocations: 41.8 kB / 443.4 MB, free: 3.73 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.163e-05/3.038, allocations: 3.938 kB / 443.4 MB, free: 3.727 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002207/3.039, allocations: 101 kB / 443.5 MB, free: 3.609 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 4.909e-06/3.039, allocations: 4 kB / 443.5 MB, free: 3.605 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004425/3.039, allocations: 109.5 kB / 443.6 MB, free: 3.492 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.196e-05/3.039, allocations: 136.5 kB / 443.7 MB, free: 3.328 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003075/3.04, allocations: 178.8 kB / 443.9 MB, free: 3.145 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.689e-05/3.04, allocations: 29.7 kB / 443.9 MB, free: 3.109 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.738e-05/3.04, allocations: 96.41 kB / 444 MB, free: 3.008 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.582e-05/3.04, allocations: 27.64 kB / 444.1 MB, free: 2.98 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.633e-05/3.04, allocations: 4 kB / 444.1 MB, free: 2.977 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001489/3.04, allocations: 326.7 kB / 444.4 MB, free: 2.648 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001606/3.04, allocations: 47.98 kB / 444.4 MB, free: 2.602 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001947/3.04, allocations: 85.14 kB / 444.5 MB, free: 2.5 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001954/3.041, allocations: 43.98 kB / 444.6 MB, free: 2.457 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/3.041, allocations: 3.938 kB / 444.6 MB, free: 2.453 MB / 378.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005398/3.041, allocations: 177.4 kB / 444.7 MB, free: 2.273 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.462e-05/3.041, allocations: 8 kB / 444.7 MB, free: 2.266 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.054e-06/3.041, allocations: 0 / 444.7 MB, free: 2.266 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/3.041, allocations: 0 / 444.7 MB, free: 2.266 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002514/3.042, allocations: 31.92 kB / 444.8 MB, free: 2.234 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.224e-06/3.042, allocations: 256 / 444.8 MB, free: 2.234 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001906/3.042, allocations: 23.73 kB / 444.8 MB, free: 2.211 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.163e-05/3.042, allocations: 12 kB / 444.8 MB, free: 2.199 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.0001309/3.042, allocations: 113 kB / 444.9 MB, free: 2.082 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.133e-05/3.042, allocations: 15.81 kB / 444.9 MB, free: 2.066 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000472/3.042, allocations: 138.7 kB / 445.1 MB, free: 1.926 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.5e-06/3.042, allocations: 0 / 445.1 MB, free: 1.926 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/3.042, allocations: 0 / 445.1 MB, free: 1.926 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.462e-05/3.043, allocations: 7.906 kB / 445.1 MB, free: 1.918 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002686/3.043, allocations: 194.1 kB / 445.3 MB, free: 1.691 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/3.043, allocations: 0 / 445.3 MB, free: 1.691 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001012/3.043, allocations: 15.92 kB / 445.3 MB, free: 1.676 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.16e-06/3.043, allocations: 4 kB / 445.3 MB, free: 1.672 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.458e-05/3.043, allocations: 7.984 kB / 445.3 MB, free: 1.664 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.849e-06/3.043, allocations: 3.906 kB / 445.3 MB, free: 1.66 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.579e-06/3.043, allocations: 0 / 445.3 MB, free: 1.66 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003917/3.043, allocations: 163.4 kB / 445.5 MB, free: 1.473 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005673/3.044, allocations: 0.5506 MB / 446 MB, free: 0.8906 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001508/3.044, allocations: 104.8 kB / 446.1 MB, free: 0.7695 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.655e-05/3.044, allocations: 7.984 kB / 446.1 MB, free: 0.7617 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001543/3.044, allocations: 4 kB / 446.1 MB, free: 0.7578 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.551e-05/3.044, allocations: 15.89 kB / 446.1 MB, free: 0.7422 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.108e-05/3.045, allocations: 8 kB / 446.1 MB, free: 0.7344 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0002121/3.045, allocations: 147.1 kB / 446.3 MB, free: 0.5898 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001517/3.046, allocations: 75.92 kB / 446.4 MB, free: 0.5156 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.001897/3.048, allocations: 0.5544 MB / 446.9 MB, free: 56 kB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.145/3.193, allocations: 158 kB / 447.1 MB, free: 130.1 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.283e-06/3.193, allocations: 0 / 447.1 MB, free: 130.1 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001469/3.193, allocations: 45.7 kB / 447.1 MB, free: 130.1 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005316/3.194, allocations: 40.03 kB / 447.2 MB, free: 130.1 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006245/3.195, allocations: 182.4 kB / 447.3 MB, free: 130 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002805/3.195, allocations: 0.7507 MB / 448.1 MB, free: 129.3 MB / 378.7 MB Notification: Performance of SimCode: time 1.123e-06/3.195, allocations: 0 / 448.1 MB, free: 129.3 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat does not exist to compare? outputFormat=mat