Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test67,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Tables_CombiTimeTable_Test67",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.505/2.505, allocations: 235.1 MB / 242 MB, free: 9.754 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1717/2.676, allocations: 57.2 MB / 299.2 MB, free: 444 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2883/2.965, allocations: 54.85 MB / 354.1 MB, free: 13.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1746/3.139, allocations: 81.63 MB / 435.7 MB, free: 11.66 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002841/3.14, allocations: 71.91 kB / 435.8 MB, free: 11.59 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_s.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_s.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_s.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_s.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_min.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_min.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_min.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_min.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_h.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_h.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_h.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_h.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_d.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_d.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_d.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_d.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_ms.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_ms.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_ms.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_ms.getTableTimeTmax. Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.05573/3.195, allocations: 11.17 MB / 447 MB, free: 296 kB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.896e-05/3.196, allocations: 12 kB / 447 MB, free: 284 kB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002883/3.196, allocations: 51.34 kB / 447 MB, free: 232 kB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1626/3.358, allocations: 409 kB / 447.4 MB, free: 128.4 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.019e-05/3.359, allocations: 10.44 kB / 447.4 MB, free: 128.4 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.705e-05/3.359, allocations: 19.81 kB / 447.4 MB, free: 128.4 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003875/3.359, allocations: 94.94 kB / 447.5 MB, free: 128.4 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005183/3.36, allocations: 194 kB / 447.7 MB, free: 128.3 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.457e-05/3.36, allocations: 1.594 kB / 447.7 MB, free: 128.3 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.083e-05/3.36, allocations: 7.156 kB / 447.7 MB, free: 128.3 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.296e-05/3.36, allocations: 2.281 kB / 447.7 MB, free: 128.3 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001815/3.362, allocations: 0.9727 MB / 448.7 MB, free: 127.7 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007518/3.362, allocations: 257.9 kB / 449 MB, free: 127.6 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002347/3.363, allocations: 91.48 kB / 449.1 MB, free: 127.6 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.273e-05/3.363, allocations: 2.688 kB / 449.1 MB, free: 127.6 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004398/3.363, allocations: 211.7 kB / 449.3 MB, free: 127.5 MB / 378.7 MB Notification: Performance of pre-optimization done (n=30): time 4.007e-06/3.363, allocations: 0 / 449.3 MB, free: 127.5 MB / 378.7 MB Notification: Performance of matching and sorting (n=40): time 0.002918/3.366, allocations: 0.7937 MB / 450.1 MB, free: 127.2 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.172e-05/3.366, allocations: 167.3 kB / 450.2 MB, free: 127 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001138/3.367, allocations: 0.5069 MB / 450.7 MB, free: 126.9 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001477/3.368, allocations: 41.56 kB / 450.8 MB, free: 126.9 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001191/3.368, allocations: 140 kB / 450.9 MB, free: 126.8 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001555/3.368, allocations: 119.7 kB / 451 MB, free: 126.8 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.756e-05/3.368, allocations: 6.594 kB / 451 MB, free: 126.8 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001303/3.368, allocations: 369.3 kB / 451.4 MB, free: 126.4 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000627/3.369, allocations: 158.5 kB / 451.5 MB, free: 126.4 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009817/3.37, allocations: 252.4 kB / 451.8 MB, free: 126.4 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009239/3.371, allocations: 182.9 kB / 452 MB, free: 126.4 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.935e-06/3.371, allocations: 3.812 kB / 452 MB, free: 126.4 MB / 378.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.00299/3.374, allocations: 0.5437 MB / 452.5 MB, free: 126.3 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.482e-05/3.374, allocations: 6.438 kB / 452.5 MB, free: 126.3 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.115e-05/3.374, allocations: 0 / 452.5 MB, free: 126.3 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.73e-05/3.374, allocations: 3.75 kB / 452.5 MB, free: 126.3 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001115/3.375, allocations: 92.78 kB / 452.6 MB, free: 126.3 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.44e-05/3.375, allocations: 3.781 kB / 452.6 MB, free: 126.3 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001116/3.376, allocations: 27.86 kB / 452.6 MB, free: 126.3 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001742/3.377, allocations: 28.94 kB / 452.7 MB, free: 126.3 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 25 ($whenCondition5,$PRE.t_s.nextTimeEvent,t_s.nextTimeEvent,$PRE.t_s.nextTimeEventScaled,t_s.nextTimeEventScaled,$whenCondition4,$PRE.t_min.nextTimeEvent,t_min.nextTimeEvent,$PRE.t_min.nextTimeEventScaled,t_min.nextTimeEventScaled,$whenCondition3,$PRE.t_h.nextTimeEvent,t_h.nextTimeEvent,$PRE.t_h.nextTimeEventScaled,t_h.nextTimeEventScaled,$whenCondition2,$PRE.t_d.nextTimeEvent,t_d.nextTimeEvent,$PRE.t_d.nextTimeEventScaled,t_d.nextTimeEventScaled,$whenCondition1,$PRE.t_ms.nextTimeEvent,t_ms.nextTimeEvent,$PRE.t_ms.nextTimeEventScaled,t_ms.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 5 * 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.0003118/3.377, allocations: 136.9 kB / 452.8 MB, free: 126.2 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003285/3.377, allocations: 52.94 kB / 452.9 MB, free: 126.2 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002461/3.38, allocations: 416.9 kB / 453.3 MB, free: 126.1 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-05/3.38, allocations: 3.844 kB / 453.3 MB, free: 126.1 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.517e-05/3.38, allocations: 3.125 kB / 453.3 MB, free: 126.1 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.043e-05/3.38, allocations: 3.281 kB / 453.3 MB, free: 126.1 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003786/3.384, allocations: 1.233 MB / 454.5 MB, free: 125.5 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-05/3.384, allocations: 3.25 kB / 454.5 MB, free: 125.5 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005684/3.384, allocations: 61.11 kB / 454.6 MB, free: 125.5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.821e-05/3.384, allocations: 7.375 kB / 454.6 MB, free: 125.5 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.358e-05/3.384, allocations: 13.11 kB / 454.6 MB, free: 125.5 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.306e-05/3.384, allocations: 6.969 kB / 454.6 MB, free: 125.5 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.712e-06/3.384, allocations: 3.938 kB / 454.6 MB, free: 125.5 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001691/3.386, allocations: 0.8703 MB / 455.5 MB, free: 124.8 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001307/3.388, allocations: 1.274 MB / 456.7 MB, free: 123.8 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003718/3.388, allocations: 180 kB / 456.9 MB, free: 123.7 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001569/3.388, allocations: 11.72 kB / 456.9 MB, free: 123.7 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006902/3.389, allocations: 13.41 kB / 456.9 MB, free: 123.7 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001151/3.389, allocations: 41.44 kB / 457 MB, free: 123.7 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.769e-05/3.389, allocations: 20.98 kB / 457 MB, free: 123.7 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.000792/3.39, allocations: 397.2 kB / 457.4 MB, free: 123.6 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002684/3.393, allocations: 216.4 kB / 457.6 MB, free: 123.6 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition1,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled,$whenCondition2,t_d.nextTimeEvent,t_d.nextTimeEventScaled,$whenCondition3,t_h.nextTimeEvent,t_h.nextTimeEventScaled,$whenCondition4,t_min.nextTimeEvent,t_min.nextTimeEventScaled,$whenCondition5,t_s.nextTimeEvent,t_s.nextTimeEventScaled) * Number of discrete states: 10 (t_s.nextTimeEvent,t_s.nextTimeEventScaled,t_min.nextTimeEvent,t_min.nextTimeEventScaled,t_h.nextTimeEvent,t_h.nextTimeEventScaled,t_d.nextTimeEvent,t_d.nextTimeEventScaled,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.003994/3.397, allocations: 1.053 MB / 458.7 MB, free: 123 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001594/3.398, allocations: 0.5668 MB / 459.2 MB, free: 122.8 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.083e-06/3.398, allocations: 0.5625 kB / 459.2 MB, free: 122.8 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005072/3.399, allocations: 149 kB / 459.4 MB, free: 122.8 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001479/3.4, allocations: 87.45 kB / 459.5 MB, free: 122.8 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002882/3.403, allocations: 0.6953 MB / 460.2 MB, free: 122.6 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008338/3.404, allocations: 0.914 MB / 461.1 MB, free: 121.9 MB / 378.7 MB Notification: Performance of SimCode: time 1.142e-06/3.404, allocations: 1.125 kB / 461.1 MB, free: 121.9 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Tables.CombiTimeTable.Test67_res.mat does not exist to compare? outputFormat=mat