Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test10,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Tables_CombiTimeTable_Test10",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.464/2.464, allocations: 235.1 MB / 242 MB, free: 9.754 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1699/2.634, allocations: 57.21 MB / 299.2 MB, free: 436 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3215/2.956, allocations: 54.85 MB / 354.1 MB, free: 13.4 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1744/3.13, allocations: 82.07 MB / 436.2 MB, free: 11.22 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003905/3.13, allocations: 75.89 kB / 436.2 MB, free: 11.14 MB / 378.7 MB [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2346:7-2347:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getDerTableValue. [/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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.02722/3.158, allocations: 3.742 MB / 440 MB, free: 7.328 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.367e-05/3.158, allocations: 8 kB / 440 MB, free: 7.32 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001376/3.158, allocations: 15.81 kB / 440 MB, free: 7.305 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006997/3.159, allocations: 211.5 kB / 440.2 MB, free: 7.055 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.665e-05/3.159, allocations: 7.938 kB / 440.2 MB, free: 7.047 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.92e-05/3.159, allocations: 12 kB / 440.2 MB, free: 7.035 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002562/3.159, allocations: 39.84 kB / 440.3 MB, free: 6.996 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002916/3.159, allocations: 77.64 kB / 440.3 MB, free: 6.914 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.383e-05/3.159, allocations: 0 / 440.3 MB, free: 6.914 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.758e-05/3.16, allocations: 0 / 440.3 MB, free: 6.914 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.291e-05/3.16, allocations: 4 kB / 440.3 MB, free: 6.91 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00126/3.161, allocations: 345.2 kB / 440.7 MB, free: 6.535 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005403/3.161, allocations: 74.62 kB / 440.7 MB, free: 6.453 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001477/3.162, allocations: 28.86 kB / 440.8 MB, free: 6.422 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.652e-05/3.162, allocations: 0 / 440.8 MB, free: 6.422 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002495/3.162, allocations: 79.39 kB / 440.9 MB, free: 6.332 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 4.108e-06/3.162, allocations: 0 / 440.9 MB, free: 6.332 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.0005287/3.162, allocations: 97.36 kB / 440.9 MB, free: 6.23 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.307e-05/3.163, allocations: 55.41 kB / 441 MB, free: 6.164 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003696/3.163, allocations: 158.4 kB / 441.2 MB, free: 6 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.768e-05/3.163, allocations: 25.7 kB / 441.2 MB, free: 5.969 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001001/3.163, allocations: 100 kB / 441.3 MB, free: 5.867 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.969e-05/3.163, allocations: 31.64 kB / 441.3 MB, free: 5.836 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.91e-05/3.163, allocations: 0 / 441.3 MB, free: 5.836 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002102/3.163, allocations: 326.7 kB / 441.6 MB, free: 5.508 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002318/3.164, allocations: 36 kB / 441.7 MB, free: 5.473 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002357/3.164, allocations: 58.5 kB / 441.7 MB, free: 5.406 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002339/3.164, allocations: 35.98 kB / 441.8 MB, free: 5.371 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.11e-06/3.164, allocations: 0 / 441.8 MB, free: 5.371 MB / 378.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0007303/3.165, allocations: 145.6 kB / 441.9 MB, free: 5.223 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.111e-05/3.165, allocations: 7.906 kB / 441.9 MB, free: 5.215 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.645e-05/3.165, allocations: 3.984 kB / 441.9 MB, free: 5.211 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.7e-05/3.165, allocations: 4 kB / 441.9 MB, free: 5.207 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003345/3.166, allocations: 16 kB / 441.9 MB, free: 5.191 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.898e-06/3.166, allocations: 0 / 441.9 MB, free: 5.191 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002492/3.166, allocations: 15.89 kB / 441.9 MB, free: 5.176 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.927e-05/3.166, allocations: 12.06 kB / 442 MB, free: 5.164 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (13): * Single equations (assignments): 12 * 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.00017/3.166, allocations: 112.9 kB / 442.1 MB, free: 5.047 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.002e-05/3.166, allocations: 15.81 kB / 442.1 MB, free: 5.031 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005322/3.167, allocations: 103.1 kB / 442.2 MB, free: 4.926 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.282e-06/3.167, allocations: 3.938 kB / 442.2 MB, free: 4.922 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.799e-06/3.167, allocations: 0 / 442.2 MB, free: 4.922 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.104e-06/3.167, allocations: 3.938 kB / 442.2 MB, free: 4.918 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003662/3.167, allocations: 186.2 kB / 442.4 MB, free: 4.699 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/3.167, allocations: 4 kB / 442.4 MB, free: 4.695 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002747/3.167, allocations: 16 kB / 442.4 MB, free: 4.68 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.546e-06/3.168, allocations: 0 / 442.4 MB, free: 4.68 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.977e-05/3.168, allocations: 3.984 kB / 442.4 MB, free: 4.676 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.239e-06/3.168, allocations: 288 / 442.4 MB, free: 4.676 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.329e-06/3.168, allocations: 0 / 442.4 MB, free: 4.676 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006825/3.168, allocations: 164.8 kB / 442.6 MB, free: 4.496 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00102/3.169, allocations: 0.5639 MB / 443.1 MB, free: 3.91 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002032/3.17, allocations: 100.9 kB / 443.2 MB, free: 3.793 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.554e-05/3.17, allocations: 0 / 443.2 MB, free: 3.793 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002457/3.17, allocations: 15.98 kB / 443.2 MB, free: 3.777 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.318e-05/3.17, allocations: 3.984 kB / 443.2 MB, free: 3.773 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.854e-05/3.17, allocations: 4.062 kB / 443.2 MB, free: 3.77 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0002447/3.17, allocations: 128 kB / 443.4 MB, free: 3.645 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002364/3.173, allocations: 43.83 kB / 443.4 MB, free: 3.602 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.001656/3.174, allocations: 319.9 kB / 443.7 MB, free: 3.363 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006013/3.175, allocations: 121.6 kB / 443.8 MB, free: 3.238 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.354e-06/3.175, allocations: 0 / 443.8 MB, free: 3.238 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001611/3.175, allocations: 32.12 kB / 443.9 MB, free: 3.207 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006613/3.176, allocations: 27.84 kB / 443.9 MB, free: 3.18 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009889/3.177, allocations: 175.3 kB / 444.1 MB, free: 2.988 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005789/3.178, allocations: 0.7318 MB / 444.8 MB, free: 2.23 MB / 378.7 MB Notification: Performance of SimCode: time 1.433e-06/3.178, allocations: 3.938 kB / 444.8 MB, free: 2.227 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat does not exist to compare? outputFormat=mat