Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test45,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Tables_CombiTimeTable_Test45",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.48/2.48, allocations: 235.1 MB / 242 MB, free: 9.746 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2053/2.685, allocations: 57.2 MB / 299.2 MB, free: 432 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3025/2.988, allocations: 54.86 MB / 354.1 MB, free: 13.39 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1768/3.165, allocations: 81.32 MB / 435.4 MB, free: 11.96 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000422/3.165, allocations: 75.95 kB / 435.5 MB, free: 11.88 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. 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.03776/3.203, allocations: 4.697 MB / 440.2 MB, free: 7.117 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.042e-05/3.203, allocations: 8 kB / 440.2 MB, free: 7.109 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001003/3.203, allocations: 11.91 kB / 440.2 MB, free: 7.098 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006209/3.204, allocations: 214.8 kB / 440.4 MB, free: 6.848 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.59e-05/3.204, allocations: 0 / 440.4 MB, free: 6.848 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.425e-05/3.204, allocations: 8 kB / 440.4 MB, free: 6.84 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001689/3.204, allocations: 19.98 kB / 440.4 MB, free: 6.82 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002142/3.205, allocations: 53.67 kB / 440.5 MB, free: 6.762 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.815e-05/3.205, allocations: 0 / 440.5 MB, free: 6.762 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.547e-05/3.205, allocations: 0 / 440.5 MB, free: 6.762 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.237e-05/3.205, allocations: 7.938 kB / 440.5 MB, free: 6.754 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008127/3.206, allocations: 293.4 kB / 440.8 MB, free: 6.43 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003006/3.206, allocations: 54.69 kB / 440.8 MB, free: 6.367 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001034/3.206, allocations: 16.98 kB / 440.9 MB, free: 6.348 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.73e-05/3.206, allocations: 0 / 440.9 MB, free: 6.348 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002126/3.206, allocations: 67.25 kB / 440.9 MB, free: 6.27 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 3.917e-06/3.206, allocations: 0 / 440.9 MB, free: 6.27 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0009778/3.207, allocations: 141.2 kB / 441.1 MB, free: 6.125 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.798e-05/3.207, allocations: 55.41 kB / 441.1 MB, free: 6.059 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004348/3.208, allocations: 174.4 kB / 441.3 MB, free: 5.875 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.852e-05/3.208, allocations: 29.7 kB / 441.3 MB, free: 5.84 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.248e-05/3.208, allocations: 92.12 kB / 441.4 MB, free: 5.746 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.132e-05/3.208, allocations: 23.66 kB / 441.4 MB, free: 5.723 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.908e-05/3.208, allocations: 0 / 441.4 MB, free: 5.723 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001908/3.208, allocations: 326.7 kB / 441.7 MB, free: 5.395 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001975/3.209, allocations: 32 kB / 441.8 MB, free: 5.363 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002338/3.209, allocations: 53.64 kB / 441.8 MB, free: 5.305 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002523/3.209, allocations: 43.98 kB / 441.9 MB, free: 5.262 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/3.209, allocations: 3.938 kB / 441.9 MB, free: 5.258 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006906/3.21, allocations: 129.6 kB / 442 MB, free: 5.125 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.737e-05/3.21, allocations: 4 kB / 442 MB, free: 5.121 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/3.21, allocations: 0 / 442 MB, free: 5.121 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.725e-05/3.21, allocations: 4 kB / 442 MB, free: 5.117 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002904/3.21, allocations: 20.02 kB / 442 MB, free: 5.098 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.3e-05/3.21, allocations: 3.938 kB / 442 MB, free: 5.094 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001943/3.211, allocations: 11.94 kB / 442 MB, free: 5.082 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.701e-05/3.211, allocations: 4 kB / 442 MB, free: 5.078 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 (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.0001655/3.211, allocations: 110.9 kB / 442.2 MB, free: 4.965 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.367e-05/3.211, allocations: 11.81 kB / 442.2 MB, free: 4.953 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005716/3.212, allocations: 107 kB / 442.3 MB, free: 4.848 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.183e-06/3.212, allocations: 0 / 442.3 MB, free: 4.848 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.323e-06/3.212, allocations: 0 / 442.3 MB, free: 4.848 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.18e-05/3.212, allocations: 3.984 kB / 442.3 MB, free: 4.844 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001073/3.213, allocations: 379.8 kB / 442.6 MB, free: 4.426 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.531e-06/3.213, allocations: 0 / 442.6 MB, free: 4.426 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001529/3.213, allocations: 12 kB / 442.7 MB, free: 4.414 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.784e-06/3.213, allocations: 0 / 442.7 MB, free: 4.414 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.301e-05/3.213, allocations: 0 / 442.7 MB, free: 4.414 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.013e-05/3.213, allocations: 4 kB / 442.7 MB, free: 4.41 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.18e-06/3.213, allocations: 0 / 442.7 MB, free: 4.41 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005307/3.214, allocations: 214 kB / 442.9 MB, free: 4.176 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0008244/3.214, allocations: 0.5727 MB / 443.4 MB, free: 3.574 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001975/3.215, allocations: 108.9 kB / 443.6 MB, free: 3.449 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.127e-05/3.215, allocations: 4 kB / 443.6 MB, free: 3.445 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002518/3.215, allocations: 4 kB / 443.6 MB, free: 3.441 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.95e-05/3.215, allocations: 11.98 kB / 443.6 MB, free: 3.43 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.69e-05/3.215, allocations: 4 kB / 443.6 MB, free: 3.426 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0003373/3.216, allocations: 136 kB / 443.7 MB, free: 3.293 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002524/3.218, allocations: 48.12 kB / 443.8 MB, free: 3.246 MB / 378.7 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.001906/3.22, allocations: 352.8 kB / 444.1 MB, free: 2.977 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000572/3.221, allocations: 113.7 kB / 444.2 MB, free: 2.859 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.669e-05/3.221, allocations: 0 / 444.2 MB, free: 2.859 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001636/3.221, allocations: 31.94 kB / 444.2 MB, free: 2.828 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006892/3.222, allocations: 23.97 kB / 444.3 MB, free: 2.805 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000964/3.223, allocations: 169 kB / 444.4 MB, free: 2.617 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006485/3.223, allocations: 0.727 MB / 445.2 MB, free: 1.863 MB / 378.7 MB Notification: Performance of SimCode: time 1.713e-06/3.223, allocations: 0 / 445.2 MB, free: 1.863 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat does not exist to compare? outputFormat=mat