Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test73,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Tables_CombiTimeTable_Test73",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.417/2.417, allocations: 235.1 MB / 242 MB, free: 9.75 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2025/2.62, allocations: 57.21 MB / 299.2 MB, free: 428 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3198/2.94, allocations: 54.85 MB / 354.1 MB, free: 13.39 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1832/3.123, allocations: 81.43 MB / 435.5 MB, free: 11.85 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000302/3.124, allocations: 71.91 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.03557/3.159, allocations: 6.933 MB / 442.5 MB, free: 4.762 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.389e-05/3.159, allocations: 11.94 kB / 442.5 MB, free: 4.75 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001157/3.159, allocations: 27.62 kB / 442.6 MB, free: 4.723 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007089/3.16, allocations: 266.1 kB / 442.8 MB, free: 4.426 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.19e-05/3.16, allocations: 0 / 442.8 MB, free: 4.426 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.753e-05/3.16, allocations: 19.89 kB / 442.8 MB, free: 4.406 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001823/3.16, allocations: 35.98 kB / 442.9 MB, free: 4.371 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002471/3.161, allocations: 91.38 kB / 443 MB, free: 4.27 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.673e-05/3.161, allocations: 0 / 443 MB, free: 4.27 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.367e-05/3.161, allocations: 0 / 443 MB, free: 4.27 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/3.161, allocations: 3.938 kB / 443 MB, free: 4.266 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008993/3.162, allocations: 473.4 kB / 443.4 MB, free: 3.762 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003036/3.162, allocations: 109.4 kB / 443.5 MB, free: 3.637 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001221/3.162, allocations: 37.83 kB / 443.6 MB, free: 3.594 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.92e-05/3.162, allocations: 0 / 443.6 MB, free: 3.594 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002383/3.162, allocations: 105 kB / 443.7 MB, free: 3.473 MB / 378.7 MB Notification: Performance of pre-optimization done (n=12): time 2.215e-06/3.162, allocations: 3.938 kB / 443.7 MB, free: 3.469 MB / 378.7 MB Notification: Performance of matching and sorting (n=16): time 0.001148/3.164, allocations: 284.2 kB / 443.9 MB, free: 3.184 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.082e-05/3.164, allocations: 89.03 kB / 444 MB, free: 3.078 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006182/3.164, allocations: 297 kB / 444.3 MB, free: 2.781 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.623e-05/3.164, allocations: 33.7 kB / 444.4 MB, free: 2.742 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.509e-05/3.164, allocations: 112.5 kB / 444.5 MB, free: 2.625 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.161e-05/3.164, allocations: 47.36 kB / 444.5 MB, free: 2.578 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.067e-05/3.165, allocations: 4 kB / 444.5 MB, free: 2.574 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000178/3.165, allocations: 334.8 kB / 444.8 MB, free: 2.238 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002407/3.165, allocations: 64.19 kB / 444.9 MB, free: 2.172 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002719/3.165, allocations: 95.61 kB / 445 MB, free: 2.066 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002885/3.166, allocations: 83.95 kB / 445.1 MB, free: 1.984 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/3.166, allocations: 4 kB / 445.1 MB, free: 1.98 MB / 378.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008009/3.166, allocations: 237.3 kB / 445.3 MB, free: 1.742 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/3.166, allocations: 7.938 kB / 445.3 MB, free: 1.734 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.091e-05/3.166, allocations: 4 kB / 445.3 MB, free: 1.73 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.373e-05/3.166, allocations: 3.906 kB / 445.3 MB, free: 1.727 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003302/3.167, allocations: 32.36 kB / 445.4 MB, free: 1.695 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.294e-06/3.167, allocations: 0 / 445.4 MB, free: 1.695 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002211/3.167, allocations: 11.94 kB / 445.4 MB, free: 1.684 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.575e-05/3.167, allocations: 20.05 kB / 445.4 MB, free: 1.664 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.0001454/3.167, allocations: 120.9 kB / 445.5 MB, free: 1.539 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.781e-05/3.167, allocations: 23.62 kB / 445.5 MB, free: 1.516 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007032/3.168, allocations: 187.3 kB / 445.7 MB, free: 1.328 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.55e-06/3.168, allocations: 0 / 445.7 MB, free: 1.328 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.02e-05/3.168, allocations: 4 kB / 445.7 MB, free: 1.324 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.092e-05/3.168, allocations: 7.969 kB / 445.7 MB, free: 1.316 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001234/3.169, allocations: 0.5976 MB / 446.3 MB, free: 0.668 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.499e-06/3.169, allocations: 0 / 446.3 MB, free: 0.668 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001722/3.17, allocations: 23.94 kB / 446.4 MB, free: 0.6445 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.933e-06/3.17, allocations: 0 / 446.4 MB, free: 0.6445 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.173e-05/3.17, allocations: 11.89 kB / 446.4 MB, free: 0.6328 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/3.17, allocations: 0 / 446.4 MB, free: 0.6328 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.733e-06/3.17, allocations: 4 kB / 446.4 MB, free: 0.6289 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006304/3.17, allocations: 377.2 kB / 446.7 MB, free: 224 kB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.182/3.352, allocations: 0.7508 MB / 447.5 MB, free: 130.4 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002151/3.353, allocations: 125.3 kB / 447.6 MB, free: 130.3 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.518e-05/3.353, allocations: 7.125 kB / 447.6 MB, free: 130.3 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003466/3.353, allocations: 10.75 kB / 447.6 MB, free: 130.3 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.427e-05/3.353, allocations: 13.69 kB / 447.6 MB, free: 130.3 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.891e-05/3.353, allocations: 7.391 kB / 447.6 MB, free: 130.3 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0004117/3.354, allocations: 235.3 kB / 447.9 MB, free: 130.2 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001948/3.356, allocations: 93.06 kB / 448 MB, free: 130.2 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.001825/3.357, allocations: 0.5188 MB / 448.5 MB, free: 130 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005671/3.358, allocations: 236 kB / 448.7 MB, free: 129.9 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/3.358, allocations: 0 / 448.7 MB, free: 129.9 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001663/3.358, allocations: 61.7 kB / 448.8 MB, free: 129.9 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007367/3.359, allocations: 41.52 kB / 448.8 MB, free: 129.9 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00115/3.36, allocations: 349.6 kB / 449.2 MB, free: 129.8 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003918/3.361, allocations: 0.7849 MB / 449.9 MB, free: 129.1 MB / 378.7 MB Notification: Performance of SimCode: time 1.142e-06/3.361, allocations: 0 / 449.9 MB, free: 129.1 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat does not exist to compare? outputFormat=mat