Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test50,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTimeTable_Test50",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.385/2.385, allocations: 234.9 MB / 241.9 MB, free: 9.797 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1873/2.573, allocations: 57.21 MB / 299.1 MB, free: 480 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.288/2.861, allocations: 54.85 MB / 354 MB, free: 13.45 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1601/3.021, allocations: 81.59 MB / 435.6 MB, free: 11.75 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004083/3.021, allocations: 71.97 kB / 435.6 MB, free: 11.68 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.03754/3.059, allocations: 7.324 MB / 443 MB, free: 4.281 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.041e-05/3.059, allocations: 15.94 kB / 443 MB, free: 4.266 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.528e-05/3.059, allocations: 7.906 kB / 443 MB, free: 4.258 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004263/3.06, allocations: 209.5 kB / 443.2 MB, free: 4.016 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.257e-05/3.06, allocations: 4 kB / 443.2 MB, free: 4.012 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.442e-05/3.06, allocations: 4 kB / 443.2 MB, free: 4.008 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001902/3.06, allocations: 27.98 kB / 443.2 MB, free: 3.98 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002006/3.06, allocations: 79.33 kB / 443.3 MB, free: 3.891 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.498e-05/3.06, allocations: 0 / 443.3 MB, free: 3.891 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.248e-05/3.06, allocations: 7.891 kB / 443.3 MB, free: 3.883 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/3.06, allocations: 0 / 443.3 MB, free: 3.883 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006037/3.061, allocations: 293.3 kB / 443.6 MB, free: 3.559 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002295/3.061, allocations: 66.69 kB / 443.7 MB, free: 3.484 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.312e-05/3.061, allocations: 24.98 kB / 443.7 MB, free: 3.457 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.783e-05/3.061, allocations: 0 / 443.7 MB, free: 3.457 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001525/3.061, allocations: 71.41 kB / 443.8 MB, free: 3.375 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 2.374e-06/3.061, allocations: 0 / 443.8 MB, free: 3.375 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.0007215/3.062, allocations: 157.5 kB / 443.9 MB, free: 3.215 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.759e-05/3.062, allocations: 84.95 kB / 444 MB, free: 3.113 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000205/3.062, allocations: 149.5 kB / 444.1 MB, free: 2.957 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.061e-05/3.062, allocations: 29.7 kB / 444.2 MB, free: 2.922 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.702e-05/3.062, allocations: 96.06 kB / 444.3 MB, free: 2.824 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.513e-05/3.062, allocations: 23.62 kB / 444.3 MB, free: 2.801 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.035e-05/3.063, allocations: 3.938 kB / 444.3 MB, free: 2.797 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001332/3.063, allocations: 322.8 kB / 444.6 MB, free: 2.473 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001086/3.063, allocations: 28 kB / 444.6 MB, free: 2.445 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001363/3.063, allocations: 58.56 kB / 444.7 MB, free: 2.379 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001453/3.063, allocations: 40.02 kB / 444.7 MB, free: 2.34 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/3.063, allocations: 0 / 444.7 MB, free: 2.34 MB / 378.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004137/3.064, allocations: 145.5 kB / 444.9 MB, free: 2.191 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.102e-05/3.064, allocations: 9.562 kB / 444.9 MB, free: 2.184 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/3.064, allocations: 0 / 444.9 MB, free: 2.184 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.821e-05/3.064, allocations: 0 / 444.9 MB, free: 2.184 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002001/3.064, allocations: 19.98 kB / 444.9 MB, free: 2.164 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.086e-05/3.064, allocations: 7.969 kB / 444.9 MB, free: 2.156 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001096/3.064, allocations: 8.031 kB / 444.9 MB, free: 2.148 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.275e-05/3.064, allocations: 4 kB / 444.9 MB, free: 2.145 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.0001229/3.064, allocations: 117.7 kB / 445 MB, free: 2.023 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.407e-05/3.064, allocations: 8.094 kB / 445 MB, free: 2.016 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004264/3.065, allocations: 122 kB / 445.2 MB, free: 1.891 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.713e-06/3.065, allocations: 15.86 kB / 445.2 MB, free: 1.875 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/3.065, allocations: 0 / 445.2 MB, free: 1.875 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/3.065, allocations: 0 / 445.2 MB, free: 1.875 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006981/3.065, allocations: 395.8 kB / 445.6 MB, free: 1.441 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/3.065, allocations: 0 / 445.6 MB, free: 1.441 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001231/3.066, allocations: 19.92 kB / 445.6 MB, free: 1.422 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.173e-06/3.066, allocations: 0 / 445.6 MB, free: 1.422 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.557e-05/3.066, allocations: 4 kB / 445.6 MB, free: 1.418 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/3.066, allocations: 0 / 445.6 MB, free: 1.418 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/3.066, allocations: 0 / 445.6 MB, free: 1.418 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003697/3.066, allocations: 222 kB / 445.8 MB, free: 1.176 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005693/3.067, allocations: 0.5998 MB / 446.4 MB, free: 0.5469 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001669/3.067, allocations: 101 kB / 446.5 MB, free: 440 kB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.512e-05/3.067, allocations: 7.906 kB / 446.5 MB, free: 432 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001651/3.067, allocations: 7.984 kB / 446.5 MB, free: 424 kB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.744e-05/3.067, allocations: 8 kB / 446.5 MB, free: 416 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.325e-05/3.067, allocations: 7.984 kB / 446.5 MB, free: 408 kB / 378.7 MB Notification: Performance of sort global known variables: time 0.0001489/3.067, allocations: 111.8 kB / 446.6 MB, free: 296 kB / 378.7 MB Notification: Performance of remove unused functions: time 0.001403/3.069, allocations: 48 kB / 446.7 MB, free: 248 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.1621/3.231, allocations: 401.3 kB / 447.1 MB, free: 131.1 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004932/3.231, allocations: 121.2 kB / 447.2 MB, free: 131.1 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/3.231, allocations: 0 / 447.2 MB, free: 131.1 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001382/3.232, allocations: 29.38 kB / 447.2 MB, free: 131.1 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005703/3.232, allocations: 17.95 kB / 447.3 MB, free: 131.1 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006969/3.233, allocations: 155.7 kB / 447.4 MB, free: 131 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003702/3.233, allocations: 0.7314 MB / 448.1 MB, free: 130.3 MB / 378.7 MB Notification: Performance of SimCode: time 1.583e-06/3.233, allocations: 0 / 448.1 MB, free: 130.3 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat does not exist to compare? outputFormat=mat