Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test50,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Tables_CombiTimeTable_Test50",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.406/2.406, allocations: 235 MB / 242 MB, free: 9.77 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1651/2.571, allocations: 57.21 MB / 299.2 MB, free: 444 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2872/2.858, allocations: 54.85 MB / 354.1 MB, free: 13.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1656/3.024, allocations: 81.58 MB / 435.7 MB, free: 11.71 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003048/3.024, allocations: 67.91 kB / 435.7 MB, free: 11.64 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.03939/3.064, allocations: 7.327 MB / 443.1 MB, free: 4.246 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.759e-05/3.064, allocations: 8 kB / 443.1 MB, free: 4.238 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000119/3.064, allocations: 11.91 kB / 443.1 MB, free: 4.227 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007541/3.065, allocations: 214.1 kB / 443.3 MB, free: 3.98 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.585e-05/3.065, allocations: 0 / 443.3 MB, free: 3.98 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.901e-05/3.065, allocations: 4 kB / 443.3 MB, free: 3.977 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002641/3.065, allocations: 27.98 kB / 443.3 MB, free: 3.949 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003159/3.065, allocations: 79.38 kB / 443.4 MB, free: 3.859 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.915e-05/3.066, allocations: 0 / 443.4 MB, free: 3.859 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.245e-05/3.066, allocations: 3.906 kB / 443.4 MB, free: 3.855 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.807e-06/3.066, allocations: 0 / 443.4 MB, free: 3.855 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009327/3.067, allocations: 297.2 kB / 443.7 MB, free: 3.527 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003725/3.067, allocations: 70.69 kB / 443.8 MB, free: 3.449 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001125/3.067, allocations: 28.97 kB / 443.8 MB, free: 3.418 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.267e-05/3.067, allocations: 0 / 443.8 MB, free: 3.418 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002144/3.067, allocations: 67.41 kB / 443.9 MB, free: 3.34 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 6.052e-06/3.067, allocations: 0 / 443.9 MB, free: 3.34 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.001029/3.068, allocations: 161.2 kB / 444 MB, free: 3.176 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.937e-05/3.069, allocations: 85.02 kB / 444.1 MB, free: 3.074 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003492/3.069, allocations: 142.1 kB / 444.2 MB, free: 2.926 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.766e-05/3.069, allocations: 25.7 kB / 444.3 MB, free: 2.895 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001168/3.069, allocations: 96.06 kB / 444.4 MB, free: 2.797 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001147/3.069, allocations: 31.62 kB / 444.4 MB, free: 2.766 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.036e-05/3.069, allocations: 0 / 444.4 MB, free: 2.766 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001954/3.07, allocations: 322.8 kB / 444.7 MB, free: 2.441 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001771/3.07, allocations: 35.98 kB / 444.7 MB, free: 2.406 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002158/3.07, allocations: 54.58 kB / 444.8 MB, free: 2.344 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000226/3.07, allocations: 43.97 kB / 444.8 MB, free: 2.301 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/3.07, allocations: 0 / 444.8 MB, free: 2.301 MB / 378.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0006504/3.071, allocations: 141.5 kB / 445 MB, free: 2.156 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.874e-05/3.071, allocations: 4 kB / 445 MB, free: 2.152 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/3.071, allocations: 0 / 445 MB, free: 2.152 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.258e-05/3.071, allocations: 0 / 445 MB, free: 2.152 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000331/3.071, allocations: 23.98 kB / 445 MB, free: 2.129 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.148e-05/3.071, allocations: 3.969 kB / 445 MB, free: 2.125 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000165/3.072, allocations: 8 kB / 445 MB, free: 2.117 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.123e-05/3.072, allocations: 4 kB / 445 MB, free: 2.113 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 (12): * Single equations (assignments): 11 * 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.0001753/3.072, allocations: 112.9 kB / 445.1 MB, free: 1.996 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.934e-05/3.072, allocations: 11.89 kB / 445.1 MB, free: 1.984 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007149/3.073, allocations: 134.3 kB / 445.3 MB, free: 1.848 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.235e-05/3.073, allocations: 0 / 445.3 MB, free: 1.848 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.215e-06/3.073, allocations: 3.938 kB / 445.3 MB, free: 1.844 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.063e-06/3.073, allocations: 4 kB / 445.3 MB, free: 1.84 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00111/3.074, allocations: 387.8 kB / 445.7 MB, free: 1.414 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.664e-06/3.074, allocations: 0 / 445.7 MB, free: 1.414 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001902/3.074, allocations: 19.92 kB / 445.7 MB, free: 1.395 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.349e-05/3.074, allocations: 4 kB / 445.7 MB, free: 1.391 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.306e-05/3.074, allocations: 0 / 445.7 MB, free: 1.391 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.05e-06/3.074, allocations: 0 / 445.7 MB, free: 1.391 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/3.074, allocations: 4 kB / 445.7 MB, free: 1.387 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005754/3.075, allocations: 226.2 kB / 445.9 MB, free: 1.141 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0008031/3.076, allocations: 0.6037 MB / 446.5 MB, free: 0.5078 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002202/3.076, allocations: 97 kB / 446.6 MB, free: 404 kB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001034/3.076, allocations: 11.89 kB / 446.6 MB, free: 392 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002845/3.076, allocations: 0 / 446.6 MB, free: 392 kB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.824e-05/3.076, allocations: 7.984 kB / 446.6 MB, free: 384 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.31e-05/3.076, allocations: 4 kB / 446.6 MB, free: 380 kB / 378.7 MB Notification: Performance of sort global known variables: time 0.0003168/3.077, allocations: 113.7 kB / 446.7 MB, free: 268 kB / 378.7 MB Notification: Performance of remove unused functions: time 0.002799/3.08, allocations: 55.98 kB / 446.8 MB, free: 212 kB / 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 (11): * Single equations (assignments): 9 * 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.1678/3.247, allocations: 425.4 kB / 447.2 MB, free: 131 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004967/3.248, allocations: 109.2 kB / 447.3 MB, free: 131 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.941e-06/3.248, allocations: 0 / 447.3 MB, free: 131 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001792/3.248, allocations: 43.58 kB / 447.4 MB, free: 131 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000477/3.249, allocations: 23.77 kB / 447.4 MB, free: 131 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000552/3.249, allocations: 160.3 kB / 447.5 MB, free: 130.9 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002895/3.25, allocations: 0.7197 MB / 448.3 MB, free: 130.2 MB / 378.7 MB Notification: Performance of SimCode: time 1.142e-06/3.25, allocations: 0 / 448.3 MB, free: 130.2 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat does not exist to compare? outputFormat=mat