Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test57,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Tables_CombiTimeTable_Test57",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.34/2.34, allocations: 235 MB / 242 MB, free: 9.668 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2044/2.545, allocations: 57.2 MB / 299.2 MB, free: 348 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2927/2.837, allocations: 54.88 MB / 354.1 MB, free: 13.36 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1654/3.003, allocations: 81.57 MB / 435.7 MB, free: 11.67 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004537/3.003, allocations: 75.95 kB / 435.7 MB, free: 11.6 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.04308/3.047, allocations: 7.057 MB / 442.8 MB, free: 4.473 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.042e-05/3.047, allocations: 8 kB / 442.8 MB, free: 4.465 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.3e-05/3.047, allocations: 15.81 kB / 442.8 MB, free: 4.449 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004443/3.047, allocations: 206.8 kB / 443 MB, free: 4.207 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.157e-05/3.047, allocations: 0 / 443 MB, free: 4.207 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.926e-05/3.047, allocations: 4 kB / 443 MB, free: 4.203 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001126/3.047, allocations: 16 kB / 443 MB, free: 4.188 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001808/3.048, allocations: 67.39 kB / 443.1 MB, free: 4.109 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.402e-05/3.048, allocations: 0 / 443.1 MB, free: 4.109 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.637e-05/3.048, allocations: 0 / 443.1 MB, free: 4.109 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.615e-05/3.048, allocations: 8 kB / 443.1 MB, free: 4.102 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005911/3.048, allocations: 277.3 kB / 443.4 MB, free: 3.793 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001713/3.048, allocations: 54.67 kB / 443.4 MB, free: 3.73 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.963e-05/3.049, allocations: 20.89 kB / 443.5 MB, free: 3.707 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.537e-05/3.049, allocations: 0 / 443.5 MB, free: 3.707 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001506/3.049, allocations: 67.39 kB / 443.5 MB, free: 3.629 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.385e-06/3.049, allocations: 0 / 443.5 MB, free: 3.629 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006966/3.049, allocations: 141.2 kB / 443.7 MB, free: 3.484 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.708e-05/3.05, allocations: 81.11 kB / 443.7 MB, free: 3.387 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001987/3.05, allocations: 132.6 kB / 443.9 MB, free: 3.25 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.733e-05/3.05, allocations: 33.69 kB / 443.9 MB, free: 3.211 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.394e-05/3.05, allocations: 88.05 kB / 444 MB, free: 3.121 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.808e-05/3.05, allocations: 27.64 kB / 444 MB, free: 3.094 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.528e-06/3.05, allocations: 0 / 444 MB, free: 3.094 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000136/3.05, allocations: 318.8 kB / 444.3 MB, free: 2.773 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001085/3.05, allocations: 31.98 kB / 444.4 MB, free: 2.742 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001206/3.05, allocations: 46.58 kB / 444.4 MB, free: 2.688 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001365/3.051, allocations: 39.92 kB / 444.4 MB, free: 2.648 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/3.051, allocations: 3.938 kB / 444.4 MB, free: 2.645 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003579/3.051, allocations: 121.5 kB / 444.6 MB, free: 2.52 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.025e-05/3.051, allocations: 8 kB / 444.6 MB, free: 2.512 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/3.051, allocations: 0 / 444.6 MB, free: 2.512 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.786e-05/3.051, allocations: 0 / 444.6 MB, free: 2.512 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001888/3.051, allocations: 19.92 kB / 444.6 MB, free: 2.492 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/3.051, allocations: 4 kB / 444.6 MB, free: 2.488 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001044/3.051, allocations: 7.969 kB / 444.6 MB, free: 2.48 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.915e-05/3.051, allocations: 4 kB / 444.6 MB, free: 2.477 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.000106/3.051, allocations: 107 kB / 444.7 MB, free: 2.367 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.292e-05/3.052, allocations: 7.906 kB / 444.7 MB, free: 2.359 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003743/3.052, allocations: 106.1 kB / 444.8 MB, free: 2.25 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.914e-06/3.052, allocations: 4 kB / 444.8 MB, free: 2.246 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/3.052, allocations: 0 / 444.8 MB, free: 2.246 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.394e-06/3.052, allocations: 3.906 kB / 444.8 MB, free: 2.242 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006344/3.053, allocations: 359.9 kB / 445.2 MB, free: 1.844 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/3.053, allocations: 0 / 445.2 MB, free: 1.844 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.957e-05/3.053, allocations: 11.91 kB / 445.2 MB, free: 1.832 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.512e-06/3.053, allocations: 0 / 445.2 MB, free: 1.832 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.91e-05/3.053, allocations: 4 kB / 445.2 MB, free: 1.828 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.62e-06/3.053, allocations: 3.984 kB / 445.2 MB, free: 1.824 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/3.053, allocations: 0 / 445.2 MB, free: 1.824 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003258/3.053, allocations: 205.9 kB / 445.4 MB, free: 1.598 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004856/3.054, allocations: 0.5767 MB / 446 MB, free: 0.9922 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000115/3.054, allocations: 101.3 kB / 446.1 MB, free: 0.875 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.538e-05/3.054, allocations: 8 kB / 446.1 MB, free: 0.8672 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001621/3.054, allocations: 4 kB / 446.1 MB, free: 0.8633 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.787e-05/3.054, allocations: 7.984 kB / 446.1 MB, free: 0.8555 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.686e-05/3.054, allocations: 7.938 kB / 446.1 MB, free: 0.8477 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0001628/3.054, allocations: 111.2 kB / 446.2 MB, free: 0.7383 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001596/3.056, allocations: 63.86 kB / 446.3 MB, free: 0.6758 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.001551/3.058, allocations: 421.4 kB / 446.7 MB, free: 356 kB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004047/3.058, allocations: 93.69 kB / 446.8 MB, free: 256 kB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/3.058, allocations: 0 / 446.8 MB, free: 256 kB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000107/3.058, allocations: 31.94 kB / 446.8 MB, free: 224 kB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004367/3.059, allocations: 19.89 kB / 446.8 MB, free: 204 kB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005381/3.059, allocations: 137.2 kB / 447 MB, free: 40 kB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.1623/3.221, allocations: 0.7251 MB / 447.7 MB, free: 130 MB / 378.7 MB Notification: Performance of SimCode: time 1.733e-06/3.222, allocations: 2.781 kB / 447.7 MB, free: 130 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Tables.CombiTimeTable.Test57_res.mat does not exist to compare? outputFormat=mat