Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test28,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Tables_CombiTimeTable_Test28",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.549/2.549, allocations: 235.1 MB / 242 MB, free: 9.758 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1922/2.742, allocations: 57.2 MB / 299.2 MB, free: 448 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3038/3.046, allocations: 54.85 MB / 354.1 MB, free: 13.39 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2091/3.255, allocations: 81.28 MB / 435.4 MB, free: 12 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002953/3.255, allocations: 71.89 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.02664/3.282, allocations: 4.537 MB / 440 MB, free: 7.32 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.842e-05/3.282, allocations: 8 kB / 440 MB, free: 7.312 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.699e-05/3.282, allocations: 7.906 kB / 440 MB, free: 7.305 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006011/3.283, allocations: 206.7 kB / 440.2 MB, free: 7.062 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.526e-05/3.283, allocations: 0 / 440.2 MB, free: 7.062 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.599e-05/3.283, allocations: 15.89 kB / 440.2 MB, free: 7.047 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001353/3.283, allocations: 16 kB / 440.2 MB, free: 7.031 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000154/3.283, allocations: 53.66 kB / 440.3 MB, free: 6.973 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.465e-05/3.283, allocations: 7.938 kB / 440.3 MB, free: 6.965 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.813e-05/3.283, allocations: 4 kB / 440.3 MB, free: 6.961 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.486e-06/3.283, allocations: 4 kB / 440.3 MB, free: 6.957 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006582/3.284, allocations: 293.3 kB / 440.6 MB, free: 6.633 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002711/3.284, allocations: 46.69 kB / 440.6 MB, free: 6.578 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.371e-05/3.284, allocations: 20.98 kB / 440.6 MB, free: 6.555 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.842e-05/3.284, allocations: 0 / 440.6 MB, free: 6.555 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001541/3.284, allocations: 67.33 kB / 440.7 MB, free: 6.477 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.194e-06/3.284, allocations: 0 / 440.7 MB, free: 6.477 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007655/3.285, allocations: 141.3 kB / 440.8 MB, free: 6.332 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.215e-05/3.285, allocations: 55.34 kB / 440.9 MB, free: 6.266 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004338/3.286, allocations: 165.2 kB / 441.1 MB, free: 6.098 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.198e-05/3.286, allocations: 25.7 kB / 441.1 MB, free: 6.066 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001212/3.286, allocations: 103.9 kB / 441.2 MB, free: 5.961 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.182e-05/3.286, allocations: 19.72 kB / 441.2 MB, free: 5.941 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.865e-05/3.286, allocations: 0 / 441.2 MB, free: 5.941 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002955/3.286, allocations: 322.8 kB / 441.5 MB, free: 5.617 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001945/3.286, allocations: 35.98 kB / 441.6 MB, free: 5.582 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002531/3.287, allocations: 49.66 kB / 441.6 MB, free: 5.527 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002393/3.287, allocations: 35.98 kB / 441.6 MB, free: 5.492 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.452e-06/3.287, allocations: 4 kB / 441.6 MB, free: 5.488 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005683/3.288, allocations: 137.4 kB / 441.8 MB, free: 5.348 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/3.288, allocations: 4 kB / 441.8 MB, free: 5.344 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.049e-05/3.288, allocations: 3.984 kB / 441.8 MB, free: 5.34 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.407e-05/3.288, allocations: 4 kB / 441.8 MB, free: 5.336 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002034/3.288, allocations: 19.94 kB / 441.8 MB, free: 5.316 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.102e-06/3.288, allocations: 0 / 441.8 MB, free: 5.316 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001185/3.288, allocations: 4 kB / 441.8 MB, free: 5.312 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.763e-05/3.288, allocations: 7.984 kB / 441.8 MB, free: 5.305 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.0001171/3.288, allocations: 109 kB / 441.9 MB, free: 5.191 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.32e-05/3.288, allocations: 11.81 kB / 441.9 MB, free: 5.18 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003853/3.289, allocations: 106.1 kB / 442 MB, free: 5.066 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.264e-06/3.289, allocations: 3.984 kB / 442 MB, free: 5.062 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/3.289, allocations: 0 / 442 MB, free: 5.062 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/3.289, allocations: 0 / 442 MB, free: 5.062 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006718/3.289, allocations: 375.8 kB / 442.4 MB, free: 4.648 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/3.289, allocations: 0 / 442.4 MB, free: 4.648 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001048/3.29, allocations: 8 kB / 442.4 MB, free: 4.641 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.009e-06/3.29, allocations: 0 / 442.4 MB, free: 4.641 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.331e-05/3.29, allocations: 11.91 kB / 442.4 MB, free: 4.629 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/3.29, allocations: 0 / 442.4 MB, free: 4.629 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/3.29, allocations: 0 / 442.4 MB, free: 4.629 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003358/3.29, allocations: 214 kB / 442.6 MB, free: 4.395 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005025/3.291, allocations: 0.5729 MB / 443.2 MB, free: 3.793 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001284/3.291, allocations: 97 kB / 443.3 MB, free: 3.68 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.717e-05/3.291, allocations: 11.98 kB / 443.3 MB, free: 3.668 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001585/3.291, allocations: 4 kB / 443.3 MB, free: 3.664 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.323e-05/3.291, allocations: 7.906 kB / 443.3 MB, free: 3.656 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.389e-05/3.291, allocations: 7.984 kB / 443.3 MB, free: 3.648 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0001924/3.291, allocations: 131.2 kB / 443.5 MB, free: 3.52 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001473/3.293, allocations: 39.92 kB / 443.5 MB, free: 3.48 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.001254/3.294, allocations: 365.1 kB / 443.9 MB, free: 3.207 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003809/3.294, allocations: 117.6 kB / 444 MB, free: 3.086 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/3.294, allocations: 0 / 444 MB, free: 3.086 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001038/3.295, allocations: 28 kB / 444 MB, free: 3.059 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004451/3.295, allocations: 15.98 kB / 444 MB, free: 3.043 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006489/3.296, allocations: 161.3 kB / 444.2 MB, free: 2.859 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005675/3.296, allocations: 0.7231 MB / 444.9 MB, free: 2.109 MB / 378.7 MB Notification: Performance of SimCode: time 1.784e-06/3.296, allocations: 0 / 444.9 MB, free: 2.109 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Tables.CombiTimeTable.Test28_res.mat does not exist to compare? outputFormat=mat