Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test52,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test52",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.013/2.013, allocations: 209.3 MB / 216.3 MB, free: 6.805 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2362/2.25, allocations: 51.04 MB / 267.3 MB, free: 5.145 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1195/2.369, allocations: 48.7 MB / 316 MB, free: 4.352 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3419/2.711, allocations: 75.26 MB / 391.3 MB, free: 1.461 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003199/2.712, allocations: 74.77 kB / 391.3 MB, free: 1.426 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.01996/2.732, allocations: 4.237 MB / 395.6 MB, free: 13.8 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.332e-05/2.732, allocations: 8 kB / 395.6 MB, free: 13.79 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.975e-05/2.732, allocations: 11.89 kB / 395.6 MB, free: 13.78 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003609/2.732, allocations: 202.3 kB / 395.8 MB, free: 13.54 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.653e-05/2.732, allocations: 0 / 395.8 MB, free: 13.54 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.198e-05/2.732, allocations: 4 kB / 395.8 MB, free: 13.54 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.208e-05/2.732, allocations: 15.56 kB / 395.8 MB, free: 13.53 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001124/2.732, allocations: 49.36 kB / 395.9 MB, free: 13.48 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/2.732, allocations: 0 / 395.9 MB, free: 13.48 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.536e-05/2.732, allocations: 3.984 kB / 395.9 MB, free: 13.47 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/2.733, allocations: 0 / 395.9 MB, free: 13.47 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004873/2.733, allocations: 278.1 kB / 396.1 MB, free: 13.18 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002488/2.733, allocations: 36.52 kB / 396.2 MB, free: 13.15 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.535e-05/2.733, allocations: 20.27 kB / 396.2 MB, free: 13.13 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.773e-05/2.733, allocations: 7.984 kB / 396.2 MB, free: 13.12 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001171/2.733, allocations: 50.91 kB / 396.2 MB, free: 13.06 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 2.475e-06/2.734, allocations: 0 / 396.2 MB, free: 13.06 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006052/2.734, allocations: 99.61 kB / 396.3 MB, free: 12.97 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.206e-05/2.734, allocations: 51.41 kB / 396.4 MB, free: 12.91 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003971/2.735, allocations: 191.5 kB / 396.6 MB, free: 12.73 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.864e-05/2.735, allocations: 28.89 kB / 396.6 MB, free: 12.7 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.216e-05/2.735, allocations: 95.56 kB / 396.7 MB, free: 12.6 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.927e-05/2.735, allocations: 15.75 kB / 396.7 MB, free: 12.59 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.086e-05/2.735, allocations: 0 / 396.7 MB, free: 12.59 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002039/2.735, allocations: 326.5 kB / 397 MB, free: 12.27 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001019/2.735, allocations: 22.8 kB / 397.1 MB, free: 12.25 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.618e-05/2.735, allocations: 15.31 kB / 397.1 MB, free: 12.24 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001192/2.735, allocations: 23.11 kB / 397.1 MB, free: 12.23 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/2.735, allocations: 0 / 397.1 MB, free: 12.23 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003836/2.736, allocations: 102.5 kB / 397.2 MB, free: 12.14 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.311e-05/2.736, allocations: 8 kB / 397.2 MB, free: 12.13 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/2.736, allocations: 0 / 397.2 MB, free: 12.13 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.053e-05/2.736, allocations: 3.906 kB / 397.2 MB, free: 12.12 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001279/2.736, allocations: 8 kB / 397.2 MB, free: 12.12 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.997e-06/2.736, allocations: 4.156 kB / 397.2 MB, free: 12.11 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001247/2.736, allocations: 0 / 397.2 MB, free: 12.11 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.53e-05/2.736, allocations: 11.92 kB / 397.2 MB, free: 12.1 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.0001244/2.736, allocations: 105 kB / 397.3 MB, free: 11.99 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.887e-05/2.737, allocations: 11.81 kB / 397.3 MB, free: 11.98 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003703/2.737, allocations: 100.5 kB / 397.4 MB, free: 11.89 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.65e-06/2.737, allocations: 96 / 397.4 MB, free: 11.89 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.451e-06/2.737, allocations: 3.938 kB / 397.4 MB, free: 11.89 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/2.737, allocations: 0 / 397.4 MB, free: 11.89 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006326/2.738, allocations: 332.8 kB / 397.8 MB, free: 11.54 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/2.738, allocations: 0 / 397.8 MB, free: 11.54 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.012e-05/2.738, allocations: 8 kB / 397.8 MB, free: 11.54 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.03e-06/2.738, allocations: 0 / 397.8 MB, free: 11.54 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.516e-05/2.738, allocations: 4 kB / 397.8 MB, free: 11.53 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.098e-05/2.738, allocations: 3.938 kB / 397.8 MB, free: 11.53 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/2.738, allocations: 0 / 397.8 MB, free: 11.53 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002977/2.738, allocations: 176.6 kB / 398 MB, free: 11.35 MB / 330.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004886/2.739, allocations: 0.5352 MB / 398.5 MB, free: 10.81 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001187/2.739, allocations: 96.56 kB / 398.6 MB, free: 10.7 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.647e-05/2.739, allocations: 0 / 398.6 MB, free: 10.7 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001631/2.739, allocations: 4 kB / 398.6 MB, free: 10.7 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.027e-05/2.739, allocations: 3.906 kB / 398.6 MB, free: 10.69 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.962e-05/2.739, allocations: 7.984 kB / 398.6 MB, free: 10.68 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.0002711/2.739, allocations: 150.4 kB / 398.7 MB, free: 10.56 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002005/2.741, allocations: 41.69 kB / 398.8 MB, free: 10.52 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.001131/2.743, allocations: 290.2 kB / 399.1 MB, free: 10.28 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003037/2.743, allocations: 78.2 kB / 399.1 MB, free: 10.21 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/2.743, allocations: 0 / 399.1 MB, free: 10.21 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 8.092e-05/2.743, allocations: 19.44 kB / 399.2 MB, free: 10.2 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004693/2.744, allocations: 15.67 kB / 399.2 MB, free: 10.18 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006845/2.744, allocations: 153.2 kB / 399.3 MB, free: 10.03 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005208/2.745, allocations: 0.7265 MB / 400.1 MB, free: 9.277 MB / 330.7 MB Notification: Performance of SimCode: time 1.042e-06/2.745, allocations: 4 kB / 400.1 MB, free: 9.273 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat does not exist to compare? outputFormat=mat