Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test74,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Tables_CombiTimeTable_Test74",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.479/2.479, allocations: 235.1 MB / 242 MB, free: 9.676 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1989/2.678, allocations: 57.2 MB / 299.2 MB, free: 360 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2945/2.973, allocations: 54.86 MB / 354.1 MB, free: 13.4 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1596/3.132, allocations: 81.43 MB / 435.5 MB, free: 11.85 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004142/3.133, allocations: 71.97 kB / 435.6 MB, free: 11.78 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. [/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_2.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_2.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_2.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_2.getTableTimeTmax. Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.04021/3.173, allocations: 7.276 MB / 442.9 MB, free: 4.426 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.535e-05/3.173, allocations: 8 kB / 442.9 MB, free: 4.418 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001214/3.173, allocations: 27.62 kB / 442.9 MB, free: 4.391 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007883/3.174, allocations: 298.9 kB / 443.2 MB, free: 4.055 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.682e-05/3.174, allocations: 4 kB / 443.2 MB, free: 4.051 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.146e-05/3.174, allocations: 12 kB / 443.2 MB, free: 4.039 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001816/3.174, allocations: 39.98 kB / 443.2 MB, free: 4 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002385/3.174, allocations: 83.38 kB / 443.3 MB, free: 3.906 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.85e-05/3.174, allocations: 3.984 kB / 443.3 MB, free: 3.902 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.002e-05/3.174, allocations: 0 / 443.3 MB, free: 3.902 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.393e-05/3.174, allocations: 7.906 kB / 443.3 MB, free: 3.895 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009734/3.175, allocations: 0.4896 MB / 443.8 MB, free: 3.363 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003038/3.176, allocations: 105.4 kB / 443.9 MB, free: 3.242 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001288/3.176, allocations: 37.84 kB / 444 MB, free: 3.199 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.023e-05/3.176, allocations: 4 kB / 444 MB, free: 3.195 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002453/3.176, allocations: 108.9 kB / 444.1 MB, free: 3.07 MB / 378.7 MB Notification: Performance of pre-optimization done (n=12): time 2.465e-06/3.176, allocations: 0 / 444.1 MB, free: 3.07 MB / 378.7 MB Notification: Performance of matching and sorting (n=16): time 0.001173/3.177, allocations: 303.9 kB / 444.4 MB, free: 2.766 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.56e-05/3.178, allocations: 81.05 kB / 444.5 MB, free: 2.668 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008953/3.178, allocations: 419.5 kB / 444.9 MB, free: 2.254 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.595e-05/3.179, allocations: 29.7 kB / 444.9 MB, free: 2.219 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.772e-05/3.179, allocations: 112.5 kB / 445 MB, free: 2.102 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.937e-05/3.179, allocations: 47.36 kB / 445.1 MB, free: 2.055 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.96e-05/3.179, allocations: 3.938 kB / 445.1 MB, free: 2.051 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001724/3.179, allocations: 346.7 kB / 445.4 MB, free: 1.703 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000242/3.179, allocations: 68.17 kB / 445.5 MB, free: 1.633 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002662/3.179, allocations: 99.61 kB / 445.6 MB, free: 1.523 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002874/3.18, allocations: 71.97 kB / 445.6 MB, free: 1.453 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.828e-06/3.18, allocations: 0 / 445.6 MB, free: 1.453 MB / 378.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008193/3.181, allocations: 245.2 kB / 445.9 MB, free: 1.207 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.227e-05/3.181, allocations: 4 kB / 445.9 MB, free: 1.203 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.187e-06/3.181, allocations: 3.938 kB / 445.9 MB, free: 1.199 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.385e-05/3.181, allocations: 4 kB / 445.9 MB, free: 1.195 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003254/3.181, allocations: 31.98 kB / 445.9 MB, free: 1.164 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.016e-05/3.181, allocations: 8.062 kB / 445.9 MB, free: 1.156 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002435/3.181, allocations: 11.92 kB / 445.9 MB, free: 1.145 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.965e-05/3.181, allocations: 12 kB / 445.9 MB, free: 1.133 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 2 * 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.0001485/3.182, allocations: 120.8 kB / 446.1 MB, free: 1.008 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.32e-05/3.182, allocations: 31.61 kB / 446.1 MB, free: 0.9766 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007535/3.182, allocations: 192.8 kB / 446.3 MB, free: 0.7773 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.638e-06/3.182, allocations: 8 kB / 446.3 MB, free: 0.7695 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/3.183, allocations: 384 / 446.3 MB, free: 0.7695 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.264e-06/3.183, allocations: 0 / 446.3 MB, free: 0.7695 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001381/3.184, allocations: 0.6365 MB / 446.9 MB, free: 84 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.835e-06/3.184, allocations: 3.906 kB / 446.9 MB, free: 80 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000174/3.184, allocations: 27.88 kB / 447 MB, free: 52 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.185e-05/3.184, allocations: 3.984 kB / 447 MB, free: 48 kB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.44e-05/3.184, allocations: 8.062 kB / 447 MB, free: 40 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.773e-06/3.184, allocations: 0 / 447 MB, free: 40 kB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.651e-06/3.184, allocations: 7.938 kB / 447 MB, free: 32 kB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.1566/3.341, allocations: 380.6 kB / 447.3 MB, free: 130.4 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004921/3.341, allocations: 0.7608 MB / 448.1 MB, free: 129.8 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001962/3.342, allocations: 145.1 kB / 448.2 MB, free: 129.7 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.867e-05/3.342, allocations: 7.672 kB / 448.3 MB, free: 129.7 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002826/3.342, allocations: 3.656 kB / 448.3 MB, free: 129.7 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.384e-05/3.342, allocations: 18.45 kB / 448.3 MB, free: 129.7 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.37e-05/3.342, allocations: 10.41 kB / 448.3 MB, free: 129.7 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0004898/3.343, allocations: 320.8 kB / 448.6 MB, free: 129.6 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001574/3.344, allocations: 90.22 kB / 448.7 MB, free: 129.6 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001487/3.346, allocations: 0.5175 MB / 449.2 MB, free: 129.4 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005335/3.346, allocations: 229 kB / 449.4 MB, free: 129.4 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/3.346, allocations: 0 / 449.4 MB, free: 129.4 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001539/3.346, allocations: 67.89 kB / 449.5 MB, free: 129.4 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006505/3.347, allocations: 41.3 kB / 449.5 MB, free: 129.4 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001195/3.348, allocations: 443.2 kB / 450 MB, free: 129.2 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004088/3.349, allocations: 0.8073 MB / 450.8 MB, free: 128.5 MB / 378.7 MB Notification: Performance of SimCode: time 1.182e-06/3.349, allocations: 0 / 450.8 MB, free: 128.5 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat does not exist to compare? outputFormat=mat