Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test38,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test38",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.02/2.02, allocations: 209.3 MB / 216.3 MB, free: 6.805 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2771/2.297, allocations: 51.04 MB / 267.3 MB, free: 5.148 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1247/2.422, allocations: 48.69 MB / 316 MB, free: 4.355 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3335/2.756, allocations: 75.09 MB / 391.1 MB, free: 1.617 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002905/2.756, allocations: 79.81 kB / 391.2 MB, free: 1.574 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.01994/2.776, allocations: 3.858 MB / 395 MB, free: 14.27 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.858e-05/2.776, allocations: 8 kB / 395 MB, free: 14.26 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.54e-05/2.776, allocations: 7.906 kB / 395 MB, free: 14.25 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003508/2.777, allocations: 197.5 kB / 395.2 MB, free: 14.02 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.541e-05/2.777, allocations: 0 / 395.2 MB, free: 14.02 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.572e-05/2.777, allocations: 4 kB / 395.2 MB, free: 14.02 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.565e-05/2.777, allocations: 19.62 kB / 395.2 MB, free: 14 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001346/2.777, allocations: 37.69 kB / 395.3 MB, free: 13.96 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/2.777, allocations: 3.984 kB / 395.3 MB, free: 13.96 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.208e-05/2.777, allocations: 0 / 395.3 MB, free: 13.96 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/2.777, allocations: 3.984 kB / 395.3 MB, free: 13.95 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002275/2.777, allocations: 161.5 kB / 395.4 MB, free: 13.77 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.176e-05/2.777, allocations: 25.89 kB / 395.5 MB, free: 13.74 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.911e-05/2.777, allocations: 16.36 kB / 395.5 MB, free: 13.72 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.415e-05/2.777, allocations: 0 / 395.5 MB, free: 13.72 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001096/2.777, allocations: 62.7 kB / 395.5 MB, free: 13.65 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 2.084e-06/2.777, allocations: 0 / 395.5 MB, free: 13.65 MB / 330.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002233/2.778, allocations: 52.66 kB / 395.6 MB, free: 13.6 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.069e-05/2.778, allocations: 55.41 kB / 395.7 MB, free: 13.53 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002181/2.778, allocations: 153.4 kB / 395.8 MB, free: 13.39 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.379e-05/2.778, allocations: 33.7 kB / 395.8 MB, free: 13.35 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.87e-05/2.778, allocations: 84.08 kB / 395.9 MB, free: 13.27 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.12e-05/2.778, allocations: 15.88 kB / 395.9 MB, free: 13.25 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.893e-06/2.778, allocations: 0 / 395.9 MB, free: 13.25 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001501/2.778, allocations: 318.7 kB / 396.2 MB, free: 12.94 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.959e-05/2.778, allocations: 21.86 kB / 396.3 MB, free: 12.92 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.24e-05/2.778, allocations: 14.69 kB / 396.3 MB, free: 12.91 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.249e-05/2.778, allocations: 15.81 kB / 396.3 MB, free: 12.9 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/2.778, allocations: 0 / 396.3 MB, free: 12.9 MB / 330.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000377/2.779, allocations: 91.2 kB / 396.4 MB, free: 12.82 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.939e-05/2.779, allocations: 4 kB / 396.4 MB, free: 12.82 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.172e-05/2.779, allocations: 0 / 396.4 MB, free: 12.82 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.917e-05/2.779, allocations: 0 / 396.4 MB, free: 12.82 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001353/2.779, allocations: 4 kB / 396.4 MB, free: 12.81 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/2.779, allocations: 0 / 396.4 MB, free: 12.81 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001361/2.779, allocations: 11.84 kB / 396.4 MB, free: 12.8 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.006e-05/2.779, allocations: 7.984 kB / 396.4 MB, free: 12.79 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 (5): * Single equations (assignments): 4 * 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.0001403/2.78, allocations: 101 kB / 396.5 MB, free: 12.69 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.532e-05/2.78, allocations: 11.91 kB / 396.5 MB, free: 12.68 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003556/2.78, allocations: 70.42 kB / 396.6 MB, free: 12.61 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.396e-05/2.78, allocations: 3.906 kB / 396.6 MB, free: 12.6 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.848e-06/2.78, allocations: 0 / 396.6 MB, free: 12.6 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/2.78, allocations: 7.938 kB / 396.6 MB, free: 12.59 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003027/2.78, allocations: 156.6 kB / 396.8 MB, free: 12.41 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/2.78, allocations: 0 / 396.8 MB, free: 12.41 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.375e-05/2.781, allocations: 4 kB / 396.8 MB, free: 12.41 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.793e-06/2.781, allocations: 0 / 396.8 MB, free: 12.41 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.566e-05/2.781, allocations: 0 / 396.8 MB, free: 12.41 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.14e-06/2.781, allocations: 0 / 396.8 MB, free: 12.41 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.682e-06/2.781, allocations: 7.906 kB / 396.8 MB, free: 12.4 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003084/2.781, allocations: 83.14 kB / 396.8 MB, free: 12.31 MB / 330.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005166/2.782, allocations: 471.1 kB / 397.3 MB, free: 11.84 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001263/2.782, allocations: 89 kB / 397.4 MB, free: 11.73 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.423e-05/2.782, allocations: 7.5 kB / 397.4 MB, free: 11.73 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001149/2.782, allocations: 4 kB / 397.4 MB, free: 11.72 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.113e-05/2.782, allocations: 192 / 397.4 MB, free: 11.72 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.507e-05/2.782, allocations: 0 / 397.4 MB, free: 11.72 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.0002386/2.782, allocations: 125.7 kB / 397.5 MB, free: 11.61 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002714/2.785, allocations: 31 kB / 397.6 MB, free: 11.59 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 (4): * Single equations (assignments): 3 * 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.001313/2.786, allocations: 260.7 kB / 397.8 MB, free: 11.37 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003761/2.787, allocations: 72.06 kB / 397.9 MB, free: 11.31 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.11e-06/2.787, allocations: 0 / 397.9 MB, free: 11.31 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 8.255e-05/2.787, allocations: 8 kB / 397.9 MB, free: 11.3 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005336/2.787, allocations: 24.48 kB / 397.9 MB, free: 11.28 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006709/2.788, allocations: 118.1 kB / 398 MB, free: 11.15 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004676/2.789, allocations: 0.7138 MB / 398.7 MB, free: 10.42 MB / 330.7 MB Notification: Performance of SimCode: time 1.372e-06/2.789, allocations: 0 / 398.7 MB, free: 10.42 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat does not exist to compare? outputFormat=mat