Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test40,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Tables_CombiTimeTable_Test40",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.472/2.472, allocations: 235.1 MB / 242 MB, free: 9.758 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1968/2.669, allocations: 57.2 MB / 299.2 MB, free: 444 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2979/2.967, allocations: 54.85 MB / 354.1 MB, free: 13.4 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1949/3.161, allocations: 81.32 MB / 435.4 MB, free: 11.97 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004385/3.162, allocations: 75.91 kB / 435.5 MB, free: 11.9 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.03601/3.198, allocations: 4.74 MB / 440.2 MB, free: 7.094 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.507e-05/3.198, allocations: 12 kB / 440.2 MB, free: 7.082 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.893e-05/3.198, allocations: 7.906 kB / 440.2 MB, free: 7.074 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000534/3.199, allocations: 211.5 kB / 440.4 MB, free: 6.824 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.616e-05/3.199, allocations: 4 kB / 440.4 MB, free: 6.82 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.347e-05/3.199, allocations: 4 kB / 440.4 MB, free: 6.816 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001252/3.199, allocations: 23.98 kB / 440.5 MB, free: 6.793 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001462/3.199, allocations: 49.62 kB / 440.5 MB, free: 6.738 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.414e-05/3.199, allocations: 0 / 440.5 MB, free: 6.738 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.648e-05/3.199, allocations: 0 / 440.5 MB, free: 6.738 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.381e-05/3.199, allocations: 8 kB / 440.5 MB, free: 6.73 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006059/3.2, allocations: 301.3 kB / 440.8 MB, free: 6.398 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001706/3.2, allocations: 54.59 kB / 440.9 MB, free: 6.336 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.652e-05/3.2, allocations: 16.98 kB / 440.9 MB, free: 6.316 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.838e-05/3.2, allocations: 0 / 440.9 MB, free: 6.316 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001463/3.2, allocations: 67.34 kB / 441 MB, free: 6.238 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.994e-06/3.2, allocations: 0 / 441 MB, free: 6.238 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006498/3.201, allocations: 141.2 kB / 441.1 MB, free: 6.094 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.88e-05/3.201, allocations: 51.41 kB / 441.1 MB, free: 6.031 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003151/3.201, allocations: 193.3 kB / 441.3 MB, free: 5.836 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.769e-05/3.201, allocations: 29.7 kB / 441.4 MB, free: 5.801 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.745e-05/3.202, allocations: 88.14 kB / 441.4 MB, free: 5.711 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.639e-05/3.202, allocations: 27.7 kB / 441.5 MB, free: 5.684 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.097e-05/3.202, allocations: 0 / 441.5 MB, free: 5.684 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001428/3.202, allocations: 326.8 kB / 441.8 MB, free: 5.355 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001227/3.202, allocations: 28 kB / 441.8 MB, free: 5.328 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000141/3.202, allocations: 61.58 kB / 441.9 MB, free: 5.262 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001449/3.202, allocations: 35.98 kB / 441.9 MB, free: 5.227 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/3.202, allocations: 0 / 441.9 MB, free: 5.227 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004841/3.203, allocations: 141.5 kB / 442.1 MB, free: 5.082 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.574e-05/3.203, allocations: 4 kB / 442.1 MB, free: 5.078 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.448e-06/3.203, allocations: 0 / 442.1 MB, free: 5.078 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.026e-05/3.203, allocations: 4 kB / 442.1 MB, free: 5.074 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002857/3.203, allocations: 19.92 kB / 442.1 MB, free: 5.055 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.784e-06/3.203, allocations: 0 / 442.1 MB, free: 5.055 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001678/3.203, allocations: 4 kB / 442.1 MB, free: 5.051 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.797e-05/3.203, allocations: 8 kB / 442.1 MB, free: 5.043 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.0001235/3.204, allocations: 108.9 kB / 442.2 MB, free: 4.93 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.06e-05/3.204, allocations: 15.84 kB / 442.2 MB, free: 4.914 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003827/3.204, allocations: 111 kB / 442.3 MB, free: 4.801 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.169e-06/3.204, allocations: 0 / 442.3 MB, free: 4.801 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.306e-06/3.204, allocations: 3.906 kB / 442.3 MB, free: 4.797 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/3.204, allocations: 0 / 442.3 MB, free: 4.797 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006808/3.205, allocations: 387.9 kB / 442.7 MB, free: 4.371 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.712e-06/3.205, allocations: 3.906 kB / 442.7 MB, free: 4.367 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.563e-05/3.205, allocations: 12.03 kB / 442.7 MB, free: 4.355 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.808e-06/3.205, allocations: 4 kB / 442.7 MB, free: 4.352 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.478e-05/3.205, allocations: 0 / 442.7 MB, free: 4.352 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/3.205, allocations: 0 / 442.7 MB, free: 4.352 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.691e-06/3.205, allocations: 4 kB / 442.7 MB, free: 4.348 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003185/3.205, allocations: 201.9 kB / 442.9 MB, free: 4.125 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005005/3.206, allocations: 0.5846 MB / 443.5 MB, free: 3.512 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001338/3.206, allocations: 104.9 kB / 443.6 MB, free: 3.391 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.925e-05/3.206, allocations: 8 kB / 443.6 MB, free: 3.383 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001547/3.206, allocations: 0 / 443.6 MB, free: 3.383 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.215e-05/3.206, allocations: 15.98 kB / 443.6 MB, free: 3.367 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.909e-05/3.206, allocations: 4 kB / 443.6 MB, free: 3.363 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.000252/3.207, allocations: 144.2 kB / 443.8 MB, free: 3.223 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001434/3.208, allocations: 35.91 kB / 443.8 MB, free: 3.188 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.001184/3.209, allocations: 359.2 kB / 444.2 MB, free: 2.914 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003903/3.21, allocations: 117.6 kB / 444.3 MB, free: 2.793 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/3.21, allocations: 0 / 444.3 MB, free: 2.793 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001013/3.21, allocations: 31.98 kB / 444.3 MB, free: 2.762 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004484/3.21, allocations: 19.86 kB / 444.3 MB, free: 2.742 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006918/3.211, allocations: 184.8 kB / 444.5 MB, free: 2.539 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005021/3.211, allocations: 0.7349 MB / 445.2 MB, free: 1.777 MB / 378.7 MB Notification: Performance of SimCode: time 1.443e-06/3.212, allocations: 0 / 445.2 MB, free: 1.777 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat does not exist to compare? outputFormat=mat