Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test57,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTimeTable_Test57",fmuType="me",version="2.0",platforms={"static"}) [: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.159/2.159, allocations: 235 MB / 241.9 MB, free: 9.789 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1399/2.299, allocations: 57.22 MB / 299.1 MB, free: 468 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2661/2.565, allocations: 54.84 MB / 354 MB, free: 13.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1815/2.747, allocations: 81.58 MB / 435.6 MB, free: 11.73 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003672/2.747, allocations: 67.97 kB / 435.6 MB, free: 11.66 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/jenkins/ws/OpenModelicaLibraryTestingWork/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/jenkins/ws/OpenModelicaLibraryTestingWork/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.03547/2.783, allocations: 7.07 MB / 442.7 MB, free: 4.527 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.921e-05/2.783, allocations: 16 kB / 442.7 MB, free: 4.512 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.779e-05/2.783, allocations: 11.81 kB / 442.7 MB, free: 4.5 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004129/2.783, allocations: 202.9 kB / 442.9 MB, free: 4.262 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.024e-05/2.783, allocations: 0 / 442.9 MB, free: 4.262 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.913e-05/2.783, allocations: 4 kB / 442.9 MB, free: 4.258 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001113/2.783, allocations: 23.92 kB / 443 MB, free: 4.234 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001537/2.784, allocations: 63.39 kB / 443 MB, free: 4.16 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/2.784, allocations: 0 / 443 MB, free: 4.16 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.543e-05/2.784, allocations: 4 kB / 443 MB, free: 4.156 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/2.784, allocations: 4 kB / 443 MB, free: 4.152 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004656/2.784, allocations: 269.4 kB / 443.3 MB, free: 3.852 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002077/2.784, allocations: 54.62 kB / 443.3 MB, free: 3.789 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001033/2.785, allocations: 24.83 kB / 443.4 MB, free: 3.762 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.156e-05/2.785, allocations: 4 kB / 443.4 MB, free: 3.758 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001867/2.785, allocations: 71.39 kB / 443.4 MB, free: 3.676 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 5.49e-06/2.785, allocations: 0 / 443.4 MB, free: 3.676 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.001175/2.786, allocations: 133.2 kB / 443.6 MB, free: 3.539 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.01e-05/2.786, allocations: 81.11 kB / 443.6 MB, free: 3.441 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002411/2.786, allocations: 126.7 kB / 443.8 MB, free: 3.309 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.977e-05/2.786, allocations: 25.7 kB / 443.8 MB, free: 3.277 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.843e-05/2.786, allocations: 100 kB / 443.9 MB, free: 3.176 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.269e-05/2.787, allocations: 23.66 kB / 443.9 MB, free: 3.152 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.128e-06/2.787, allocations: 0 / 443.9 MB, free: 3.152 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001502/2.787, allocations: 322.8 kB / 444.2 MB, free: 2.828 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.836e-05/2.787, allocations: 28 kB / 444.3 MB, free: 2.801 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001161/2.787, allocations: 47.69 kB / 444.3 MB, free: 2.746 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001286/2.787, allocations: 31.98 kB / 444.3 MB, free: 2.715 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/2.787, allocations: 4.031 kB / 444.3 MB, free: 2.711 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003514/2.787, allocations: 125.3 kB / 444.5 MB, free: 2.586 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.031e-05/2.788, allocations: 8 kB / 444.5 MB, free: 2.578 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.685e-06/2.788, allocations: 0 / 444.5 MB, free: 2.578 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.696e-05/2.788, allocations: 0 / 444.5 MB, free: 2.578 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000182/2.788, allocations: 19.98 kB / 444.5 MB, free: 2.559 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.718e-06/2.788, allocations: 4.078 kB / 444.5 MB, free: 2.555 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.649e-05/2.788, allocations: 3.906 kB / 444.5 MB, free: 2.551 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.988e-05/2.788, allocations: 7.984 kB / 444.5 MB, free: 2.543 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.0001272/2.788, allocations: 115.5 kB / 444.6 MB, free: 2.426 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.21e-05/2.788, allocations: 7.906 kB / 444.6 MB, free: 2.418 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003331/2.788, allocations: 102.1 kB / 444.7 MB, free: 2.312 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.947e-06/2.788, allocations: 4 kB / 444.7 MB, free: 2.309 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/2.788, allocations: 0 / 444.7 MB, free: 2.309 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.852e-06/2.788, allocations: 3.906 kB / 444.7 MB, free: 2.305 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005932/2.789, allocations: 360 kB / 445.1 MB, free: 1.906 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/2.789, allocations: 0 / 445.1 MB, free: 1.906 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.512e-05/2.789, allocations: 15.84 kB / 445.1 MB, free: 1.891 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.791e-06/2.789, allocations: 0 / 445.1 MB, free: 1.891 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.674e-05/2.789, allocations: 4 kB / 445.1 MB, free: 1.887 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/2.789, allocations: 192 / 445.1 MB, free: 1.887 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/2.789, allocations: 0 / 445.1 MB, free: 1.887 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003163/2.79, allocations: 213.8 kB / 445.3 MB, free: 1.652 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004865/2.79, allocations: 0.5726 MB / 445.9 MB, free: 1.051 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001242/2.79, allocations: 100.9 kB / 446 MB, free: 0.9336 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.314e-05/2.79, allocations: 3.984 kB / 446 MB, free: 0.9297 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000148/2.79, allocations: 8 kB / 446 MB, free: 0.9219 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.882e-05/2.791, allocations: 7.969 kB / 446 MB, free: 0.9141 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.714e-05/2.791, allocations: 4 kB / 446 MB, free: 0.9102 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0001306/2.791, allocations: 115.2 kB / 446.1 MB, free: 0.7969 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001327/2.792, allocations: 55.88 kB / 446.2 MB, free: 0.7422 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.001175/2.793, allocations: 406.4 kB / 446.6 MB, free: 412 kB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003444/2.794, allocations: 101.6 kB / 446.7 MB, free: 304 kB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/2.794, allocations: 0 / 446.7 MB, free: 304 kB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.449e-05/2.794, allocations: 31.94 kB / 446.7 MB, free: 272 kB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003869/2.794, allocations: 19.89 kB / 446.7 MB, free: 252 kB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006594/2.795, allocations: 125.2 kB / 446.8 MB, free: 100 kB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.1488/2.944, allocations: 0.7266 MB / 447.6 MB, free: 130 MB / 378.7 MB Notification: Performance of SimCode: time 1.452e-06/2.944, allocations: 0 / 447.6 MB, free: 130 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test57_res.mat does not exist to compare? outputFormat=mat