Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test2,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Tables_CombiTimeTable_Test2",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.494/2.494, allocations: 235.1 MB / 242 MB, free: 9.75 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1907/2.685, allocations: 57.21 MB / 299.2 MB, free: 432 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3232/3.008, allocations: 54.84 MB / 354.1 MB, free: 13.39 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1754/3.183, allocations: 81.28 MB / 435.4 MB, free: 12 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003207/3.184, allocations: 71.91 kB / 435.4 MB, free: 11.93 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.02514/3.209, allocations: 4.427 MB / 439.9 MB, free: 7.43 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.035e-05/3.209, allocations: 11.98 kB / 439.9 MB, free: 7.418 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.624e-05/3.209, allocations: 11.81 kB / 439.9 MB, free: 7.406 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004643/3.21, allocations: 202.9 kB / 440.1 MB, free: 7.168 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.364e-05/3.21, allocations: 4 kB / 440.1 MB, free: 7.164 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.633e-05/3.21, allocations: 4 kB / 440.1 MB, free: 7.16 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001245/3.21, allocations: 27.92 kB / 440.1 MB, free: 7.133 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001434/3.21, allocations: 49.67 kB / 440.2 MB, free: 7.078 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.41e-05/3.21, allocations: 0 / 440.2 MB, free: 7.078 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.601e-05/3.21, allocations: 0 / 440.2 MB, free: 7.078 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/3.21, allocations: 0 / 440.2 MB, free: 7.078 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005552/3.211, allocations: 289.3 kB / 440.5 MB, free: 6.758 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001823/3.211, allocations: 58.59 kB / 440.5 MB, free: 6.691 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.2e-05/3.211, allocations: 20.92 kB / 440.5 MB, free: 6.668 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.826e-05/3.211, allocations: 0 / 440.5 MB, free: 6.668 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001448/3.211, allocations: 59.41 kB / 440.6 MB, free: 6.598 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 4.128e-06/3.211, allocations: 7.984 kB / 440.6 MB, free: 6.59 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006927/3.212, allocations: 125.4 kB / 440.7 MB, free: 6.461 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.618e-05/3.212, allocations: 55.41 kB / 440.8 MB, free: 6.395 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002243/3.212, allocations: 152.7 kB / 440.9 MB, free: 6.238 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.3e-05/3.212, allocations: 25.7 kB / 440.9 MB, free: 6.207 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.399e-05/3.212, allocations: 92.12 kB / 441 MB, free: 6.113 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.588e-05/3.212, allocations: 23.66 kB / 441.1 MB, free: 6.09 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.457e-05/3.212, allocations: 4 kB / 441.1 MB, free: 6.086 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002128/3.213, allocations: 318.8 kB / 441.4 MB, free: 5.766 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001266/3.213, allocations: 36 kB / 441.4 MB, free: 5.73 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00015/3.213, allocations: 49.7 kB / 441.5 MB, free: 5.676 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001545/3.213, allocations: 39.98 kB / 441.5 MB, free: 5.637 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.992e-06/3.213, allocations: 0 / 441.5 MB, free: 5.637 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004481/3.214, allocations: 145.3 kB / 441.6 MB, free: 5.488 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/3.214, allocations: 4 kB / 441.6 MB, free: 5.484 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/3.214, allocations: 0 / 441.6 MB, free: 5.484 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.455e-05/3.214, allocations: 4.031 kB / 441.6 MB, free: 5.48 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002105/3.214, allocations: 23.98 kB / 441.7 MB, free: 5.457 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-06/3.214, allocations: 0 / 441.7 MB, free: 5.457 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001157/3.214, allocations: 4 kB / 441.7 MB, free: 5.453 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.449e-05/3.214, allocations: 4 kB / 441.7 MB, free: 5.449 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.0001179/3.214, allocations: 109 kB / 441.8 MB, free: 5.336 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.783e-05/3.214, allocations: 15.75 kB / 441.8 MB, free: 5.32 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003683/3.215, allocations: 94.36 kB / 441.9 MB, free: 5.223 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.093e-06/3.215, allocations: 8 kB / 441.9 MB, free: 5.215 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.125e-06/3.215, allocations: 4 kB / 441.9 MB, free: 5.211 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/3.215, allocations: 0 / 441.9 MB, free: 5.211 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006434/3.215, allocations: 367.8 kB / 442.3 MB, free: 4.805 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/3.215, allocations: 0 / 442.3 MB, free: 4.805 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.782e-05/3.215, allocations: 8 kB / 442.3 MB, free: 4.797 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.275e-06/3.215, allocations: 4 kB / 442.3 MB, free: 4.793 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.52e-05/3.215, allocations: 3.938 kB / 442.3 MB, free: 4.789 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/3.215, allocations: 0 / 442.3 MB, free: 4.789 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.504e-06/3.216, allocations: 12.02 kB / 442.3 MB, free: 4.777 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000321/3.216, allocations: 193.9 kB / 442.5 MB, free: 4.562 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004737/3.216, allocations: 0.5764 MB / 443.1 MB, free: 3.957 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001379/3.216, allocations: 97.38 kB / 443.2 MB, free: 3.844 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.924e-05/3.217, allocations: 7.891 kB / 443.2 MB, free: 3.836 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001675/3.217, allocations: 4 kB / 443.2 MB, free: 3.832 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.536e-05/3.217, allocations: 11.98 kB / 443.2 MB, free: 3.82 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.919e-05/3.217, allocations: 7.938 kB / 443.2 MB, free: 3.812 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0001578/3.217, allocations: 117.8 kB / 443.3 MB, free: 3.699 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001504/3.219, allocations: 39.94 kB / 443.3 MB, free: 3.66 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.00123/3.22, allocations: 357 kB / 443.7 MB, free: 3.395 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003928/3.22, allocations: 113.6 kB / 443.8 MB, free: 3.277 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.828e-06/3.22, allocations: 8.062 kB / 443.8 MB, free: 3.27 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001042/3.22, allocations: 27.98 kB / 443.8 MB, free: 3.242 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004929/3.221, allocations: 23.84 kB / 443.9 MB, free: 3.219 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005861/3.221, allocations: 141 kB / 444 MB, free: 3.055 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004315/3.222, allocations: 0.7231 MB / 444.7 MB, free: 2.305 MB / 378.7 MB Notification: Performance of SimCode: time 1.012e-06/3.222, allocations: 4.062 kB / 444.7 MB, free: 2.301 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat does not exist to compare? outputFormat=mat