Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test7,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Tables_CombiTimeTable_Test7",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.615/2.615, allocations: 235 MB / 242 MB, free: 11.28 MB / 210.8 MB Notification: Performance of FrontEnd - loaded program: time 0.355/2.97, allocations: 57.2 MB / 299.2 MB, free: 5.984 MB / 242.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1486/3.119, allocations: 54.86 MB / 354.1 MB, free: 15.02 MB / 306.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3827/3.502, allocations: 81.31 MB / 435.4 MB, free: 4.594 MB / 338.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002965/3.502, allocations: 69.97 kB / 435.5 MB, free: 4.586 MB / 338.8 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. Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.02395/3.526, allocations: 4.904 MB / 440.4 MB, free: 1.07 MB / 338.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.436e-05/3.526, allocations: 8 kB / 440.4 MB, free: 1.062 MB / 338.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.936e-05/3.526, allocations: 15.81 kB / 440.4 MB, free: 1.047 MB / 338.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004194/3.527, allocations: 213.8 kB / 440.6 MB, free: 0.8047 MB / 338.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.335e-05/3.527, allocations: 0 / 440.6 MB, free: 0.8047 MB / 338.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.863e-05/3.527, allocations: 11.91 kB / 440.6 MB, free: 0.793 MB / 338.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001092/3.527, allocations: 21.3 kB / 440.6 MB, free: 0.7773 MB / 338.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001249/3.527, allocations: 51.8 kB / 440.7 MB, free: 0.7266 MB / 338.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.606e-05/3.527, allocations: 3.938 kB / 440.7 MB, free: 0.7227 MB / 338.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.688e-05/3.527, allocations: 3.984 kB / 440.7 MB, free: 0.7188 MB / 338.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.221e-06/3.527, allocations: 0 / 440.7 MB, free: 0.7188 MB / 338.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005475/3.528, allocations: 298.2 kB / 441 MB, free: 428 kB / 338.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001518/3.528, allocations: 52.81 kB / 441 MB, free: 376 kB / 338.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.862e-05/3.528, allocations: 23.67 kB / 441.1 MB, free: 356 kB / 338.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.465e-05/3.528, allocations: 0 / 441.1 MB, free: 356 kB / 338.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001237/3.528, allocations: 69.64 kB / 441.1 MB, free: 280 kB / 338.8 MB Notification: Performance of pre-optimization done (n=6): time 2.215e-06/3.528, allocations: 4 kB / 441.1 MB, free: 276 kB / 338.8 MB Notification: Performance of matching and sorting (n=8): time 0.0006636/3.529, allocations: 141.1 kB / 441.3 MB, free: 152 kB / 338.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.539e-05/3.529, allocations: 59.41 kB / 441.3 MB, free: 80 kB / 338.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003766/3.529, allocations: 208.5 kB / 441.5 MB, free: 15.89 MB / 354.8 MB Notification: Performance of collectPreVariables (initialization): time 3.22e-05/3.529, allocations: 29.7 kB / 441.6 MB, free: 15.86 MB / 354.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.633e-05/3.529, allocations: 94.19 kB / 441.6 MB, free: 15.77 MB / 354.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.062e-05/3.529, allocations: 23.59 kB / 441.7 MB, free: 15.75 MB / 354.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.494e-05/3.53, allocations: 4 kB / 441.7 MB, free: 15.75 MB / 354.8 MB Notification: Performance of setup shared object (initialization): time 0.0001847/3.53, allocations: 324.8 kB / 442 MB, free: 15.43 MB / 354.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001208/3.53, allocations: 31.98 kB / 442 MB, free: 15.41 MB / 354.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001439/3.53, allocations: 57.34 kB / 442.1 MB, free: 15.36 MB / 354.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001519/3.53, allocations: 40.73 kB / 442.1 MB, free: 15.33 MB / 354.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/3.53, allocations: 0 / 442.1 MB, free: 15.33 MB / 354.8 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004274/3.531, allocations: 138 kB / 442.3 MB, free: 15.22 MB / 354.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/3.531, allocations: 4 kB / 442.3 MB, free: 15.21 MB / 354.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/3.531, allocations: 0 / 442.3 MB, free: 15.21 MB / 354.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.973e-05/3.531, allocations: 3.984 kB / 442.3 MB, free: 15.21 MB / 354.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001974/3.531, allocations: 19.94 kB / 442.3 MB, free: 15.19 MB / 354.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/3.531, allocations: 0 / 442.3 MB, free: 15.19 MB / 354.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001263/3.531, allocations: 11.94 kB / 442.3 MB, free: 15.18 MB / 354.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.548e-05/3.531, allocations: 7.984 kB / 442.3 MB, free: 15.17 MB / 354.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (11): * Single equations (assignments): 10 * 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.0001154/3.531, allocations: 107.8 kB / 442.4 MB, free: 15.06 MB / 354.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.318e-05/3.531, allocations: 11.81 kB / 442.4 MB, free: 15.05 MB / 354.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004348/3.532, allocations: 106.8 kB / 442.5 MB, free: 14.96 MB / 354.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/3.532, allocations: 0 / 442.5 MB, free: 14.96 MB / 354.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/3.532, allocations: 4 kB / 442.5 MB, free: 14.96 MB / 354.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/3.532, allocations: 0 / 442.5 MB, free: 14.96 MB / 354.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007024/3.533, allocations: 395.7 kB / 442.9 MB, free: 14.57 MB / 354.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.409e-06/3.533, allocations: 0 / 442.9 MB, free: 14.57 MB / 354.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.721e-05/3.533, allocations: 8 kB / 442.9 MB, free: 14.56 MB / 354.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.005e-06/3.533, allocations: 0 / 442.9 MB, free: 14.56 MB / 354.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.914e-05/3.533, allocations: 4 kB / 442.9 MB, free: 14.55 MB / 354.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.721e-06/3.533, allocations: 4.25 kB / 442.9 MB, free: 14.55 MB / 354.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.721e-06/3.533, allocations: 3.984 kB / 442.9 MB, free: 14.55 MB / 354.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003304/3.533, allocations: 214.5 kB / 443.1 MB, free: 14.33 MB / 354.8 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004961/3.534, allocations: 0.5776 MB / 443.7 MB, free: 13.74 MB / 354.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000223/3.534, allocations: 115.3 kB / 443.8 MB, free: 13.62 MB / 354.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.281e-05/3.534, allocations: 0 / 443.8 MB, free: 13.62 MB / 354.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001968/3.534, allocations: 4 kB / 443.8 MB, free: 13.61 MB / 354.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.349e-05/3.534, allocations: 3.984 kB / 443.8 MB, free: 13.61 MB / 354.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.835e-05/3.534, allocations: 8.094 kB / 443.8 MB, free: 13.6 MB / 354.8 MB Notification: Performance of sort global known variables: time 0.0002815/3.535, allocations: 171.8 kB / 444 MB, free: 13.46 MB / 354.8 MB Notification: Performance of remove unused functions: time 0.001455/3.536, allocations: 39.38 kB / 444.1 MB, free: 13.43 MB / 354.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * 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 (9): * Single equations (assignments): 7 * 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.001429/3.537, allocations: 362.7 kB / 444.4 MB, free: 13.17 MB / 354.8 MB Notification: Performance of simCode: created initialization part: time 0.0004004/3.538, allocations: 119.2 kB / 444.5 MB, free: 13.08 MB / 354.8 MB Notification: Performance of simCode: created event and clocks part: time 3.778e-06/3.538, allocations: 0 / 444.5 MB, free: 13.08 MB / 354.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001661/3.538, allocations: 26.81 kB / 444.6 MB, free: 13.06 MB / 354.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006495/3.539, allocations: 19.86 kB / 444.6 MB, free: 13.04 MB / 354.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008552/3.54, allocations: 199.3 kB / 444.8 MB, free: 12.84 MB / 354.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006603/3.54, allocations: 0.7379 MB / 445.5 MB, free: 12.08 MB / 354.8 MB Notification: Performance of SimCode: time 1.333e-06/3.54, allocations: 0 / 445.5 MB, free: 12.08 MB / 354.8 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat does not exist to compare? outputFormat=mat