Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test8,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Tables_CombiTimeTable_Test8",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.501/2.501, allocations: 235.1 MB / 242 MB, free: 9.734 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1957/2.697, allocations: 57.2 MB / 299.2 MB, free: 416 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3382/3.035, allocations: 54.85 MB / 354.1 MB, free: 13.38 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1665/3.202, allocations: 81.33 MB / 435.4 MB, free: 11.94 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003122/3.202, allocations: 75.95 kB / 435.5 MB, free: 11.87 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.03058/3.233, allocations: 5.131 MB / 440.6 MB, free: 6.668 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.306e-05/3.233, allocations: 8 kB / 440.6 MB, free: 6.66 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.625e-05/3.233, allocations: 15.8 kB / 440.6 MB, free: 6.645 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005145/3.233, allocations: 222.8 kB / 440.9 MB, free: 6.387 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.194e-05/3.233, allocations: 4 kB / 440.9 MB, free: 6.383 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.686e-05/3.233, allocations: 8 kB / 440.9 MB, free: 6.375 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001739/3.234, allocations: 31.92 kB / 440.9 MB, free: 6.344 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001668/3.234, allocations: 57.67 kB / 441 MB, free: 6.281 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.5e-05/3.234, allocations: 0 / 441 MB, free: 6.281 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.949e-05/3.234, allocations: 3.984 kB / 441 MB, free: 6.277 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.128e-06/3.234, allocations: 4 kB / 441 MB, free: 6.273 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000712/3.235, allocations: 317.2 kB / 441.3 MB, free: 5.926 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000253/3.235, allocations: 70.75 kB / 441.3 MB, free: 5.848 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001/3.235, allocations: 32.81 kB / 441.4 MB, free: 5.812 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.991e-05/3.235, allocations: 0 / 441.4 MB, free: 5.812 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001656/3.235, allocations: 63.41 kB / 441.4 MB, free: 5.738 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 2.184e-06/3.235, allocations: 3.938 kB / 441.4 MB, free: 5.734 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.000858/3.236, allocations: 177 kB / 441.6 MB, free: 5.555 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.33e-05/3.236, allocations: 59.41 kB / 441.7 MB, free: 5.484 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004112/3.237, allocations: 213.5 kB / 441.9 MB, free: 5.27 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.538e-05/3.237, allocations: 25.7 kB / 441.9 MB, free: 5.238 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.55e-05/3.237, allocations: 108 kB / 442 MB, free: 5.129 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.879e-05/3.237, allocations: 23.7 kB / 442 MB, free: 5.105 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.341e-05/3.237, allocations: 0 / 442 MB, free: 5.105 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001653/3.237, allocations: 322.8 kB / 442.3 MB, free: 4.781 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001428/3.237, allocations: 39.98 kB / 442.4 MB, free: 4.742 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001563/3.237, allocations: 53.72 kB / 442.4 MB, free: 4.684 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001763/3.238, allocations: 55.97 kB / 442.5 MB, free: 4.629 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/3.238, allocations: 0 / 442.5 MB, free: 4.629 MB / 378.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004783/3.238, allocations: 149.4 kB / 442.6 MB, free: 4.477 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/3.238, allocations: 8 kB / 442.6 MB, free: 4.469 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/3.238, allocations: 0 / 442.6 MB, free: 4.469 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.095e-05/3.238, allocations: 3.906 kB / 442.6 MB, free: 4.465 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002203/3.238, allocations: 19.98 kB / 442.7 MB, free: 4.445 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/3.238, allocations: 4.031 kB / 442.7 MB, free: 4.441 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001253/3.239, allocations: 8.031 kB / 442.7 MB, free: 4.434 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.108e-05/3.239, allocations: 7.984 kB / 442.7 MB, free: 4.426 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 (12): * Single equations (assignments): 11 * 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.0001204/3.239, allocations: 116.9 kB / 442.8 MB, free: 4.305 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.919e-05/3.239, allocations: 15.81 kB / 442.8 MB, free: 4.289 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004448/3.239, allocations: 127.2 kB / 442.9 MB, free: 4.164 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/3.239, allocations: 0 / 442.9 MB, free: 4.164 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.255e-06/3.239, allocations: 7.906 kB / 442.9 MB, free: 4.156 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.324e-06/3.239, allocations: 7.984 kB / 443 MB, free: 4.148 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008524/3.24, allocations: 419.7 kB / 443.4 MB, free: 3.691 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/3.24, allocations: 0 / 443.4 MB, free: 3.691 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001256/3.24, allocations: 19.98 kB / 443.4 MB, free: 3.672 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.833e-06/3.24, allocations: 0 / 443.4 MB, free: 3.672 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.966e-05/3.24, allocations: 4 kB / 443.4 MB, free: 3.668 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/3.24, allocations: 0 / 443.4 MB, free: 3.668 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.17e-06/3.24, allocations: 3.984 kB / 443.4 MB, free: 3.664 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003852/3.241, allocations: 230.2 kB / 443.6 MB, free: 3.414 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005125/3.241, allocations: 0.6036 MB / 444.2 MB, free: 2.781 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001416/3.241, allocations: 108.9 kB / 444.3 MB, free: 2.656 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.281e-05/3.242, allocations: 3.984 kB / 444.3 MB, free: 2.652 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001678/3.242, allocations: 4 kB / 444.3 MB, free: 2.648 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.508e-05/3.242, allocations: 7.984 kB / 444.3 MB, free: 2.641 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.996e-05/3.242, allocations: 4 kB / 444.3 MB, free: 2.637 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0002898/3.242, allocations: 171.2 kB / 444.5 MB, free: 2.469 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001474/3.244, allocations: 47.91 kB / 444.6 MB, free: 2.422 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 (11): * Single equations (assignments): 9 * 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.00124/3.245, allocations: 354.2 kB / 444.9 MB, free: 2.16 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004621/3.245, allocations: 137.6 kB / 445 MB, free: 2.02 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/3.245, allocations: 0 / 445 MB, free: 2.02 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000128/3.246, allocations: 40.05 kB / 445.1 MB, free: 1.98 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004714/3.246, allocations: 20.03 kB / 445.1 MB, free: 1.957 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008142/3.247, allocations: 217.2 kB / 445.3 MB, free: 1.719 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004966/3.247, allocations: 0.7465 MB / 446.1 MB, free: 0.9453 MB / 378.7 MB Notification: Performance of SimCode: time 1.342e-06/3.247, allocations: 0 / 446.1 MB, free: 0.9453 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat does not exist to compare? outputFormat=mat