Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test64,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Tables_CombiTimeTable_Test64",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.336/2.336, allocations: 235 MB / 242 MB, free: 9.754 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2811/2.617, allocations: 57.21 MB / 299.2 MB, free: 428 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2936/2.911, allocations: 54.85 MB / 354.1 MB, free: 13.39 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1576/3.068, allocations: 81.16 MB / 435.2 MB, free: 12.12 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002833/3.069, allocations: 75.89 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.02296/3.091, allocations: 4.778 MB / 440.1 MB, free: 7.203 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.795e-05/3.092, allocations: 8 kB / 440.1 MB, free: 7.195 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.654e-05/3.092, allocations: 19.75 kB / 440.1 MB, free: 7.176 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004663/3.092, allocations: 222.7 kB / 440.3 MB, free: 6.918 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.252e-05/3.092, allocations: 4 kB / 440.3 MB, free: 6.914 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.283e-05/3.092, allocations: 4 kB / 440.3 MB, free: 6.91 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001006/3.092, allocations: 15.98 kB / 440.4 MB, free: 6.895 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001187/3.092, allocations: 41.69 kB / 440.4 MB, free: 6.848 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/3.092, allocations: 0 / 440.4 MB, free: 6.848 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.345e-05/3.092, allocations: 0 / 440.4 MB, free: 6.848 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.008e-05/3.093, allocations: 7.984 kB / 440.4 MB, free: 6.84 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002699/3.093, allocations: 186.1 kB / 440.6 MB, free: 6.621 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001538/3.093, allocations: 58.56 kB / 440.6 MB, free: 6.555 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.114e-05/3.093, allocations: 16.86 kB / 440.7 MB, free: 6.535 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.809e-05/3.093, allocations: 0 / 440.7 MB, free: 6.535 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001266/3.093, allocations: 55.5 kB / 440.7 MB, free: 6.469 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.803e-06/3.093, allocations: 0 / 440.7 MB, free: 6.469 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002761/3.093, allocations: 81.48 kB / 440.8 MB, free: 6.383 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.623e-05/3.094, allocations: 59.34 kB / 440.9 MB, free: 6.312 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004284/3.094, allocations: 226.8 kB / 441.1 MB, free: 6.082 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.683e-05/3.094, allocations: 25.7 kB / 441.1 MB, free: 6.051 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.996e-05/3.094, allocations: 100 kB / 441.2 MB, free: 5.949 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.606e-05/3.094, allocations: 11.84 kB / 441.2 MB, free: 5.938 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.246e-05/3.094, allocations: 4 kB / 441.2 MB, free: 5.934 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001349/3.094, allocations: 322.8 kB / 441.5 MB, free: 5.609 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.551e-05/3.094, allocations: 24 kB / 441.6 MB, free: 5.586 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001124/3.095, allocations: 45.7 kB / 441.6 MB, free: 5.535 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001199/3.095, allocations: 31.98 kB / 441.6 MB, free: 5.504 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/3.095, allocations: 0 / 441.6 MB, free: 5.504 MB / 378.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000339/3.095, allocations: 117.4 kB / 441.7 MB, free: 5.383 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/3.095, allocations: 4 kB / 441.8 MB, free: 5.379 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/3.095, allocations: 0 / 441.8 MB, free: 5.379 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.297e-05/3.095, allocations: 7.906 kB / 441.8 MB, free: 5.371 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00014/3.095, allocations: 11.94 kB / 441.8 MB, free: 5.359 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/3.095, allocations: 8.016 kB / 441.8 MB, free: 5.352 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001126/3.095, allocations: 4 kB / 441.8 MB, free: 5.348 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.215e-05/3.095, allocations: 8 kB / 441.8 MB, free: 5.34 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 9.908e-05/3.096, allocations: 112.8 kB / 441.9 MB, free: 5.223 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.001e-05/3.096, allocations: 11.81 kB / 441.9 MB, free: 5.211 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002547/3.096, allocations: 82.77 kB / 442 MB, free: 5.129 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.267e-06/3.096, allocations: 0 / 442 MB, free: 5.129 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/3.096, allocations: 0 / 442 MB, free: 5.129 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.754e-06/3.096, allocations: 11.92 kB / 442 MB, free: 5.117 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000245/3.096, allocations: 178.2 kB / 442.2 MB, free: 4.906 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.119e-06/3.096, allocations: 3.906 kB / 442.2 MB, free: 4.902 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.352e-05/3.096, allocations: 4 kB / 442.2 MB, free: 4.898 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.407e-06/3.096, allocations: 0 / 442.2 MB, free: 4.898 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.991e-05/3.096, allocations: 3.984 kB / 442.2 MB, free: 4.895 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/3.096, allocations: 0 / 442.2 MB, free: 4.895 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.937e-06/3.096, allocations: 4 kB / 442.2 MB, free: 4.891 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000233/3.097, allocations: 100.9 kB / 442.3 MB, free: 4.773 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004205/3.097, allocations: 497.6 kB / 442.8 MB, free: 4.266 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001396/3.097, allocations: 108.8 kB / 442.9 MB, free: 4.141 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.15e-05/3.097, allocations: 0 / 442.9 MB, free: 4.141 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.88e-05/3.097, allocations: 3.984 kB / 442.9 MB, free: 4.137 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.238e-05/3.097, allocations: 11.89 kB / 442.9 MB, free: 4.125 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.095e-05/3.097, allocations: 0 / 442.9 MB, free: 4.125 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0003195/3.098, allocations: 191 kB / 443.1 MB, free: 3.938 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001343/3.099, allocations: 32 kB / 443.1 MB, free: 3.906 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.0009913/3.1, allocations: 319.8 kB / 443.4 MB, free: 3.668 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002978/3.1, allocations: 97.7 kB / 443.5 MB, free: 3.566 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/3.1, allocations: 0 / 443.5 MB, free: 3.566 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.45e-05/3.101, allocations: 19.94 kB / 443.5 MB, free: 3.547 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003595/3.101, allocations: 28.09 kB / 443.6 MB, free: 3.516 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006865/3.102, allocations: 196 kB / 443.8 MB, free: 3.297 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004574/3.102, allocations: 0.7394 MB / 444.5 MB, free: 2.535 MB / 378.7 MB Notification: Performance of SimCode: time 1.182e-06/3.102, allocations: 0 / 444.5 MB, free: 2.535 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Tables.CombiTimeTable.Test64_res.mat does not exist to compare? outputFormat=mat