Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test55,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Tables_CombiTimeTable_Test55",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.361/2.361, allocations: 235 MB / 242 MB, free: 9.754 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1528/2.514, allocations: 57.21 MB / 299.2 MB, free: 428 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2819/2.796, allocations: 54.85 MB / 354.1 MB, free: 13.4 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1809/2.977, allocations: 81.57 MB / 435.7 MB, free: 11.72 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002989/2.977, allocations: 75.89 kB / 435.7 MB, free: 11.64 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.04796/3.025, allocations: 7.065 MB / 442.8 MB, free: 4.508 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.73e-05/3.025, allocations: 12 kB / 442.8 MB, free: 4.496 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.802e-05/3.026, allocations: 15.75 kB / 442.8 MB, free: 4.48 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000545/3.026, allocations: 202.8 kB / 443 MB, free: 4.242 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.374e-05/3.026, allocations: 0 / 443 MB, free: 4.242 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.37e-05/3.026, allocations: 4 kB / 443 MB, free: 4.238 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001478/3.026, allocations: 20 kB / 443 MB, free: 4.219 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002239/3.027, allocations: 67.39 kB / 443.1 MB, free: 4.141 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.647e-05/3.027, allocations: 4 kB / 443.1 MB, free: 4.137 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.098e-05/3.027, allocations: 0 / 443.1 MB, free: 4.137 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.116e-05/3.027, allocations: 7.984 kB / 443.1 MB, free: 4.129 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000657/3.027, allocations: 277.3 kB / 443.4 MB, free: 3.82 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002048/3.028, allocations: 46.7 kB / 443.4 MB, free: 3.766 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.351e-05/3.028, allocations: 28.88 kB / 443.5 MB, free: 3.734 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.883e-05/3.028, allocations: 0 / 443.5 MB, free: 3.734 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001696/3.028, allocations: 63.41 kB / 443.5 MB, free: 3.66 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.845e-06/3.028, allocations: 0 / 443.5 MB, free: 3.66 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008464/3.029, allocations: 137.2 kB / 443.7 MB, free: 3.52 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.893e-05/3.029, allocations: 77.11 kB / 443.7 MB, free: 3.426 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002892/3.029, allocations: 136.6 kB / 443.9 MB, free: 3.285 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.064e-05/3.029, allocations: 29.7 kB / 443.9 MB, free: 3.25 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.434e-05/3.029, allocations: 91.98 kB / 444 MB, free: 3.156 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.535e-05/3.029, allocations: 31.64 kB / 444 MB, free: 3.125 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.703e-05/3.029, allocations: 4 kB / 444 MB, free: 3.121 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001618/3.03, allocations: 318.8 kB / 444.3 MB, free: 2.801 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001393/3.03, allocations: 24 kB / 444.4 MB, free: 2.777 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000169/3.03, allocations: 50.58 kB / 444.4 MB, free: 2.719 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002451/3.03, allocations: 31.92 kB / 444.4 MB, free: 2.688 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/3.03, allocations: 0 / 444.4 MB, free: 2.688 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005624/3.031, allocations: 125.6 kB / 444.6 MB, free: 2.559 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.45e-05/3.031, allocations: 4 kB / 444.6 MB, free: 2.555 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/3.031, allocations: 0 / 444.6 MB, free: 2.555 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.389e-05/3.031, allocations: 0 / 444.6 MB, free: 2.555 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002819/3.031, allocations: 27.86 kB / 444.6 MB, free: 2.527 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/3.031, allocations: 0 / 444.6 MB, free: 2.527 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001683/3.032, allocations: 7.906 kB / 444.6 MB, free: 2.52 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.935e-05/3.032, allocations: 4 kB / 444.6 MB, free: 2.516 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.0001577/3.032, allocations: 117 kB / 444.7 MB, free: 2.395 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.153e-05/3.032, allocations: 7.906 kB / 444.7 MB, free: 2.387 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005305/3.032, allocations: 98.11 kB / 444.8 MB, free: 2.285 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.762e-06/3.032, allocations: 0 / 444.8 MB, free: 2.285 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.862e-06/3.032, allocations: 0 / 444.8 MB, free: 2.285 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.104e-05/3.032, allocations: 3.906 kB / 444.8 MB, free: 2.281 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009141/3.033, allocations: 355.9 kB / 445.2 MB, free: 1.887 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/3.033, allocations: 32 / 445.2 MB, free: 1.887 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001483/3.034, allocations: 19.91 kB / 445.2 MB, free: 1.867 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.763e-06/3.034, allocations: 4 kB / 445.2 MB, free: 1.863 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.369e-05/3.034, allocations: 3.984 kB / 445.2 MB, free: 1.859 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/3.034, allocations: 0 / 445.2 MB, free: 1.859 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.137e-06/3.034, allocations: 4.344 kB / 445.2 MB, free: 1.855 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005135/3.034, allocations: 206 kB / 445.4 MB, free: 1.629 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006897/3.035, allocations: 0.5883 MB / 446 MB, free: 1.012 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001558/3.035, allocations: 96.91 kB / 446.1 MB, free: 0.8984 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.45e-05/3.035, allocations: 0 / 446.1 MB, free: 0.8984 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002457/3.035, allocations: 4 kB / 446.1 MB, free: 0.8945 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.446e-05/3.036, allocations: 11.98 kB / 446.1 MB, free: 0.8828 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.715e-05/3.036, allocations: 4 kB / 446.1 MB, free: 0.8789 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0001906/3.036, allocations: 111.2 kB / 446.2 MB, free: 0.7695 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002411/3.038, allocations: 55.92 kB / 446.3 MB, free: 0.7148 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.002047/3.04, allocations: 419.4 kB / 446.7 MB, free: 400 kB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004855/3.041, allocations: 101.7 kB / 446.8 MB, free: 292 kB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.47e-06/3.041, allocations: 4 kB / 446.8 MB, free: 288 kB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001562/3.041, allocations: 27.94 kB / 446.8 MB, free: 260 kB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006303/3.042, allocations: 27.75 kB / 446.8 MB, free: 232 kB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007731/3.042, allocations: 129.4 kB / 447 MB, free: 76 kB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.1402/3.183, allocations: 0.7298 MB / 447.7 MB, free: 130.3 MB / 378.7 MB Notification: Performance of SimCode: time 1.603e-06/3.183, allocations: 0 / 447.7 MB, free: 130.3 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat does not exist to compare? outputFormat=mat