Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test46,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Tables_CombiTimeTable_Test46",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.609/2.609, allocations: 235 MB / 242 MB, free: 9.766 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1552/2.764, allocations: 57.21 MB / 299.2 MB, free: 440 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2709/3.035, allocations: 54.85 MB / 354.1 MB, free: 13.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1638/3.199, allocations: 81.31 MB / 435.4 MB, free: 11.98 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000292/3.199, allocations: 71.91 kB / 435.5 MB, free: 11.91 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.02672/3.226, allocations: 4.941 MB / 440.4 MB, free: 6.902 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.836e-05/3.226, allocations: 8 kB / 440.4 MB, free: 6.895 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.609e-05/3.226, allocations: 19.8 kB / 440.4 MB, free: 6.875 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005015/3.226, allocations: 226.7 kB / 440.7 MB, free: 6.613 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.045e-05/3.226, allocations: 0 / 440.7 MB, free: 6.613 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.995e-05/3.226, allocations: 7.984 kB / 440.7 MB, free: 6.605 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001264/3.227, allocations: 23.98 kB / 440.7 MB, free: 6.582 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001439/3.227, allocations: 49.67 kB / 440.7 MB, free: 6.527 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.476e-05/3.227, allocations: 0 / 440.7 MB, free: 6.527 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.818e-05/3.227, allocations: 4 kB / 440.7 MB, free: 6.523 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/3.227, allocations: 0 / 440.7 MB, free: 6.523 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000624/3.227, allocations: 309.4 kB / 441 MB, free: 6.184 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001742/3.228, allocations: 54.62 kB / 441.1 MB, free: 6.121 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.279e-05/3.228, allocations: 20.89 kB / 441.1 MB, free: 6.098 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.924e-05/3.228, allocations: 0 / 441.1 MB, free: 6.098 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001342/3.228, allocations: 59.41 kB / 441.2 MB, free: 6.027 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.174e-06/3.228, allocations: 8 kB / 441.2 MB, free: 6.02 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006796/3.229, allocations: 145.1 kB / 441.3 MB, free: 5.871 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.051e-05/3.229, allocations: 55.41 kB / 441.4 MB, free: 5.805 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004308/3.229, allocations: 222.9 kB / 441.6 MB, free: 5.578 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.167e-05/3.229, allocations: 25.7 kB / 441.6 MB, free: 5.547 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.987e-05/3.229, allocations: 100 kB / 441.7 MB, free: 5.445 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.56e-05/3.229, allocations: 27.64 kB / 441.7 MB, free: 5.418 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.122e-05/3.229, allocations: 0 / 441.7 MB, free: 5.418 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.00017/3.23, allocations: 330.8 kB / 442.1 MB, free: 5.086 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001224/3.23, allocations: 39.92 kB / 442.1 MB, free: 5.047 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001404/3.23, allocations: 45.72 kB / 442.2 MB, free: 4.996 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001812/3.23, allocations: 35.98 kB / 442.2 MB, free: 4.961 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/3.23, allocations: 4 kB / 442.2 MB, free: 4.957 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004269/3.231, allocations: 145.4 kB / 442.3 MB, free: 4.809 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/3.231, allocations: 4 kB / 442.3 MB, free: 4.805 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.728e-06/3.231, allocations: 3.984 kB / 442.3 MB, free: 4.801 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/3.231, allocations: 4.031 kB / 442.3 MB, free: 4.797 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001837/3.231, allocations: 16 kB / 442.4 MB, free: 4.781 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.125e-06/3.231, allocations: 3.938 kB / 442.4 MB, free: 4.777 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001176/3.231, allocations: 4 kB / 442.4 MB, free: 4.773 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.56e-05/3.231, allocations: 7.984 kB / 442.4 MB, free: 4.766 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.0001149/3.231, allocations: 112.9 kB / 442.5 MB, free: 4.648 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.324e-05/3.231, allocations: 11.81 kB / 442.5 MB, free: 4.637 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003731/3.232, allocations: 111 kB / 442.6 MB, free: 4.527 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.056e-06/3.232, allocations: 4 kB / 442.6 MB, free: 4.523 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/3.232, allocations: 0 / 442.6 MB, free: 4.523 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.787e-06/3.232, allocations: 0 / 442.6 MB, free: 4.523 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007766/3.232, allocations: 395.9 kB / 443 MB, free: 4.09 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/3.232, allocations: 0 / 443 MB, free: 4.09 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.237e-05/3.233, allocations: 11.98 kB / 443 MB, free: 4.078 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.48e-06/3.233, allocations: 0 / 443 MB, free: 4.078 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.147e-05/3.233, allocations: 8 kB / 443 MB, free: 4.07 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/3.233, allocations: 4.031 kB / 443 MB, free: 4.066 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/3.233, allocations: 0 / 443 MB, free: 4.066 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003363/3.233, allocations: 209.8 kB / 443.2 MB, free: 3.836 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005402/3.234, allocations: 0.5883 MB / 443.8 MB, free: 3.219 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000165/3.234, allocations: 104.9 kB / 443.9 MB, free: 3.098 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.346e-05/3.234, allocations: 8.094 kB / 443.9 MB, free: 3.09 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001574/3.234, allocations: 7.984 kB / 443.9 MB, free: 3.082 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.427e-05/3.234, allocations: 4 kB / 443.9 MB, free: 3.078 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.994e-05/3.234, allocations: 8 kB / 443.9 MB, free: 3.07 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0003008/3.234, allocations: 187 kB / 444.1 MB, free: 2.887 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001937/3.236, allocations: 47.92 kB / 444.2 MB, free: 2.84 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.002331/3.239, allocations: 340.9 kB / 444.5 MB, free: 2.59 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005623/3.239, allocations: 121.6 kB / 444.6 MB, free: 2.465 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.661e-06/3.239, allocations: 0 / 444.6 MB, free: 2.465 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001668/3.239, allocations: 31.94 kB / 444.7 MB, free: 2.434 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008302/3.24, allocations: 24.03 kB / 444.7 MB, free: 2.406 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001177/3.242, allocations: 221.1 kB / 444.9 MB, free: 2.164 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007351/3.242, allocations: 0.7463 MB / 445.6 MB, free: 1.395 MB / 378.7 MB Notification: Performance of SimCode: time 1.924e-06/3.242, allocations: 0 / 445.6 MB, free: 1.395 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Tables.CombiTimeTable.Test46_res.mat does not exist to compare? outputFormat=mat