Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test43,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Tables_CombiTimeTable_Test43",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.429/2.429, allocations: 235.1 MB / 242 MB, free: 11.25 MB / 210.8 MB Notification: Performance of FrontEnd - loaded program: time 0.342/2.771, allocations: 57.19 MB / 299.2 MB, free: 5.953 MB / 242.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1556/2.927, allocations: 54.86 MB / 354.1 MB, free: 14.98 MB / 306.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3936/3.32, allocations: 81.31 MB / 435.4 MB, free: 4.641 MB / 338.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003532/3.321, allocations: 74.77 kB / 435.5 MB, free: 4.629 MB / 338.8 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.02249/3.343, allocations: 4.707 MB / 440.2 MB, free: 1.238 MB / 338.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/3.343, allocations: 8 kB / 440.2 MB, free: 1.23 MB / 338.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.491e-05/3.343, allocations: 11.91 kB / 440.2 MB, free: 1.219 MB / 338.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003769/3.344, allocations: 213.6 kB / 440.4 MB, free: 0.9805 MB / 338.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.119e-05/3.344, allocations: 0 / 440.4 MB, free: 0.9805 MB / 338.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.119e-05/3.344, allocations: 4 kB / 440.4 MB, free: 0.9766 MB / 338.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001186/3.344, allocations: 21.55 kB / 440.4 MB, free: 0.9609 MB / 338.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001681/3.344, allocations: 52 kB / 440.5 MB, free: 0.9102 MB / 338.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.72e-05/3.344, allocations: 4 kB / 440.5 MB, free: 0.9062 MB / 338.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.105e-05/3.344, allocations: 0 / 440.5 MB, free: 0.9062 MB / 338.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.802e-05/3.344, allocations: 0 / 440.5 MB, free: 0.9062 MB / 338.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005062/3.345, allocations: 297.4 kB / 440.8 MB, free: 0.6055 MB / 338.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001447/3.345, allocations: 52 kB / 440.8 MB, free: 0.5547 MB / 338.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.864e-05/3.345, allocations: 16.48 kB / 440.8 MB, free: 0.5391 MB / 338.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.075e-05/3.345, allocations: 4 kB / 440.8 MB, free: 0.5352 MB / 338.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001173/3.345, allocations: 68.94 kB / 440.9 MB, free: 476 kB / 338.8 MB Notification: Performance of pre-optimization done (n=6): time 2.344e-06/3.345, allocations: 0 / 440.9 MB, free: 476 kB / 338.8 MB Notification: Performance of matching and sorting (n=8): time 0.0005935/3.346, allocations: 141.3 kB / 441.1 MB, free: 348 kB / 338.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.223e-05/3.346, allocations: 51.41 kB / 441.1 MB, free: 284 kB / 338.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002341/3.346, allocations: 173.6 kB / 441.3 MB, free: 120 kB / 338.8 MB Notification: Performance of collectPreVariables (initialization): time 2.26e-05/3.346, allocations: 29.7 kB / 441.3 MB, free: 84 kB / 338.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.403e-05/3.346, allocations: 99.25 kB / 441.4 MB, free: 15.99 MB / 354.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.389e-05/3.346, allocations: 23.59 kB / 441.4 MB, free: 15.96 MB / 354.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.187e-05/3.346, allocations: 0 / 441.4 MB, free: 15.96 MB / 354.8 MB Notification: Performance of setup shared object (initialization): time 0.000167/3.347, allocations: 326.6 kB / 441.7 MB, free: 15.64 MB / 354.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001216/3.347, allocations: 33.11 kB / 441.8 MB, free: 15.62 MB / 354.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001403/3.347, allocations: 50.91 kB / 441.8 MB, free: 15.58 MB / 354.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001485/3.347, allocations: 37.48 kB / 441.9 MB, free: 15.55 MB / 354.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/3.347, allocations: 7.938 kB / 441.9 MB, free: 15.55 MB / 354.8 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.00043/3.347, allocations: 129 kB / 442 MB, free: 15.44 MB / 354.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/3.347, allocations: 4 kB / 442 MB, free: 15.44 MB / 354.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.271e-05/3.348, allocations: 3.984 kB / 442 MB, free: 15.43 MB / 354.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.336e-05/3.348, allocations: 4 kB / 442 MB, free: 15.43 MB / 354.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001977/3.348, allocations: 15.94 kB / 442 MB, free: 15.41 MB / 354.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/3.348, allocations: 0 / 442 MB, free: 15.41 MB / 354.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001227/3.348, allocations: 7.906 kB / 442 MB, free: 15.41 MB / 354.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.008e-05/3.348, allocations: 10.8 kB / 442 MB, free: 15.4 MB / 354.8 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.0001737/3.348, allocations: 109 kB / 442.1 MB, free: 15.29 MB / 354.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.269e-05/3.348, allocations: 11.81 kB / 442.2 MB, free: 15.27 MB / 354.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000447/3.349, allocations: 108.2 kB / 442.3 MB, free: 15.18 MB / 354.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-06/3.349, allocations: 3.984 kB / 442.3 MB, free: 15.18 MB / 354.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/3.349, allocations: 0 / 442.3 MB, free: 15.18 MB / 354.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/3.349, allocations: 0 / 442.3 MB, free: 15.18 MB / 354.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006665/3.349, allocations: 378.1 kB / 442.6 MB, free: 14.8 MB / 354.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/3.349, allocations: 4.031 kB / 442.6 MB, free: 14.8 MB / 354.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.844e-05/3.35, allocations: 15.19 kB / 442.7 MB, free: 14.79 MB / 354.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.711e-06/3.35, allocations: 0 / 442.7 MB, free: 14.79 MB / 354.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.412e-05/3.35, allocations: 192 / 442.7 MB, free: 14.79 MB / 354.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.04e-05/3.35, allocations: 7.984 kB / 442.7 MB, free: 14.78 MB / 354.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/3.35, allocations: 3.938 kB / 442.7 MB, free: 14.78 MB / 354.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003227/3.35, allocations: 205.9 kB / 442.9 MB, free: 14.57 MB / 354.8 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004992/3.35, allocations: 0.5783 MB / 443.4 MB, free: 13.98 MB / 354.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001307/3.351, allocations: 100.3 kB / 443.5 MB, free: 13.87 MB / 354.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.226e-05/3.351, allocations: 7.984 kB / 443.5 MB, free: 13.86 MB / 354.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000164/3.351, allocations: 4 kB / 443.6 MB, free: 13.86 MB / 354.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.48e-05/3.351, allocations: 7.984 kB / 443.6 MB, free: 13.85 MB / 354.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.884e-05/3.351, allocations: 4 kB / 443.6 MB, free: 13.84 MB / 354.8 MB Notification: Performance of sort global known variables: time 0.000221/3.351, allocations: 142.5 kB / 443.7 MB, free: 13.73 MB / 354.8 MB Notification: Performance of remove unused functions: time 0.00154/3.353, allocations: 43.09 kB / 443.7 MB, free: 13.69 MB / 354.8 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.001295/3.354, allocations: 354.9 kB / 444.1 MB, free: 13.43 MB / 354.8 MB Notification: Performance of simCode: created initialization part: time 0.000487/3.355, allocations: 121.3 kB / 444.2 MB, free: 13.34 MB / 354.8 MB Notification: Performance of simCode: created event and clocks part: time 6.152e-06/3.355, allocations: 0 / 444.2 MB, free: 13.34 MB / 354.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001485/3.355, allocations: 29.88 kB / 444.2 MB, free: 13.32 MB / 354.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005038/3.355, allocations: 14.55 kB / 444.3 MB, free: 13.31 MB / 354.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007345/3.356, allocations: 172.9 kB / 444.4 MB, free: 13.13 MB / 354.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006792/3.357, allocations: 0.7266 MB / 445.1 MB, free: 12.38 MB / 354.8 MB Notification: Performance of SimCode: time 2.044e-06/3.357, allocations: 3.938 kB / 445.2 MB, free: 12.38 MB / 354.8 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Tables.CombiTimeTable.Test43_res.mat does not exist to compare? outputFormat=mat