Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test51,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Tables_CombiTimeTable_Test51",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.685/2.685, allocations: 235 MB / 242 MB, free: 9.742 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2047/2.889, allocations: 57.21 MB / 299.2 MB, free: 420 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2975/3.187, allocations: 54.85 MB / 354.1 MB, free: 13.39 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.169/3.356, allocations: 81.32 MB / 435.4 MB, free: 11.96 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004321/3.356, allocations: 71.97 kB / 435.5 MB, free: 11.89 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.03137/3.388, allocations: 4.803 MB / 440.3 MB, free: 7.02 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.164e-05/3.388, allocations: 8 kB / 440.3 MB, free: 7.012 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001101/3.388, allocations: 15.81 kB / 440.3 MB, free: 6.996 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006399/3.389, allocations: 214.9 kB / 440.5 MB, free: 6.746 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.915e-05/3.389, allocations: 4 kB / 440.5 MB, free: 6.742 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.899e-05/3.389, allocations: 4 kB / 440.5 MB, free: 6.738 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000157/3.389, allocations: 16 kB / 440.5 MB, free: 6.723 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002167/3.389, allocations: 57.61 kB / 440.6 MB, free: 6.66 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.081e-05/3.389, allocations: 3.906 kB / 440.6 MB, free: 6.656 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.955e-05/3.389, allocations: 0 / 440.6 MB, free: 6.656 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/3.389, allocations: 0 / 440.6 MB, free: 6.656 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009019/3.39, allocations: 305.4 kB / 440.9 MB, free: 6.32 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002353/3.391, allocations: 46.69 kB / 440.9 MB, free: 6.266 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000102/3.391, allocations: 24.98 kB / 441 MB, free: 6.238 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.515e-05/3.391, allocations: 0 / 441 MB, free: 6.238 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001965/3.391, allocations: 63.34 kB / 441 MB, free: 6.164 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 3.366e-06/3.391, allocations: 4 kB / 441 MB, free: 6.16 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0009283/3.392, allocations: 141.1 kB / 441.2 MB, free: 6.016 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.305e-05/3.392, allocations: 59.39 kB / 441.2 MB, free: 5.945 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000475/3.393, allocations: 194.6 kB / 441.4 MB, free: 5.75 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.986e-05/3.393, allocations: 29.7 kB / 441.4 MB, free: 5.715 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.72e-05/3.393, allocations: 92.12 kB / 441.5 MB, free: 5.621 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.917e-05/3.393, allocations: 23.66 kB / 441.5 MB, free: 5.598 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.496e-05/3.393, allocations: 3.938 kB / 441.6 MB, free: 5.594 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002002/3.393, allocations: 326.8 kB / 441.9 MB, free: 5.266 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001771/3.393, allocations: 36 kB / 441.9 MB, free: 5.23 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001966/3.393, allocations: 49.7 kB / 442 MB, free: 5.176 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002097/3.394, allocations: 39.89 kB / 442 MB, free: 5.137 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/3.394, allocations: 3.938 kB / 442 MB, free: 5.133 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000645/3.394, allocations: 133.5 kB / 442.1 MB, free: 4.996 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.597e-05/3.394, allocations: 4 kB / 442.1 MB, free: 4.992 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.414e-05/3.394, allocations: 4 kB / 442.1 MB, free: 4.988 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.463e-05/3.394, allocations: 4.031 kB / 442.1 MB, free: 4.984 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002611/3.395, allocations: 19.89 kB / 442.2 MB, free: 4.965 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.086e-06/3.395, allocations: 0 / 442.2 MB, free: 4.965 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001907/3.395, allocations: 4 kB / 442.2 MB, free: 4.961 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.174e-05/3.395, allocations: 4 kB / 442.2 MB, free: 4.957 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.0001587/3.395, allocations: 113 kB / 442.3 MB, free: 4.84 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.509e-05/3.395, allocations: 15.81 kB / 442.3 MB, free: 4.824 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005435/3.396, allocations: 99.02 kB / 442.4 MB, free: 4.723 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.088e-06/3.396, allocations: 8 kB / 442.4 MB, free: 4.715 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/3.396, allocations: 0 / 442.4 MB, free: 4.715 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.257e-05/3.396, allocations: 3.984 kB / 442.4 MB, free: 4.711 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001029/3.397, allocations: 383.8 kB / 442.8 MB, free: 4.289 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/3.397, allocations: 0 / 442.8 MB, free: 4.289 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001683/3.397, allocations: 11.98 kB / 442.8 MB, free: 4.277 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-05/3.397, allocations: 4 kB / 442.8 MB, free: 4.273 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.099e-05/3.397, allocations: 0 / 442.8 MB, free: 4.273 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.819e-06/3.397, allocations: 0 / 442.8 MB, free: 4.273 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.187e-05/3.397, allocations: 15.86 kB / 442.8 MB, free: 4.258 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004947/3.398, allocations: 206.2 kB / 443 MB, free: 4.031 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0007065/3.399, allocations: 0.5842 MB / 443.6 MB, free: 3.418 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001951/3.399, allocations: 104.9 kB / 443.7 MB, free: 3.297 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.673e-05/3.399, allocations: 0 / 443.7 MB, free: 3.297 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002645/3.399, allocations: 7.984 kB / 443.7 MB, free: 3.289 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.103e-05/3.399, allocations: 4 kB / 443.7 MB, free: 3.285 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.517e-05/3.399, allocations: 4 kB / 443.7 MB, free: 3.281 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0003502/3.4, allocations: 160.3 kB / 443.9 MB, free: 3.125 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00246/3.402, allocations: 47.94 kB / 443.9 MB, free: 3.078 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.001796/3.404, allocations: 352.7 kB / 444.3 MB, free: 2.816 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005451/3.405, allocations: 121.6 kB / 444.4 MB, free: 2.691 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.061e-06/3.405, allocations: 4.062 kB / 444.4 MB, free: 2.688 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001384/3.405, allocations: 28 kB / 444.4 MB, free: 2.66 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006841/3.405, allocations: 19.84 kB / 444.4 MB, free: 2.641 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009819/3.407, allocations: 191.8 kB / 444.6 MB, free: 2.426 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006133/3.407, allocations: 0.7309 MB / 445.3 MB, free: 1.668 MB / 378.7 MB Notification: Performance of SimCode: time 1.764e-06/3.407, allocations: 4.062 kB / 445.4 MB, free: 1.664 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat does not exist to compare? outputFormat=mat