Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test70,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Tables_CombiTimeTable_Test70",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.353/2.353, allocations: 235 MB / 242 MB, free: 13.09 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.166/2.519, allocations: 57.21 MB / 299.2 MB, free: 3.766 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2926/2.812, allocations: 54.85 MB / 354.1 MB, free: 1.184 MB / 286.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1762/2.988, allocations: 81.17 MB / 435.3 MB, free: 15.89 MB / 382.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000287/2.988, allocations: 79.83 kB / 435.3 MB, free: 15.82 MB / 382.1 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$startTime.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$startTime.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$startTime.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$startTime.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$startTime_0.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$startTime_0.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$startTime_0.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$startTime_0.getTableTimeTmax. Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.02975/3.018, allocations: 6.285 MB / 441.6 MB, free: 9.445 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.577e-05/3.018, allocations: 8 kB / 441.6 MB, free: 9.438 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002031/3.018, allocations: 55.33 kB / 441.7 MB, free: 9.383 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001415/3.02, allocations: 463.2 kB / 442.1 MB, free: 8.891 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.989e-05/3.02, allocations: 8 kB / 442.1 MB, free: 8.883 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.991e-05/3.02, allocations: 11.98 kB / 442.2 MB, free: 8.871 MB / 382.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001824/3.02, allocations: 27.98 kB / 442.2 MB, free: 8.844 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002267/3.02, allocations: 83.31 kB / 442.3 MB, free: 8.75 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/3.02, allocations: 0 / 442.3 MB, free: 8.75 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.423e-05/3.02, allocations: 3.906 kB / 442.3 MB, free: 8.746 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.852e-06/3.02, allocations: 0 / 442.3 MB, free: 8.746 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007758/3.021, allocations: 386.8 kB / 442.6 MB, free: 8.328 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000286/3.021, allocations: 97.28 kB / 442.7 MB, free: 8.215 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001193/3.022, allocations: 37.66 kB / 442.8 MB, free: 8.172 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.42e-05/3.022, allocations: 12.06 kB / 442.8 MB, free: 8.16 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002263/3.022, allocations: 97.11 kB / 442.9 MB, free: 8.047 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 2.855e-06/3.022, allocations: 0 / 442.9 MB, free: 8.047 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005975/3.022, allocations: 148.9 kB / 443 MB, free: 7.895 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.184e-05/3.023, allocations: 81.11 kB / 443.1 MB, free: 7.797 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002499/3.025, allocations: 0.8965 MB / 444 MB, free: 6.895 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.546e-05/3.025, allocations: 29.7 kB / 444 MB, free: 6.859 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001578/3.025, allocations: 148.3 kB / 444.2 MB, free: 6.707 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.653e-05/3.025, allocations: 23.66 kB / 444.2 MB, free: 6.684 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.1e-05/3.025, allocations: 4 kB / 444.2 MB, free: 6.68 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001971/3.026, allocations: 362.8 kB / 444.6 MB, free: 6.316 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002028/3.026, allocations: 59.92 kB / 444.6 MB, free: 6.258 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000227/3.026, allocations: 91.91 kB / 444.7 MB, free: 6.156 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00025/3.026, allocations: 67.91 kB / 444.8 MB, free: 6.09 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/3.026, allocations: 0 / 444.8 MB, free: 6.09 MB / 382.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0008831/3.027, allocations: 228.9 kB / 445 MB, free: 5.859 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.175e-05/3.027, allocations: 4 kB / 445 MB, free: 5.855 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/3.027, allocations: 0 / 445 MB, free: 5.855 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.432e-05/3.027, allocations: 4 kB / 445 MB, free: 5.852 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002504/3.028, allocations: 23.92 kB / 445 MB, free: 5.828 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/3.028, allocations: 0 / 445 MB, free: 5.828 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003096/3.028, allocations: 31.8 kB / 445.1 MB, free: 5.797 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.344e-05/3.028, allocations: 8 kB / 445.1 MB, free: 5.789 MB / 382.1 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.startTime.nextTimeEvent,startTime.nextTimeEvent,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEventScaled,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 14 * 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.0001332/3.028, allocations: 112.9 kB / 445.2 MB, free: 5.672 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001474/3.028, allocations: 47.34 kB / 445.2 MB, free: 5.625 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006253/3.029, allocations: 170.1 kB / 445.4 MB, free: 5.449 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.154e-05/3.029, allocations: 11.98 kB / 445.4 MB, free: 5.438 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/3.029, allocations: 0 / 445.4 MB, free: 5.438 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.518e-06/3.029, allocations: 0 / 445.4 MB, free: 5.438 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005905/3.03, allocations: 365.8 kB / 445.8 MB, free: 5.043 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/3.03, allocations: 0 / 445.8 MB, free: 5.043 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001074/3.03, allocations: 8 kB / 445.8 MB, free: 5.035 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.648e-06/3.03, allocations: 4 kB / 445.8 MB, free: 5.031 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.133e-05/3.03, allocations: 0 / 445.8 MB, free: 5.031 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.26e-06/3.03, allocations: 7.922 kB / 445.8 MB, free: 5.023 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.119e-06/3.03, allocations: 4 kB / 445.8 MB, free: 5.02 MB / 382.1 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004819/3.03, allocations: 194.9 kB / 446 MB, free: 4.801 MB / 382.1 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006555/3.031, allocations: 0.5775 MB / 446.6 MB, free: 4.191 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004684/3.032, allocations: 200.4 kB / 446.7 MB, free: 3.977 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001312/3.032, allocations: 4 kB / 446.8 MB, free: 3.973 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002296/3.032, allocations: 12 kB / 446.8 MB, free: 3.961 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.143e-05/3.032, allocations: 7.984 kB / 446.8 MB, free: 3.953 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.384e-05/3.032, allocations: 7.984 kB / 446.8 MB, free: 3.945 MB / 382.1 MB Notification: Performance of sort global known variables: time 0.001635/3.034, allocations: 0.698 MB / 447.5 MB, free: 3.25 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001714/3.035, allocations: 111.8 kB / 447.6 MB, free: 3.141 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * 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.001542/3.037, allocations: 458.8 kB / 448 MB, free: 2.785 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005935/3.038, allocations: 207.3 kB / 448.2 MB, free: 2.566 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/3.038, allocations: 0 / 448.2 MB, free: 2.566 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001335/3.038, allocations: 32 kB / 448.3 MB, free: 2.535 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007368/3.039, allocations: 57.22 kB / 448.3 MB, free: 2.484 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002375/3.041, allocations: 0.7728 MB / 449.1 MB, free: 1.676 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008984/3.042, allocations: 0.8889 MB / 450 MB, free: 0.7578 MB / 382.1 MB Notification: Performance of SimCode: time 1.493e-06/3.042, allocations: 0 / 450 MB, free: 0.7578 MB / 382.1 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat does not exist to compare? outputFormat=mat