Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test29,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Tables_CombiTimeTable_Test29",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.642/2.642, allocations: 235.1 MB / 242 MB, free: 9.758 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1927/2.835, allocations: 57.2 MB / 299.2 MB, free: 440 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.287/3.122, allocations: 54.85 MB / 354.1 MB, free: 13.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.18/3.302, allocations: 81.32 MB / 435.4 MB, free: 11.97 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003009/3.303, allocations: 79.89 kB / 435.5 MB, free: 11.89 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.02582/3.328, allocations: 4.619 MB / 440.1 MB, free: 7.207 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.972e-05/3.328, allocations: 12 kB / 440.1 MB, free: 7.195 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.652e-05/3.328, allocations: 7.906 kB / 440.1 MB, free: 7.188 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004717/3.329, allocations: 218.7 kB / 440.3 MB, free: 6.934 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.088e-05/3.329, allocations: 0 / 440.3 MB, free: 6.934 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.254e-05/3.329, allocations: 7.906 kB / 440.3 MB, free: 6.926 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001196/3.329, allocations: 19.98 kB / 440.4 MB, free: 6.906 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001438/3.329, allocations: 49.69 kB / 440.4 MB, free: 6.852 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.424e-05/3.329, allocations: 0 / 440.4 MB, free: 6.852 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.002e-05/3.329, allocations: 3.984 kB / 440.4 MB, free: 6.848 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/3.329, allocations: 4 kB / 440.4 MB, free: 6.844 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006341/3.33, allocations: 293.3 kB / 440.7 MB, free: 6.52 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001849/3.33, allocations: 54.62 kB / 440.8 MB, free: 6.457 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.966e-05/3.33, allocations: 20.98 kB / 440.8 MB, free: 6.434 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.006e-05/3.33, allocations: 0 / 440.8 MB, free: 6.434 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001486/3.331, allocations: 63.41 kB / 440.8 MB, free: 6.359 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 9.318e-06/3.331, allocations: 3.984 kB / 440.8 MB, free: 6.355 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006895/3.331, allocations: 137.2 kB / 441 MB, free: 6.215 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.308e-05/3.331, allocations: 51.41 kB / 441 MB, free: 6.152 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000386/3.332, allocations: 169.2 kB / 441.2 MB, free: 5.98 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.065e-05/3.332, allocations: 25.7 kB / 441.2 MB, free: 5.949 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001131/3.332, allocations: 99.92 kB / 441.3 MB, free: 5.848 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.821e-05/3.332, allocations: 19.72 kB / 441.3 MB, free: 5.828 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.758e-05/3.332, allocations: 4 kB / 441.3 MB, free: 5.824 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002537/3.332, allocations: 330.8 kB / 441.7 MB, free: 5.492 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001973/3.333, allocations: 32 kB / 441.7 MB, free: 5.461 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002657/3.333, allocations: 49.7 kB / 441.7 MB, free: 5.406 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002528/3.333, allocations: 35.98 kB / 441.8 MB, free: 5.371 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.554e-06/3.333, allocations: 0 / 441.8 MB, free: 5.371 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0007243/3.334, allocations: 145.4 kB / 441.9 MB, free: 5.223 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.713e-05/3.334, allocations: 8.031 kB / 441.9 MB, free: 5.215 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/3.334, allocations: 0 / 441.9 MB, free: 5.215 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.74e-05/3.334, allocations: 4 kB / 441.9 MB, free: 5.211 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000275/3.334, allocations: 15.98 kB / 441.9 MB, free: 5.195 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.997e-06/3.334, allocations: 0 / 441.9 MB, free: 5.195 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001759/3.335, allocations: 4 kB / 441.9 MB, free: 5.191 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.329e-05/3.335, allocations: 7.938 kB / 442 MB, free: 5.184 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.0001729/3.335, allocations: 105 kB / 442.1 MB, free: 5.074 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.187e-05/3.335, allocations: 15.8 kB / 442.1 MB, free: 5.059 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005679/3.335, allocations: 110.1 kB / 442.2 MB, free: 4.941 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.945e-06/3.336, allocations: 0 / 442.2 MB, free: 4.941 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.675e-06/3.336, allocations: 0 / 442.2 MB, free: 4.941 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.215e-06/3.336, allocations: 0 / 442.2 MB, free: 4.941 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001245/3.337, allocations: 379.9 kB / 442.6 MB, free: 4.523 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.833e-06/3.337, allocations: 0 / 442.6 MB, free: 4.523 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001778/3.337, allocations: 11.98 kB / 442.6 MB, free: 4.512 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.896e-05/3.337, allocations: 4.031 kB / 442.6 MB, free: 4.508 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.02e-05/3.337, allocations: 7.906 kB / 442.6 MB, free: 4.5 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.501e-06/3.337, allocations: 0 / 442.6 MB, free: 4.5 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/3.337, allocations: 0 / 442.6 MB, free: 4.5 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006019/3.338, allocations: 205.9 kB / 442.8 MB, free: 4.273 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0008059/3.339, allocations: 0.5844 MB / 443.4 MB, free: 3.66 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001883/3.339, allocations: 97 kB / 443.5 MB, free: 3.547 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.142e-05/3.339, allocations: 4 kB / 443.5 MB, free: 3.543 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002775/3.339, allocations: 192 / 443.5 MB, free: 3.543 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.655e-05/3.339, allocations: 15.89 kB / 443.5 MB, free: 3.527 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.471e-05/3.339, allocations: 12 kB / 443.5 MB, free: 3.516 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.000334/3.34, allocations: 131.2 kB / 443.6 MB, free: 3.387 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002992/3.343, allocations: 39.94 kB / 443.7 MB, free: 3.348 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.001926/3.345, allocations: 347.4 kB / 444 MB, free: 3.09 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005467/3.345, allocations: 121.6 kB / 444.1 MB, free: 2.965 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.539e-06/3.345, allocations: 0 / 444.1 MB, free: 2.965 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001468/3.346, allocations: 27.94 kB / 444.1 MB, free: 2.938 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006422/3.346, allocations: 15.98 kB / 444.2 MB, free: 2.922 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008955/3.347, allocations: 157.2 kB / 444.3 MB, free: 2.742 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006502/3.348, allocations: 0.731 MB / 445 MB, free: 1.984 MB / 378.7 MB Notification: Performance of SimCode: time 2.375e-06/3.348, allocations: 0 / 445 MB, free: 1.984 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat does not exist to compare? outputFormat=mat