Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test49,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test49",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 1.958/1.958, allocations: 209.3 MB / 216.3 MB, free: 6.797 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2384/2.197, allocations: 51.04 MB / 267.3 MB, free: 5.145 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1135/2.31, allocations: 48.69 MB / 316 MB, free: 4.359 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3501/2.661, allocations: 75.25 MB / 391.2 MB, free: 1.461 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00031/2.661, allocations: 85.86 kB / 391.3 MB, free: 1.418 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.02403/2.685, allocations: 4.38 MB / 395.7 MB, free: 13.65 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.161e-05/2.685, allocations: 8 kB / 395.7 MB, free: 13.64 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.785e-05/2.685, allocations: 15.81 kB / 395.7 MB, free: 13.62 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004606/2.686, allocations: 204.3 kB / 395.9 MB, free: 13.39 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.559e-05/2.686, allocations: 0 / 395.9 MB, free: 13.39 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.178e-05/2.686, allocations: 11.89 kB / 395.9 MB, free: 13.38 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.821e-05/2.686, allocations: 11.44 kB / 395.9 MB, free: 13.37 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001282/2.686, allocations: 41.44 kB / 396 MB, free: 13.33 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.311e-05/2.686, allocations: 0 / 396 MB, free: 13.33 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.431e-05/2.686, allocations: 4 kB / 396 MB, free: 13.32 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/2.686, allocations: 4 kB / 396 MB, free: 13.32 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000616/2.687, allocations: 293.9 kB / 396.3 MB, free: 13.02 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002752/2.687, allocations: 33.58 kB / 396.3 MB, free: 12.98 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.586e-05/2.687, allocations: 16.73 kB / 396.3 MB, free: 12.97 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.396e-05/2.687, allocations: 0 / 396.3 MB, free: 12.97 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001259/2.687, allocations: 55.25 kB / 396.4 MB, free: 12.91 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 2.354e-06/2.687, allocations: 0 / 396.4 MB, free: 12.91 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005716/2.688, allocations: 111 kB / 396.5 MB, free: 12.8 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.582e-05/2.688, allocations: 51.41 kB / 396.5 MB, free: 12.74 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004725/2.688, allocations: 217.6 kB / 396.8 MB, free: 12.55 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.271e-05/2.688, allocations: 25.7 kB / 396.8 MB, free: 12.52 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.023e-05/2.689, allocations: 98.94 kB / 396.9 MB, free: 12.42 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.403e-05/2.689, allocations: 11.75 kB / 396.9 MB, free: 12.41 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.208e-05/2.689, allocations: 8 kB / 396.9 MB, free: 12.4 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000233/2.689, allocations: 326 kB / 397.2 MB, free: 12.08 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001105/2.689, allocations: 23.05 kB / 397.2 MB, free: 12.07 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001002/2.689, allocations: 14.81 kB / 397.3 MB, free: 12.06 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001705/2.689, allocations: 22.98 kB / 397.3 MB, free: 12.04 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/2.689, allocations: 3.938 kB / 397.3 MB, free: 12.04 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003512/2.69, allocations: 99.75 kB / 397.4 MB, free: 11.95 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.133e-05/2.69, allocations: 6.5 kB / 397.4 MB, free: 11.95 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.413e-06/2.69, allocations: 0 / 397.4 MB, free: 11.95 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.097e-05/2.69, allocations: 8 kB / 397.4 MB, free: 11.94 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001109/2.69, allocations: 11.98 kB / 397.4 MB, free: 11.93 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/2.69, allocations: 0 / 397.4 MB, free: 11.93 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.678e-05/2.69, allocations: 0 / 397.4 MB, free: 11.93 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.906e-05/2.69, allocations: 11.84 kB / 397.4 MB, free: 11.92 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.0001115/2.69, allocations: 108.9 kB / 397.5 MB, free: 11.8 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.241e-05/2.69, allocations: 11.81 kB / 397.5 MB, free: 11.79 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002955/2.691, allocations: 89.2 kB / 397.6 MB, free: 11.72 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.646e-06/2.691, allocations: 4.141 kB / 397.6 MB, free: 11.71 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/2.691, allocations: 0 / 397.6 MB, free: 11.71 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.348e-06/2.691, allocations: 7.969 kB / 397.6 MB, free: 11.71 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000549/2.691, allocations: 347.8 kB / 398 MB, free: 11.35 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/2.691, allocations: 0 / 398 MB, free: 11.35 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.06e-05/2.691, allocations: 8 kB / 398 MB, free: 11.34 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.629e-06/2.691, allocations: 0 / 398 MB, free: 11.34 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.07e-05/2.691, allocations: 0 / 398 MB, free: 11.34 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/2.691, allocations: 4 kB / 398 MB, free: 11.34 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/2.691, allocations: 8.078 kB / 398 MB, free: 11.33 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002669/2.692, allocations: 169.6 kB / 398.2 MB, free: 11.16 MB / 330.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004153/2.692, allocations: 0.5404 MB / 398.7 MB, free: 10.61 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001146/2.692, allocations: 100.7 kB / 398.8 MB, free: 10.5 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.42e-05/2.692, allocations: 8 kB / 398.8 MB, free: 10.49 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001143/2.692, allocations: 0 / 398.8 MB, free: 10.49 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.632e-05/2.692, allocations: 7.984 kB / 398.8 MB, free: 10.48 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.178e-05/2.692, allocations: 0 / 398.8 MB, free: 10.48 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.0002619/2.693, allocations: 177.7 kB / 399 MB, free: 10.34 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001256/2.694, allocations: 47.03 kB / 399 MB, free: 10.3 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.0008741/2.695, allocations: 287 kB / 399.3 MB, free: 10.06 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002499/2.695, allocations: 78.2 kB / 399.4 MB, free: 9.992 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/2.695, allocations: 4 kB / 399.4 MB, free: 9.988 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.537e-05/2.695, allocations: 15.94 kB / 399.4 MB, free: 9.977 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003932/2.696, allocations: 15.8 kB / 399.4 MB, free: 9.961 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006883/2.696, allocations: 191.3 kB / 399.6 MB, free: 9.766 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005067/2.697, allocations: 0.7343 MB / 400.3 MB, free: 9.008 MB / 330.7 MB Notification: Performance of SimCode: time 1.002e-06/2.697, allocations: 0 / 400.3 MB, free: 9.008 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat does not exist to compare? outputFormat=mat