Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test11,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Tables_CombiTimeTable_Test11",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.504/2.504, allocations: 235 MB / 242 MB, free: 9.738 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1743/2.679, allocations: 57.21 MB / 299.2 MB, free: 416 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3365/3.015, allocations: 54.86 MB / 354.1 MB, free: 13.39 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.206/3.221, allocations: 82.08 MB / 436.2 MB, free: 11.19 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004329/3.222, allocations: 71.97 kB / 436.2 MB, free: 11.12 MB / 378.7 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$t_new.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.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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.01989/3.242, allocations: 3.734 MB / 440 MB, free: 7.309 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.097e-05/3.242, allocations: 12 kB / 440 MB, free: 7.297 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.987e-05/3.242, allocations: 11.81 kB / 440 MB, free: 7.285 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004926/3.242, allocations: 223.4 kB / 440.2 MB, free: 7.023 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.204e-05/3.243, allocations: 0 / 440.2 MB, free: 7.023 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.924e-05/3.243, allocations: 8 kB / 440.2 MB, free: 7.016 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001726/3.243, allocations: 35.89 kB / 440.3 MB, free: 6.98 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002081/3.243, allocations: 73.67 kB / 440.3 MB, free: 6.902 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.499e-05/3.243, allocations: 0 / 440.3 MB, free: 6.902 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.004e-05/3.243, allocations: 3.938 kB / 440.3 MB, free: 6.898 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.254e-06/3.243, allocations: 0 / 440.3 MB, free: 6.898 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008554/3.244, allocations: 349.2 kB / 440.7 MB, free: 6.52 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003904/3.244, allocations: 74.69 kB / 440.7 MB, free: 6.438 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001077/3.244, allocations: 36.8 kB / 440.8 MB, free: 6.398 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.418e-05/3.244, allocations: 3.984 kB / 440.8 MB, free: 6.395 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001782/3.245, allocations: 67.41 kB / 440.8 MB, free: 6.316 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 3.456e-06/3.245, allocations: 4 kB / 440.9 MB, free: 6.312 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003792/3.245, allocations: 93.42 kB / 440.9 MB, free: 6.215 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.451e-05/3.245, allocations: 59.41 kB / 441 MB, free: 6.145 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002508/3.245, allocations: 154.4 kB / 441.2 MB, free: 5.984 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.664e-05/3.245, allocations: 25.7 kB / 441.2 MB, free: 5.953 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001023/3.246, allocations: 96.03 kB / 441.3 MB, free: 5.855 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.744e-05/3.246, allocations: 27.64 kB / 441.3 MB, free: 5.828 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.477e-05/3.246, allocations: 4.094 kB / 441.3 MB, free: 5.824 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001626/3.246, allocations: 338.7 kB / 441.6 MB, free: 5.484 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001268/3.246, allocations: 28 kB / 441.7 MB, free: 5.457 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001581/3.246, allocations: 58.56 kB / 441.7 MB, free: 5.391 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001631/3.246, allocations: 39.98 kB / 441.8 MB, free: 5.352 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/3.246, allocations: 0 / 441.8 MB, free: 5.352 MB / 378.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004427/3.247, allocations: 141.6 kB / 441.9 MB, free: 5.207 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.125e-05/3.247, allocations: 11.97 kB / 441.9 MB, free: 5.195 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/3.247, allocations: 0 / 441.9 MB, free: 5.195 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.2e-05/3.247, allocations: 0 / 441.9 MB, free: 5.195 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002481/3.247, allocations: 31.92 kB / 441.9 MB, free: 5.164 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/3.247, allocations: 0 / 441.9 MB, free: 5.164 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001537/3.247, allocations: 11.91 kB / 442 MB, free: 5.152 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.255e-05/3.247, allocations: 4 kB / 442 MB, free: 5.148 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (13): * Single equations (assignments): 12 * 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.0001124/3.247, allocations: 112.9 kB / 442.1 MB, free: 5.031 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.711e-05/3.248, allocations: 15.81 kB / 442.1 MB, free: 5.016 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003421/3.248, allocations: 106.9 kB / 442.2 MB, free: 4.906 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/3.248, allocations: 4 kB / 442.2 MB, free: 4.902 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.151e-06/3.248, allocations: 0 / 442.2 MB, free: 4.902 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.827e-06/3.248, allocations: 3.984 kB / 442.2 MB, free: 4.898 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002385/3.248, allocations: 178.1 kB / 442.4 MB, free: 4.688 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.654e-06/3.248, allocations: 0 / 442.4 MB, free: 4.688 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001828/3.248, allocations: 19.92 kB / 442.4 MB, free: 4.668 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.805e-06/3.248, allocations: 8 kB / 442.4 MB, free: 4.66 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.847e-05/3.248, allocations: 0 / 442.4 MB, free: 4.66 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/3.248, allocations: 0 / 442.4 MB, free: 4.66 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/3.248, allocations: 0 / 442.4 MB, free: 4.66 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004161/3.249, allocations: 156.9 kB / 442.5 MB, free: 4.488 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0007557/3.25, allocations: 0.5759 MB / 443.1 MB, free: 3.891 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001277/3.25, allocations: 100.9 kB / 443.2 MB, free: 3.773 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.22e-05/3.25, allocations: 0 / 443.2 MB, free: 3.773 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000143/3.25, allocations: 7.984 kB / 443.2 MB, free: 3.766 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.583e-05/3.25, allocations: 7.984 kB / 443.2 MB, free: 3.758 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.852e-05/3.25, allocations: 4 kB / 443.2 MB, free: 3.754 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0001551/3.25, allocations: 120 kB / 443.4 MB, free: 3.637 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001341/3.252, allocations: 47.89 kB / 443.4 MB, free: 3.59 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.001026/3.253, allocations: 315.6 kB / 443.7 MB, free: 3.355 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000376/3.253, allocations: 125.7 kB / 443.8 MB, free: 3.227 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/3.253, allocations: 0 / 443.8 MB, free: 3.227 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001171/3.253, allocations: 31.94 kB / 443.9 MB, free: 3.195 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004396/3.254, allocations: 23.97 kB / 443.9 MB, free: 3.172 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006892/3.254, allocations: 171.5 kB / 444.1 MB, free: 2.984 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004265/3.255, allocations: 0.7392 MB / 444.8 MB, free: 2.219 MB / 378.7 MB Notification: Performance of SimCode: time 1.182e-06/3.255, allocations: 0 / 444.8 MB, free: 2.219 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat does not exist to compare? outputFormat=mat