Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test42,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Tables_CombiTimeTable_Test42",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.646/2.646, allocations: 235 MB / 242 MB, free: 9.77 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1998/2.845, allocations: 57.21 MB / 299.2 MB, free: 444 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3039/3.149, allocations: 54.85 MB / 354.1 MB, free: 13.4 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1727/3.322, allocations: 81.31 MB / 435.4 MB, free: 11.98 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003657/3.323, allocations: 79.89 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.03054/3.353, allocations: 4.689 MB / 440.2 MB, free: 7.141 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.709e-05/3.353, allocations: 12 kB / 440.2 MB, free: 7.129 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001624/3.354, allocations: 11.91 kB / 440.2 MB, free: 7.117 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008292/3.354, allocations: 210.8 kB / 440.4 MB, free: 6.871 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.776e-05/3.354, allocations: 4 kB / 440.4 MB, free: 6.867 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.01e-05/3.355, allocations: 7.984 kB / 440.4 MB, free: 6.859 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001816/3.355, allocations: 16 kB / 440.4 MB, free: 6.844 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003409/3.355, allocations: 57.67 kB / 440.5 MB, free: 6.781 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.761e-05/3.355, allocations: 3.938 kB / 440.5 MB, free: 6.777 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.674e-05/3.355, allocations: 0 / 440.5 MB, free: 6.777 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.004e-05/3.355, allocations: 4 kB / 440.5 MB, free: 6.773 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008842/3.356, allocations: 289.4 kB / 440.8 MB, free: 6.453 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001809/3.356, allocations: 50.69 kB / 440.8 MB, free: 6.395 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.436e-05/3.357, allocations: 20.97 kB / 440.8 MB, free: 6.371 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.945e-05/3.357, allocations: 0 / 440.8 MB, free: 6.371 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00016/3.357, allocations: 71.25 kB / 440.9 MB, free: 6.289 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.495e-06/3.357, allocations: 0 / 440.9 MB, free: 6.289 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007435/3.357, allocations: 145.2 kB / 441 MB, free: 6.141 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.827e-05/3.358, allocations: 51.41 kB / 441.1 MB, free: 6.078 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003073/3.358, allocations: 170.4 kB / 441.3 MB, free: 5.898 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.142e-05/3.358, allocations: 29.7 kB / 441.3 MB, free: 5.863 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.98e-05/3.358, allocations: 96.12 kB / 441.4 MB, free: 5.766 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.142e-05/3.358, allocations: 23.66 kB / 441.4 MB, free: 5.742 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.125e-05/3.358, allocations: 0 / 441.4 MB, free: 5.742 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001635/3.358, allocations: 330.7 kB / 441.7 MB, free: 5.41 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001216/3.358, allocations: 28 kB / 441.8 MB, free: 5.383 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000239/3.359, allocations: 53.64 kB / 441.8 MB, free: 5.324 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001606/3.359, allocations: 39.98 kB / 441.8 MB, free: 5.285 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/3.359, allocations: 3.938 kB / 441.9 MB, free: 5.281 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006055/3.359, allocations: 137.5 kB / 442 MB, free: 5.141 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.338e-05/3.359, allocations: 4 kB / 442 MB, free: 5.137 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.151e-05/3.36, allocations: 0 / 442 MB, free: 5.137 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.678e-05/3.36, allocations: 0 / 442 MB, free: 5.137 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002787/3.36, allocations: 23.92 kB / 442 MB, free: 5.113 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/3.36, allocations: 0 / 442 MB, free: 5.113 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001775/3.36, allocations: 7.906 kB / 442 MB, free: 5.105 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.395e-05/3.36, allocations: 4 kB / 442 MB, free: 5.102 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.0001283/3.36, allocations: 109 kB / 442.1 MB, free: 4.988 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.243e-05/3.36, allocations: 19.83 kB / 442.1 MB, free: 4.969 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004022/3.361, allocations: 103 kB / 442.2 MB, free: 4.867 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/3.361, allocations: 0 / 442.2 MB, free: 4.867 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/3.361, allocations: 0 / 442.2 MB, free: 4.867 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/3.361, allocations: 0 / 442.2 MB, free: 4.867 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007534/3.362, allocations: 379.8 kB / 442.6 MB, free: 4.449 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.932e-06/3.362, allocations: 0 / 442.6 MB, free: 4.449 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001047/3.362, allocations: 12 kB / 442.6 MB, free: 4.438 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.945e-06/3.362, allocations: 4.031 kB / 442.6 MB, free: 4.434 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.548e-05/3.362, allocations: 0 / 442.6 MB, free: 4.434 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/3.362, allocations: 0 / 442.6 MB, free: 4.434 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/3.362, allocations: 4.188 kB / 442.6 MB, free: 4.43 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003392/3.362, allocations: 205.9 kB / 442.8 MB, free: 4.203 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004705/3.363, allocations: 0.5886 MB / 443.4 MB, free: 3.586 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001322/3.363, allocations: 100.9 kB / 443.5 MB, free: 3.469 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.404e-05/3.363, allocations: 0 / 443.5 MB, free: 3.469 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002027/3.363, allocations: 8.078 kB / 443.5 MB, free: 3.461 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.959e-05/3.363, allocations: 7.938 kB / 443.5 MB, free: 3.453 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.04e-05/3.363, allocations: 11.98 kB / 443.6 MB, free: 3.441 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0002023/3.363, allocations: 132 kB / 443.7 MB, free: 3.312 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002142/3.365, allocations: 51.83 kB / 443.7 MB, free: 3.262 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.001761/3.367, allocations: 348.8 kB / 444.1 MB, free: 3 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005454/3.368, allocations: 125.6 kB / 444.2 MB, free: 2.871 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/3.368, allocations: 0 / 444.2 MB, free: 2.871 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001387/3.368, allocations: 20 kB / 444.2 MB, free: 2.852 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005212/3.369, allocations: 23.84 kB / 444.2 MB, free: 2.828 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006352/3.369, allocations: 169 kB / 444.4 MB, free: 2.641 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000401/3.37, allocations: 0.731 MB / 445.1 MB, free: 1.883 MB / 378.7 MB Notification: Performance of SimCode: time 1.062e-06/3.37, allocations: 0 / 445.1 MB, free: 1.883 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Tables.CombiTimeTable.Test42_res.mat does not exist to compare? outputFormat=mat