Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test56,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Tables_CombiTimeTable_Test56",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.334/2.334, allocations: 235.1 MB / 242 MB, free: 9.742 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1792/2.514, allocations: 57.21 MB / 299.2 MB, free: 416 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.297/2.811, allocations: 54.85 MB / 354.1 MB, free: 13.38 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1782/2.989, allocations: 81.58 MB / 435.7 MB, free: 11.68 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003306/2.989, allocations: 71.97 kB / 435.7 MB, free: 11.61 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.03738/3.027, allocations: 7.061 MB / 442.8 MB, free: 4.48 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.105e-05/3.027, allocations: 8 kB / 442.8 MB, free: 4.473 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001436/3.027, allocations: 15.81 kB / 442.8 MB, free: 4.457 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004624/3.027, allocations: 198.9 kB / 443 MB, free: 4.223 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2e-05/3.027, allocations: 4 kB / 443 MB, free: 4.219 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.392e-05/3.027, allocations: 4 kB / 443 MB, free: 4.215 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001128/3.028, allocations: 19.98 kB / 443 MB, free: 4.195 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001619/3.028, allocations: 71.33 kB / 443.1 MB, free: 4.113 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/3.028, allocations: 0 / 443.1 MB, free: 4.113 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.655e-05/3.028, allocations: 0 / 443.1 MB, free: 4.113 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.7e-06/3.028, allocations: 0 / 443.1 MB, free: 4.113 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005268/3.028, allocations: 281.4 kB / 443.4 MB, free: 3.801 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001762/3.029, allocations: 58.62 kB / 443.4 MB, free: 3.734 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.815e-05/3.029, allocations: 20.89 kB / 443.5 MB, free: 3.711 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.741e-05/3.029, allocations: 0 / 443.5 MB, free: 3.711 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001372/3.029, allocations: 63.41 kB / 443.5 MB, free: 3.637 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.934e-06/3.029, allocations: 0 / 443.5 MB, free: 3.637 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005968/3.029, allocations: 133.3 kB / 443.7 MB, free: 3.5 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.188e-05/3.03, allocations: 88.98 kB / 443.7 MB, free: 3.395 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002153/3.03, allocations: 136.6 kB / 443.9 MB, free: 3.254 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.685e-05/3.03, allocations: 25.7 kB / 443.9 MB, free: 3.223 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.836e-05/3.03, allocations: 96.03 kB / 444 MB, free: 3.125 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.755e-05/3.03, allocations: 23.66 kB / 444 MB, free: 3.102 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.818e-06/3.03, allocations: 0 / 444 MB, free: 3.102 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001299/3.03, allocations: 326.8 kB / 444.3 MB, free: 2.773 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.58e-05/3.03, allocations: 24 kB / 444.4 MB, free: 2.75 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001535/3.03, allocations: 50.56 kB / 444.4 MB, free: 2.691 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001847/3.031, allocations: 31.98 kB / 444.4 MB, free: 2.66 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/3.031, allocations: 0 / 444.4 MB, free: 2.66 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004865/3.031, allocations: 121.5 kB / 444.6 MB, free: 2.535 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.411e-05/3.031, allocations: 12 kB / 444.6 MB, free: 2.523 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/3.031, allocations: 4 kB / 444.6 MB, free: 2.52 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/3.031, allocations: 0 / 444.6 MB, free: 2.52 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002294/3.031, allocations: 12 kB / 444.6 MB, free: 2.508 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.888e-06/3.031, allocations: 4 kB / 444.6 MB, free: 2.504 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001096/3.032, allocations: 7.891 kB / 444.6 MB, free: 2.496 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.045e-05/3.032, allocations: 4 kB / 444.6 MB, free: 2.492 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.0001138/3.032, allocations: 115 kB / 444.7 MB, free: 2.375 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.298e-05/3.032, allocations: 7.906 kB / 444.7 MB, free: 2.367 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003466/3.032, allocations: 98.17 kB / 444.8 MB, free: 2.266 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.306e-06/3.032, allocations: 3.984 kB / 444.8 MB, free: 2.262 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/3.032, allocations: 7.938 kB / 444.8 MB, free: 2.254 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/3.032, allocations: 3.906 kB / 444.8 MB, free: 2.25 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007423/3.033, allocations: 348 kB / 445.2 MB, free: 1.863 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/3.033, allocations: 0 / 445.2 MB, free: 1.863 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.348e-05/3.033, allocations: 23.83 kB / 445.2 MB, free: 1.84 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.34e-06/3.033, allocations: 4.031 kB / 445.2 MB, free: 1.836 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.668e-05/3.033, allocations: 4 kB / 445.2 MB, free: 1.832 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/3.033, allocations: 0 / 445.2 MB, free: 1.832 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.716e-06/3.033, allocations: 0 / 445.2 MB, free: 1.832 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004804/3.034, allocations: 210 kB / 445.4 MB, free: 1.602 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006796/3.034, allocations: 0.5727 MB / 446 MB, free: 1 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001134/3.035, allocations: 96.91 kB / 446.1 MB, free: 0.8867 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.738e-05/3.035, allocations: 4.188 kB / 446.1 MB, free: 0.8828 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001572/3.035, allocations: 11.92 kB / 446.1 MB, free: 0.8711 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.076e-05/3.035, allocations: 4 kB / 446.1 MB, free: 0.8672 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.736e-05/3.035, allocations: 8 kB / 446.1 MB, free: 0.8594 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0001302/3.035, allocations: 111.2 kB / 446.2 MB, free: 0.75 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001785/3.037, allocations: 55.92 kB / 446.3 MB, free: 0.6953 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.001586/3.038, allocations: 423.6 kB / 446.7 MB, free: 376 kB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003372/3.039, allocations: 97.64 kB / 446.8 MB, free: 272 kB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/3.039, allocations: 4.062 kB / 446.8 MB, free: 268 kB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001003/3.039, allocations: 35.92 kB / 446.8 MB, free: 232 kB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004146/3.039, allocations: 27.88 kB / 446.8 MB, free: 204 kB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005/3.04, allocations: 129.1 kB / 447 MB, free: 48 kB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.1643/3.204, allocations: 0.7227 MB / 447.7 MB, free: 130.2 MB / 378.7 MB Notification: Performance of SimCode: time 1.342e-06/3.204, allocations: 0 / 447.7 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.Test56_res.mat does not exist to compare? outputFormat=mat