Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test61,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Tables_CombiTimeTable_Test61",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.465/2.465, allocations: 235.1 MB / 242 MB, free: 9.754 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1456/2.611, allocations: 57.2 MB / 299.2 MB, free: 436 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2711/2.882, allocations: 54.86 MB / 354.1 MB, free: 13.39 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1642/3.047, allocations: 81.15 MB / 435.2 MB, free: 12.13 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002767/3.047, allocations: 79.88 kB / 435.3 MB, free: 12.05 MB / 378.7 MB [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2331:7-2332:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableValueNoDer. [/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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.02275/3.07, allocations: 4.762 MB / 440.1 MB, free: 7.219 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.705e-05/3.07, allocations: 12 kB / 440.1 MB, free: 7.207 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.996e-05/3.07, allocations: 11.81 kB / 440.1 MB, free: 7.195 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004595/3.07, allocations: 226.7 kB / 440.3 MB, free: 6.934 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.154e-05/3.07, allocations: 4 kB / 440.3 MB, free: 6.93 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.66e-05/3.07, allocations: 4 kB / 440.3 MB, free: 6.926 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.931e-05/3.07, allocations: 15.98 kB / 440.3 MB, free: 6.91 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001158/3.071, allocations: 41.69 kB / 440.4 MB, free: 6.863 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.757e-06/3.071, allocations: 0 / 440.4 MB, free: 6.863 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.289e-05/3.071, allocations: 0 / 440.4 MB, free: 6.863 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.185e-06/3.071, allocations: 4 kB / 440.4 MB, free: 6.859 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002821/3.071, allocations: 182.1 kB / 440.6 MB, free: 6.645 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001983/3.071, allocations: 58.56 kB / 440.6 MB, free: 6.578 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.606e-05/3.071, allocations: 20.94 kB / 440.6 MB, free: 6.555 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.687e-05/3.071, allocations: 0 / 440.6 MB, free: 6.555 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001283/3.071, allocations: 63.34 kB / 440.7 MB, free: 6.48 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.823e-06/3.071, allocations: 0 / 440.7 MB, free: 6.48 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002637/3.072, allocations: 69.5 kB / 440.8 MB, free: 6.406 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.956e-05/3.072, allocations: 59.41 kB / 440.8 MB, free: 6.336 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004682/3.072, allocations: 226.8 kB / 441.1 MB, free: 6.105 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.05e-05/3.072, allocations: 25.7 kB / 441.1 MB, free: 6.074 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.465e-05/3.072, allocations: 96.05 kB / 441.2 MB, free: 5.977 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.598e-05/3.072, allocations: 19.81 kB / 441.2 MB, free: 5.957 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.699e-05/3.072, allocations: 4 kB / 441.2 MB, free: 5.953 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001933/3.073, allocations: 326.8 kB / 441.5 MB, free: 5.625 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001309/3.073, allocations: 20 kB / 441.5 MB, free: 5.605 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001539/3.073, allocations: 45.7 kB / 441.6 MB, free: 5.555 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001858/3.073, allocations: 31.98 kB / 441.6 MB, free: 5.523 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/3.073, allocations: 0 / 441.6 MB, free: 5.523 MB / 378.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004771/3.074, allocations: 117.4 kB / 441.7 MB, free: 5.402 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/3.074, allocations: 4 kB / 441.7 MB, free: 5.398 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/3.074, allocations: 0 / 441.7 MB, free: 5.398 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.384e-05/3.074, allocations: 7.906 kB / 441.7 MB, free: 5.391 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001784/3.074, allocations: 15.92 kB / 441.8 MB, free: 5.375 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/3.074, allocations: 4.031 kB / 441.8 MB, free: 5.371 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001564/3.074, allocations: 4 kB / 441.8 MB, free: 5.367 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.199e-05/3.074, allocations: 11.98 kB / 441.8 MB, free: 5.355 MB / 378.7 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 (8): * Single equations (assignments): 7 * 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.0001257/3.074, allocations: 112.8 kB / 441.9 MB, free: 5.238 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.415e-05/3.074, allocations: 15.94 kB / 441.9 MB, free: 5.223 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003363/3.075, allocations: 86.7 kB / 442 MB, free: 5.137 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/3.075, allocations: 0 / 442 MB, free: 5.137 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/3.075, allocations: 0 / 442 MB, free: 5.137 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.551e-06/3.075, allocations: 0 / 442 MB, free: 5.137 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002911/3.075, allocations: 186.2 kB / 442.2 MB, free: 4.918 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.165e-06/3.075, allocations: 3.906 kB / 442.2 MB, free: 4.914 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.011e-05/3.075, allocations: 4 kB / 442.2 MB, free: 4.91 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.299e-06/3.075, allocations: 0 / 442.2 MB, free: 4.91 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.54e-05/3.075, allocations: 0 / 442.2 MB, free: 4.91 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.763e-06/3.075, allocations: 4 kB / 442.2 MB, free: 4.906 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/3.075, allocations: 0 / 442.2 MB, free: 4.906 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002962/3.076, allocations: 104.9 kB / 442.3 MB, free: 4.785 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004849/3.076, allocations: 497.3 kB / 442.8 MB, free: 4.277 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001762/3.076, allocations: 108.8 kB / 442.9 MB, free: 4.152 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.889e-05/3.076, allocations: 0 / 442.9 MB, free: 4.152 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001174/3.077, allocations: 4 kB / 442.9 MB, free: 4.148 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.582e-05/3.077, allocations: 7.891 kB / 442.9 MB, free: 4.141 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.778e-05/3.077, allocations: 4 kB / 442.9 MB, free: 4.137 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0003659/3.077, allocations: 187 kB / 443.1 MB, free: 3.953 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002334/3.079, allocations: 32 kB / 443.1 MB, free: 3.922 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.001311/3.081, allocations: 326.5 kB / 443.4 MB, free: 3.676 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003544/3.081, allocations: 97.69 kB / 443.5 MB, free: 3.574 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/3.081, allocations: 0 / 443.5 MB, free: 3.574 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001039/3.081, allocations: 23.94 kB / 443.5 MB, free: 3.551 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004441/3.082, allocations: 25.66 kB / 443.6 MB, free: 3.523 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008065/3.082, allocations: 196 kB / 443.8 MB, free: 3.305 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000573/3.083, allocations: 0.7355 MB / 444.5 MB, free: 2.547 MB / 378.7 MB Notification: Performance of SimCode: time 1.032e-06/3.083, allocations: 0 / 444.5 MB, free: 2.547 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat does not exist to compare? outputFormat=mat