Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test44,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test44",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.079/2.079, allocations: 209.3 MB / 216.3 MB, free: 6.809 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2526/2.332, allocations: 51.05 MB / 267.3 MB, free: 5.148 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1163/2.448, allocations: 48.68 MB / 316 MB, free: 4.363 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3779/2.826, allocations: 75.27 MB / 391.2 MB, free: 1.492 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003889/2.827, allocations: 72.8 kB / 391.3 MB, free: 1.457 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.03131/2.858, allocations: 4.136 MB / 395.5 MB, free: 13.93 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.584e-05/2.858, allocations: 8 kB / 395.5 MB, free: 13.92 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001171/2.858, allocations: 7.906 kB / 395.5 MB, free: 13.91 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004914/2.859, allocations: 202.4 kB / 395.7 MB, free: 13.68 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.13e-05/2.859, allocations: 0 / 395.7 MB, free: 13.68 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.183e-05/2.859, allocations: 4 kB / 395.7 MB, free: 13.67 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000122/2.859, allocations: 15.69 kB / 395.7 MB, free: 13.66 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001696/2.859, allocations: 56.58 kB / 395.7 MB, free: 13.6 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.557e-05/2.859, allocations: 0 / 395.7 MB, free: 13.6 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.555e-05/2.859, allocations: 0 / 395.7 MB, free: 13.6 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.004e-06/2.859, allocations: 0 / 395.7 MB, free: 13.6 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006843/2.86, allocations: 269.1 kB / 396 MB, free: 13.32 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003423/2.86, allocations: 35.7 kB / 396 MB, free: 13.29 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.347e-05/2.86, allocations: 12.86 kB / 396.1 MB, free: 13.27 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.913e-05/2.86, allocations: 4 kB / 396.1 MB, free: 13.27 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001621/2.861, allocations: 61.11 kB / 396.1 MB, free: 13.2 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 3.887e-06/2.861, allocations: 0 / 396.1 MB, free: 13.2 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.000686/2.861, allocations: 97.7 kB / 396.2 MB, free: 13.11 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.005e-05/2.861, allocations: 51.41 kB / 396.3 MB, free: 13.05 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003805/2.862, allocations: 170.1 kB / 396.4 MB, free: 12.89 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.233e-05/2.862, allocations: 25.7 kB / 396.5 MB, free: 12.86 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.539e-05/2.862, allocations: 95.5 kB / 396.5 MB, free: 12.77 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.754e-05/2.862, allocations: 15.38 kB / 396.6 MB, free: 12.75 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.215e-05/2.862, allocations: 0 / 396.6 MB, free: 12.75 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002281/2.862, allocations: 322.5 kB / 396.9 MB, free: 12.43 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001072/2.862, allocations: 15.5 kB / 396.9 MB, free: 12.43 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001013/2.863, allocations: 27.19 kB / 396.9 MB, free: 12.41 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001448/2.863, allocations: 23.48 kB / 396.9 MB, free: 12.39 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.337e-06/2.863, allocations: 0 / 396.9 MB, free: 12.39 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004554/2.863, allocations: 100.1 kB / 397 MB, free: 12.3 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.38e-05/2.863, allocations: 4 kB / 397 MB, free: 12.3 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/2.863, allocations: 4 kB / 397 MB, free: 12.29 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.905e-05/2.863, allocations: 0 / 397 MB, free: 12.29 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001635/2.864, allocations: 15.84 kB / 397.1 MB, free: 12.28 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.835e-06/2.864, allocations: 0 / 397.1 MB, free: 12.28 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001325/2.864, allocations: 4 kB / 397.1 MB, free: 12.27 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.856e-05/2.864, allocations: 11.67 kB / 397.1 MB, free: 12.27 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * 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.0001823/2.864, allocations: 108.9 kB / 397.2 MB, free: 12.15 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.365e-05/2.864, allocations: 7.906 kB / 397.2 MB, free: 12.14 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004628/2.865, allocations: 92.91 kB / 397.3 MB, free: 12.06 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/2.865, allocations: 0 / 397.3 MB, free: 12.06 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/2.865, allocations: 0 / 397.3 MB, free: 12.06 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/2.865, allocations: 0 / 397.3 MB, free: 12.06 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008074/2.865, allocations: 328.1 kB / 397.6 MB, free: 11.72 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/2.865, allocations: 0 / 397.6 MB, free: 11.72 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001267/2.866, allocations: 8 kB / 397.6 MB, free: 11.71 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.434e-05/2.866, allocations: 3.984 kB / 397.6 MB, free: 11.71 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.764e-05/2.866, allocations: 4 kB / 397.6 MB, free: 11.7 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.961e-06/2.866, allocations: 0 / 397.6 MB, free: 11.7 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.023e-05/2.866, allocations: 4.188 kB / 397.6 MB, free: 11.7 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004025/2.866, allocations: 173 kB / 397.8 MB, free: 11.52 MB / 330.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000564/2.867, allocations: 0.5365 MB / 398.3 MB, free: 10.98 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001188/2.867, allocations: 97.06 kB / 398.4 MB, free: 10.87 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.353e-05/2.867, allocations: 3.984 kB / 398.4 MB, free: 10.87 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001781/2.867, allocations: 0 / 398.4 MB, free: 10.87 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.287e-05/2.867, allocations: 8.078 kB / 398.4 MB, free: 10.86 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.924e-05/2.867, allocations: 3.938 kB / 398.4 MB, free: 10.86 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.0002496/2.868, allocations: 133.2 kB / 398.6 MB, free: 10.74 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002081/2.87, allocations: 31.81 kB / 398.6 MB, free: 10.71 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,t_new.nextTimeEvent) * Number of discrete states: 1 (t_new.nextTimeEvent) * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.001302/2.871, allocations: 284.5 kB / 398.9 MB, free: 10.47 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003674/2.871, allocations: 75.45 kB / 399 MB, free: 10.41 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.529e-06/2.871, allocations: 0 / 399 MB, free: 10.41 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 8.756e-05/2.872, allocations: 19.56 kB / 399 MB, free: 10.39 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000669/2.872, allocations: 23.77 kB / 399 MB, free: 10.38 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001075/2.873, allocations: 142.4 kB / 399.1 MB, free: 10.23 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009824/2.874, allocations: 0.7229 MB / 399.9 MB, free: 9.48 MB / 330.7 MB Notification: Performance of SimCode: time 1.643e-06/2.874, allocations: 0 / 399.9 MB, free: 9.48 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test44_res.mat does not exist to compare? outputFormat=mat