Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTimeTable_Test66_usertab",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.353/2.353, allocations: 234.9 MB / 241.9 MB, free: 9.801 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1698/2.523, allocations: 57.21 MB / 299.1 MB, free: 484 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3132/2.836, allocations: 54.85 MB / 354 MB, free: 13.46 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1726/3.009, allocations: 81.42 MB / 435.4 MB, free: 11.92 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004709/3.009, allocations: 71.95 kB / 435.5 MB, free: 11.85 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.02395/3.033, allocations: 4.478 MB / 440 MB, free: 7.309 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/3.034, allocations: 8 kB / 440 MB, free: 7.301 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.959e-05/3.034, allocations: 11.81 kB / 440 MB, free: 7.289 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003943/3.034, allocations: 206.8 kB / 440.2 MB, free: 7.047 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.184e-05/3.034, allocations: 4 kB / 440.2 MB, free: 7.043 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.518e-05/3.034, allocations: 0 / 440.2 MB, free: 7.043 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00012/3.034, allocations: 27.98 kB / 440.2 MB, free: 7.016 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001599/3.034, allocations: 67.39 kB / 440.3 MB, free: 6.938 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.351e-05/3.034, allocations: 0 / 440.3 MB, free: 6.938 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.92e-05/3.034, allocations: 4 kB / 440.3 MB, free: 6.934 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/3.034, allocations: 0 / 440.3 MB, free: 6.934 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005029/3.035, allocations: 285.2 kB / 440.6 MB, free: 6.617 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001415/3.035, allocations: 53.55 kB / 440.6 MB, free: 6.559 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.804e-05/3.035, allocations: 20.98 kB / 440.6 MB, free: 6.535 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.551e-05/3.035, allocations: 4 kB / 440.6 MB, free: 6.531 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001331/3.035, allocations: 59.41 kB / 440.7 MB, free: 6.461 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 2.164e-06/3.035, allocations: 0 / 440.7 MB, free: 6.461 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.000602/3.036, allocations: 137.3 kB / 440.8 MB, free: 6.32 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.524e-05/3.036, allocations: 85.11 kB / 440.9 MB, free: 6.219 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001863/3.036, allocations: 131.1 kB / 441 MB, free: 6.082 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.912e-05/3.036, allocations: 29.7 kB / 441.1 MB, free: 6.047 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.163e-05/3.036, allocations: 96.03 kB / 441.2 MB, free: 5.949 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.402e-05/3.036, allocations: 27.64 kB / 441.2 MB, free: 5.922 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.438e-06/3.036, allocations: 0 / 441.2 MB, free: 5.922 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001937/3.037, allocations: 314.8 kB / 441.5 MB, free: 5.605 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.887e-05/3.037, allocations: 31.98 kB / 441.5 MB, free: 5.574 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001231/3.037, allocations: 50.58 kB / 441.6 MB, free: 5.516 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001272/3.037, allocations: 43.86 kB / 441.6 MB, free: 5.473 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/3.037, allocations: 0 / 441.6 MB, free: 5.473 MB / 378.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003525/3.037, allocations: 137.5 kB / 441.7 MB, free: 5.332 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/3.037, allocations: 8 kB / 441.8 MB, free: 5.324 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/3.037, allocations: 0 / 441.8 MB, free: 5.324 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/3.038, allocations: 0 / 441.8 MB, free: 5.324 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001935/3.038, allocations: 23.92 kB / 441.8 MB, free: 5.301 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/3.038, allocations: 64 / 441.8 MB, free: 5.301 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.385e-05/3.038, allocations: 8 kB / 441.8 MB, free: 5.293 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.837e-05/3.038, allocations: 8.219 kB / 441.8 MB, free: 5.285 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.0001357/3.038, allocations: 110.1 kB / 441.9 MB, free: 5.172 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.332e-05/3.038, allocations: 11.81 kB / 441.9 MB, free: 5.16 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003637/3.038, allocations: 114.2 kB / 442 MB, free: 5.043 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/3.038, allocations: 0 / 442 MB, free: 5.043 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/3.038, allocations: 0 / 442 MB, free: 5.043 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.189e-06/3.038, allocations: 4 kB / 442 MB, free: 5.039 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006543/3.039, allocations: 367.9 kB / 442.4 MB, free: 4.633 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-06/3.039, allocations: 0 / 442.4 MB, free: 4.633 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.52e-05/3.039, allocations: 23.92 kB / 442.4 MB, free: 4.609 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/3.039, allocations: 0 / 442.4 MB, free: 4.609 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.157e-05/3.039, allocations: 4 kB / 442.4 MB, free: 4.605 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.926e-06/3.039, allocations: 0 / 442.4 MB, free: 4.605 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.53e-06/3.039, allocations: 3.906 kB / 442.4 MB, free: 4.602 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003229/3.04, allocations: 210 kB / 442.6 MB, free: 4.371 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004716/3.04, allocations: 0.5842 MB / 443.2 MB, free: 3.754 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001175/3.04, allocations: 104.9 kB / 443.3 MB, free: 3.633 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.06e-05/3.04, allocations: 0 / 443.3 MB, free: 3.633 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002077/3.041, allocations: 4 kB / 443.3 MB, free: 3.629 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.321e-05/3.041, allocations: 7.984 kB / 443.3 MB, free: 3.621 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.744e-05/3.041, allocations: 4.375 kB / 443.3 MB, free: 3.617 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0002014/3.041, allocations: 113.3 kB / 443.4 MB, free: 3.508 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00144/3.042, allocations: 55.86 kB / 443.5 MB, free: 3.453 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 (10): * Single equations (assignments): 8 * 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.001224/3.044, allocations: 408.7 kB / 443.9 MB, free: 3.113 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003435/3.044, allocations: 105.6 kB / 444 MB, free: 3.004 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.582e-06/3.044, allocations: 4 kB / 444 MB, free: 3 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001038/3.044, allocations: 31.94 kB / 444 MB, free: 2.969 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004162/3.045, allocations: 24.02 kB / 444.1 MB, free: 2.945 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005283/3.045, allocations: 133.2 kB / 444.2 MB, free: 2.789 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004351/3.046, allocations: 0.7269 MB / 444.9 MB, free: 2.035 MB / 378.7 MB Notification: Performance of SimCode: time 1.553e-06/3.046, allocations: 0 / 444.9 MB, free: 2.035 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test66_usertab_res.mat does not exist to compare? outputFormat=mat