Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test21,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Tables_CombiTimeTable_Test21",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.676/2.676, allocations: 235.1 MB / 242 MB, free: 9.754 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2029/2.879, allocations: 57.2 MB / 299.2 MB, free: 444 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.31/3.189, allocations: 54.86 MB / 354.1 MB, free: 13.4 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1792/3.368, allocations: 81.32 MB / 435.4 MB, free: 11.96 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004071/3.368, allocations: 75.8 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.03306/3.401, allocations: 4.619 MB / 440.1 MB, free: 7.207 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.169e-05/3.402, allocations: 11.98 kB / 440.1 MB, free: 7.195 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.231e-05/3.402, allocations: 7.906 kB / 440.1 MB, free: 7.188 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000441/3.402, allocations: 198.9 kB / 440.3 MB, free: 6.949 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.221e-05/3.402, allocations: 0 / 440.3 MB, free: 6.949 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.521e-05/3.402, allocations: 15.91 kB / 440.3 MB, free: 6.934 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001175/3.402, allocations: 15.98 kB / 440.3 MB, free: 6.918 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001475/3.402, allocations: 57.61 kB / 440.4 MB, free: 6.855 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.61e-05/3.402, allocations: 4 kB / 440.4 MB, free: 6.852 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.604e-05/3.403, allocations: 0 / 440.4 MB, free: 6.852 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/3.403, allocations: 0 / 440.4 MB, free: 6.852 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005751/3.403, allocations: 293.3 kB / 440.7 MB, free: 6.527 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001693/3.403, allocations: 46.69 kB / 440.7 MB, free: 6.473 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.802e-05/3.403, allocations: 20.98 kB / 440.8 MB, free: 6.449 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.932e-05/3.403, allocations: 0 / 440.8 MB, free: 6.449 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001409/3.404, allocations: 71.33 kB / 440.8 MB, free: 6.367 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.084e-06/3.404, allocations: 4 kB / 440.8 MB, free: 6.363 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006549/3.404, allocations: 137.3 kB / 441 MB, free: 6.223 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.054e-05/3.404, allocations: 51.41 kB / 441 MB, free: 6.16 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002626/3.405, allocations: 165.2 kB / 441.2 MB, free: 5.992 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.677e-05/3.405, allocations: 29.7 kB / 441.2 MB, free: 5.957 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.914e-05/3.405, allocations: 99.92 kB / 441.3 MB, free: 5.855 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.051e-05/3.405, allocations: 19.72 kB / 441.3 MB, free: 5.836 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.47e-05/3.405, allocations: 4 kB / 441.3 MB, free: 5.832 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001435/3.405, allocations: 322.8 kB / 441.6 MB, free: 5.508 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000125/3.405, allocations: 35.94 kB / 441.7 MB, free: 5.473 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001505/3.405, allocations: 49.7 kB / 441.7 MB, free: 5.418 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001515/3.405, allocations: 39.98 kB / 441.8 MB, free: 5.379 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.574e-06/3.405, allocations: 3.938 kB / 441.8 MB, free: 5.375 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000431/3.406, allocations: 133.5 kB / 441.9 MB, free: 5.238 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.282e-05/3.406, allocations: 4 kB / 441.9 MB, free: 5.234 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/3.406, allocations: 7.938 kB / 441.9 MB, free: 5.227 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.761e-05/3.406, allocations: 0 / 441.9 MB, free: 5.227 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002037/3.406, allocations: 19.98 kB / 441.9 MB, free: 5.207 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/3.406, allocations: 0 / 441.9 MB, free: 5.207 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001128/3.406, allocations: 4 kB / 441.9 MB, free: 5.203 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.338e-05/3.406, allocations: 8.031 kB / 441.9 MB, free: 5.195 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.0001145/3.407, allocations: 109 kB / 442.1 MB, free: 5.082 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.803e-05/3.407, allocations: 11.81 kB / 442.1 MB, free: 5.07 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003752/3.407, allocations: 106.1 kB / 442.2 MB, free: 4.957 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/3.407, allocations: 0 / 442.2 MB, free: 4.957 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/3.407, allocations: 0 / 442.2 MB, free: 4.957 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.095e-05/3.407, allocations: 7.969 kB / 442.2 MB, free: 4.949 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006952/3.408, allocations: 371.8 kB / 442.5 MB, free: 4.539 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/3.408, allocations: 0 / 442.5 MB, free: 4.539 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001022/3.408, allocations: 11.98 kB / 442.5 MB, free: 4.527 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.503e-06/3.408, allocations: 0 / 442.5 MB, free: 4.527 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.083e-05/3.408, allocations: 7.906 kB / 442.6 MB, free: 4.52 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/3.408, allocations: 0 / 442.6 MB, free: 4.52 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/3.408, allocations: 0 / 442.6 MB, free: 4.52 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003316/3.408, allocations: 218 kB / 442.8 MB, free: 4.281 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004628/3.409, allocations: 0.5806 MB / 443.4 MB, free: 3.672 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001114/3.409, allocations: 93 kB / 443.4 MB, free: 3.562 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.646e-05/3.409, allocations: 4 kB / 443.4 MB, free: 3.559 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001638/3.409, allocations: 7.984 kB / 443.5 MB, free: 3.551 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.258e-05/3.409, allocations: 7.906 kB / 443.5 MB, free: 3.543 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.722e-05/3.409, allocations: 4 kB / 443.5 MB, free: 3.539 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0001856/3.409, allocations: 135.2 kB / 443.6 MB, free: 3.406 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001491/3.411, allocations: 39.92 kB / 443.6 MB, free: 3.367 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.001237/3.412, allocations: 368.8 kB / 444 MB, free: 3.09 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003692/3.413, allocations: 113.6 kB / 444.1 MB, free: 2.973 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/3.413, allocations: 0 / 444.1 MB, free: 2.973 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001028/3.413, allocations: 27.98 kB / 444.1 MB, free: 2.945 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004377/3.413, allocations: 19.98 kB / 444.2 MB, free: 2.926 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006569/3.414, allocations: 157.3 kB / 444.3 MB, free: 2.746 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004321/3.414, allocations: 0.7231 MB / 445 MB, free: 1.996 MB / 378.7 MB Notification: Performance of SimCode: time 1.103e-06/3.414, allocations: 0 / 445 MB, free: 1.996 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Tables.CombiTimeTable.Test21_res.mat does not exist to compare? outputFormat=mat