Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test63,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Tables_CombiTimeTable_Test63",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.312/2.312, allocations: 235.1 MB / 242 MB, free: 9.66 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1329/2.446, allocations: 57.2 MB / 299.2 MB, free: 348 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2618/2.707, allocations: 54.86 MB / 354.1 MB, free: 13.38 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1856/2.893, allocations: 81.16 MB / 435.3 MB, free: 12.08 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002903/2.893, allocations: 75.95 kB / 435.3 MB, free: 12.01 MB / 378.7 MB [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2331:7-2332:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableValueNoDer. [/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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.02369/2.917, allocations: 4.778 MB / 440.1 MB, free: 7.16 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.62e-05/2.917, allocations: 8 kB / 440.1 MB, free: 7.152 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.163e-05/2.917, allocations: 15.81 kB / 440.1 MB, free: 7.137 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005024/2.918, allocations: 218.7 kB / 440.3 MB, free: 6.883 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.931e-05/2.918, allocations: 0 / 440.3 MB, free: 6.883 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.839e-05/2.918, allocations: 7.984 kB / 440.3 MB, free: 6.875 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000107/2.918, allocations: 12 kB / 440.4 MB, free: 6.863 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001281/2.918, allocations: 53.66 kB / 440.4 MB, free: 6.805 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/2.918, allocations: 4 kB / 440.4 MB, free: 6.801 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.298e-05/2.918, allocations: 0 / 440.4 MB, free: 6.801 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/2.918, allocations: 0 / 440.4 MB, free: 6.801 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003237/2.918, allocations: 190.1 kB / 440.6 MB, free: 6.578 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001582/2.919, allocations: 46.56 kB / 440.6 MB, free: 6.523 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.327e-05/2.919, allocations: 16.86 kB / 440.7 MB, free: 6.504 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.056e-05/2.919, allocations: 4 kB / 440.7 MB, free: 6.5 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001375/2.919, allocations: 59.5 kB / 440.7 MB, free: 6.43 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 2.585e-06/2.919, allocations: 0 / 440.7 MB, free: 6.43 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003139/2.919, allocations: 81.48 kB / 440.8 MB, free: 6.344 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.481e-05/2.919, allocations: 51.41 kB / 440.9 MB, free: 6.281 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004291/2.92, allocations: 218.9 kB / 441.1 MB, free: 6.059 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.735e-05/2.92, allocations: 29.7 kB / 441.1 MB, free: 6.023 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.505e-05/2.92, allocations: 104 kB / 441.2 MB, free: 5.918 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.97e-05/2.92, allocations: 11.84 kB / 441.2 MB, free: 5.906 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.929e-06/2.92, allocations: 0 / 441.2 MB, free: 5.906 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002272/2.92, allocations: 326.8 kB / 441.5 MB, free: 5.578 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001093/2.92, allocations: 31.92 kB / 441.6 MB, free: 5.547 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001267/2.92, allocations: 41.72 kB / 441.6 MB, free: 5.5 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001286/2.921, allocations: 31.92 kB / 441.6 MB, free: 5.469 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/2.921, allocations: 0 / 441.6 MB, free: 5.469 MB / 378.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003748/2.921, allocations: 121.4 kB / 441.8 MB, free: 5.344 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.167e-05/2.921, allocations: 11.94 kB / 441.8 MB, free: 5.332 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/2.921, allocations: 0 / 441.8 MB, free: 5.332 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.796e-05/2.921, allocations: 3.906 kB / 441.8 MB, free: 5.328 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001458/2.921, allocations: 11.98 kB / 441.8 MB, free: 5.316 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.127e-06/2.921, allocations: 4 kB / 441.8 MB, free: 5.312 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001138/2.921, allocations: 4 kB / 441.8 MB, free: 5.309 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.972e-05/2.921, allocations: 4.078 kB / 441.8 MB, free: 5.305 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 (8): * Single equations (assignments): 7 * 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.0001106/2.921, allocations: 112.9 kB / 441.9 MB, free: 5.188 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.083e-05/2.922, allocations: 11.81 kB / 441.9 MB, free: 5.176 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002714/2.922, allocations: 86.7 kB / 442 MB, free: 5.09 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.338e-06/2.922, allocations: 7.984 kB / 442 MB, free: 5.082 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/2.922, allocations: 0 / 442 MB, free: 5.082 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/2.922, allocations: 0 / 442 MB, free: 5.082 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002204/2.922, allocations: 170.2 kB / 442.2 MB, free: 4.879 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/2.922, allocations: 3.906 kB / 442.2 MB, free: 4.875 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.86e-05/2.922, allocations: 7.984 kB / 442.2 MB, free: 4.867 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.508e-06/2.922, allocations: 4 kB / 442.2 MB, free: 4.863 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.188e-05/2.922, allocations: 4 kB / 442.2 MB, free: 4.859 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.529e-06/2.922, allocations: 3.984 kB / 442.2 MB, free: 4.855 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/2.922, allocations: 0 / 442.2 MB, free: 4.855 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002292/2.922, allocations: 108.8 kB / 442.3 MB, free: 4.73 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000413/2.923, allocations: 489.6 kB / 442.8 MB, free: 4.23 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001346/2.923, allocations: 108.8 kB / 442.9 MB, free: 4.105 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.529e-05/2.923, allocations: 4.062 kB / 442.9 MB, free: 4.102 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.425e-05/2.923, allocations: 7.984 kB / 442.9 MB, free: 4.094 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.499e-05/2.923, allocations: 7.906 kB / 442.9 MB, free: 4.086 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.144e-05/2.923, allocations: 4 kB / 442.9 MB, free: 4.082 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0002882/2.924, allocations: 187 kB / 443.1 MB, free: 3.898 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001356/2.925, allocations: 35.98 kB / 443.1 MB, free: 3.863 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.001326/2.926, allocations: 315.3 kB / 443.4 MB, free: 3.629 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003218/2.927, allocations: 97.7 kB / 443.5 MB, free: 3.527 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/2.927, allocations: 0 / 443.5 MB, free: 3.527 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.878e-05/2.927, allocations: 23.92 kB / 443.6 MB, free: 3.504 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003814/2.927, allocations: 20.11 kB / 443.6 MB, free: 3.48 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007553/2.928, allocations: 192 kB / 443.8 MB, free: 3.266 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005812/2.929, allocations: 0.7394 MB / 444.5 MB, free: 2.504 MB / 378.7 MB Notification: Performance of SimCode: time 1.352e-06/2.929, allocations: 0 / 444.5 MB, free: 2.504 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Tables.CombiTimeTable.Test63_res.mat does not exist to compare? outputFormat=mat