Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test30,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test30",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.951/1.951, allocations: 209.3 MB / 216.3 MB, free: 6.793 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.219/2.17, allocations: 51.04 MB / 267.3 MB, free: 5.137 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1292/2.299, allocations: 48.68 MB / 316 MB, free: 4.363 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3157/2.615, allocations: 75.26 MB / 391.2 MB, free: 1.484 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003128/2.616, allocations: 78.89 kB / 391.3 MB, free: 1.445 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.01824/2.634, allocations: 4.052 MB / 395.4 MB, free: 13.98 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.051e-05/2.634, allocations: 8 kB / 395.4 MB, free: 13.98 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.792e-05/2.634, allocations: 7.906 kB / 395.4 MB, free: 13.97 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003792/2.634, allocations: 205.8 kB / 395.6 MB, free: 13.73 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.814e-05/2.634, allocations: 0 / 395.6 MB, free: 13.73 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.121e-05/2.635, allocations: 7.938 kB / 395.6 MB, free: 13.73 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.301e-05/2.635, allocations: 19.42 kB / 395.6 MB, free: 13.71 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001057/2.635, allocations: 44.8 kB / 395.7 MB, free: 13.66 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/2.635, allocations: 0 / 395.7 MB, free: 13.66 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.582e-05/2.635, allocations: 3.906 kB / 395.7 MB, free: 13.66 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.209e-06/2.635, allocations: 0 / 395.7 MB, free: 13.66 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004924/2.635, allocations: 265 kB / 395.9 MB, free: 13.38 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002745/2.636, allocations: 44.86 kB / 396 MB, free: 13.34 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.576e-05/2.636, allocations: 16.61 kB / 396 MB, free: 13.32 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.303e-05/2.636, allocations: 3.938 kB / 396 MB, free: 13.32 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001087/2.636, allocations: 53 kB / 396 MB, free: 13.26 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 2.655e-06/2.636, allocations: 0 / 396 MB, free: 13.26 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004798/2.636, allocations: 95.08 kB / 396.1 MB, free: 13.17 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.123e-05/2.636, allocations: 59.34 kB / 396.2 MB, free: 13.1 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002432/2.637, allocations: 147.9 kB / 396.3 MB, free: 12.96 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.097e-05/2.637, allocations: 33.7 kB / 396.4 MB, free: 12.92 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.101e-05/2.637, allocations: 91.38 kB / 396.5 MB, free: 12.83 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.118e-05/2.637, allocations: 15.12 kB / 396.5 MB, free: 12.82 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.895e-06/2.637, allocations: 0 / 396.5 MB, free: 12.82 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001337/2.637, allocations: 326.2 kB / 396.8 MB, free: 12.5 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.827e-05/2.637, allocations: 19.19 kB / 396.8 MB, free: 12.48 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.708e-05/2.637, allocations: 20.81 kB / 396.8 MB, free: 12.47 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.189e-05/2.637, allocations: 22.23 kB / 396.9 MB, free: 12.46 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/2.637, allocations: 0 / 396.9 MB, free: 12.46 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002724/2.638, allocations: 102.5 kB / 397 MB, free: 12.37 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/2.638, allocations: 4 kB / 397 MB, free: 12.36 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/2.638, allocations: 0 / 397 MB, free: 12.36 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.013e-05/2.638, allocations: 4 kB / 397 MB, free: 12.36 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001016/2.638, allocations: 4 kB / 397 MB, free: 12.36 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.7e-06/2.638, allocations: 4 kB / 397 MB, free: 12.35 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.222e-05/2.638, allocations: 0 / 397 MB, free: 12.35 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.18e-05/2.638, allocations: 7.984 kB / 397 MB, free: 12.34 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 9.892e-05/2.638, allocations: 112.8 kB / 397.1 MB, free: 12.23 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.613e-05/2.638, allocations: 7.906 kB / 397.1 MB, free: 12.22 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000286/2.638, allocations: 92.12 kB / 397.2 MB, free: 12.14 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.528e-06/2.638, allocations: 0 / 397.2 MB, free: 12.14 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/2.638, allocations: 4.094 kB / 397.2 MB, free: 12.13 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.708e-06/2.638, allocations: 3.938 kB / 397.2 MB, free: 12.13 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004507/2.639, allocations: 321 kB / 397.5 MB, free: 11.79 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/2.639, allocations: 0 / 397.5 MB, free: 11.79 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.774e-05/2.639, allocations: 8 kB / 397.5 MB, free: 11.79 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.645e-06/2.639, allocations: 4 kB / 397.5 MB, free: 11.78 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.229e-05/2.639, allocations: 3.938 kB / 397.5 MB, free: 11.78 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/2.639, allocations: 0 / 397.5 MB, free: 11.78 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.77e-06/2.639, allocations: 3.984 kB / 397.5 MB, free: 11.77 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002166/2.639, allocations: 166.9 kB / 397.7 MB, free: 11.61 MB / 330.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003816/2.64, allocations: 0.5451 MB / 398.2 MB, free: 11.05 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.964e-05/2.64, allocations: 92.88 kB / 398.3 MB, free: 10.95 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.446e-05/2.64, allocations: 0 / 398.3 MB, free: 10.95 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001107/2.64, allocations: 4 kB / 398.3 MB, free: 10.95 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.63e-05/2.64, allocations: 3.984 kB / 398.3 MB, free: 10.94 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.502e-05/2.64, allocations: 4 kB / 398.3 MB, free: 10.94 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.0001462/2.64, allocations: 127 kB / 398.5 MB, free: 10.83 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001273/2.641, allocations: 39.42 kB / 398.5 MB, free: 10.79 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.0007879/2.642, allocations: 284 kB / 398.8 MB, free: 10.56 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002395/2.642, allocations: 72.12 kB / 398.8 MB, free: 10.5 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/2.642, allocations: 4 kB / 398.8 MB, free: 10.49 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 7.297e-05/2.643, allocations: 19.44 kB / 398.9 MB, free: 10.48 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003651/2.643, allocations: 15.2 kB / 398.9 MB, free: 10.46 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005452/2.643, allocations: 130.2 kB / 399 MB, free: 10.32 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004128/2.644, allocations: 0.7218 MB / 399.7 MB, free: 9.578 MB / 330.7 MB Notification: Performance of SimCode: time 1.112e-06/2.644, allocations: 0 / 399.7 MB, free: 9.578 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test30_res.mat does not exist to compare? outputFormat=mat