Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test31,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test31",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.485/2.485, allocations: 209.3 MB / 216.3 MB, free: 0.7227 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.181/2.666, allocations: 51.03 MB / 267.3 MB, free: 13.61 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2393/2.905, allocations: 48.71 MB / 316 MB, free: 14.44 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1413/3.047, allocations: 75 MB / 391 MB, free: 3.328 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002775/3.047, allocations: 71.94 kB / 391.1 MB, free: 3.258 MB / 330.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.01935/3.067, allocations: 3.955 MB / 395 MB, free: 15.25 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.592e-05/3.067, allocations: 15.94 kB / 395 MB, free: 15.23 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.664e-05/3.067, allocations: 7.906 kB / 395 MB, free: 15.23 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003619/3.067, allocations: 201.5 kB / 395.2 MB, free: 14.99 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.788e-05/3.067, allocations: 4 kB / 395.2 MB, free: 14.99 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.883e-05/3.067, allocations: 0 / 395.2 MB, free: 14.99 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.845e-05/3.067, allocations: 19.92 kB / 395.3 MB, free: 14.97 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001054/3.067, allocations: 41.69 kB / 395.3 MB, free: 14.92 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/3.067, allocations: 4 kB / 395.3 MB, free: 14.92 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.673e-05/3.067, allocations: 7.906 kB / 395.3 MB, free: 14.91 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.121e-06/3.067, allocations: 0 / 395.3 MB, free: 14.91 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004769/3.068, allocations: 261.5 kB / 395.6 MB, free: 14.62 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002381/3.068, allocations: 41.61 kB / 395.6 MB, free: 14.57 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.345e-05/3.068, allocations: 12.86 kB / 395.6 MB, free: 14.55 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.707e-05/3.068, allocations: 3.938 kB / 395.6 MB, free: 14.55 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001114/3.068, allocations: 59.5 kB / 395.7 MB, free: 14.48 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 2.685e-06/3.068, allocations: 0 / 395.7 MB, free: 14.48 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005021/3.069, allocations: 93.53 kB / 395.8 MB, free: 14.38 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.94e-05/3.069, allocations: 51.41 kB / 395.8 MB, free: 14.32 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000319/3.069, allocations: 156.5 kB / 396 MB, free: 14.16 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.25e-05/3.069, allocations: 25.7 kB / 396 MB, free: 14.13 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001037/3.07, allocations: 100 kB / 396.1 MB, free: 14.03 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.762e-05/3.07, allocations: 11.81 kB / 396.1 MB, free: 14.02 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.455e-05/3.07, allocations: 4 kB / 396.1 MB, free: 14.01 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002189/3.07, allocations: 322.8 kB / 396.4 MB, free: 13.69 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001422/3.07, allocations: 20 kB / 396.5 MB, free: 13.67 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001319/3.07, allocations: 20 kB / 396.5 MB, free: 13.65 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001722/3.07, allocations: 23.98 kB / 396.5 MB, free: 13.62 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.771e-06/3.07, allocations: 7.938 kB / 396.5 MB, free: 13.62 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005007/3.071, allocations: 101.5 kB / 396.6 MB, free: 13.51 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.059e-05/3.071, allocations: 4 kB / 396.6 MB, free: 13.51 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.328e-06/3.071, allocations: 0 / 396.6 MB, free: 13.51 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.082e-05/3.071, allocations: 4 kB / 396.6 MB, free: 13.5 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001561/3.071, allocations: 8 kB / 396.6 MB, free: 13.5 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.535e-06/3.071, allocations: 3.938 kB / 396.6 MB, free: 13.49 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001192/3.071, allocations: 4 kB / 396.6 MB, free: 13.49 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.085e-05/3.071, allocations: 7.984 kB / 396.6 MB, free: 13.48 MB / 346.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.0001566/3.072, allocations: 104.9 kB / 396.7 MB, free: 13.37 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.958e-05/3.072, allocations: 7.906 kB / 396.7 MB, free: 13.36 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004709/3.072, allocations: 89.8 kB / 396.8 MB, free: 13.27 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.656e-06/3.072, allocations: 0 / 396.8 MB, free: 13.27 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/3.072, allocations: 0 / 396.8 MB, free: 13.27 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.124e-06/3.072, allocations: 0 / 396.8 MB, free: 13.27 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007666/3.073, allocations: 323 kB / 397.2 MB, free: 12.91 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-06/3.073, allocations: 0 / 397.2 MB, free: 12.91 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001316/3.073, allocations: 4 kB / 397.2 MB, free: 12.91 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.077e-06/3.073, allocations: 0 / 397.2 MB, free: 12.91 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.861e-05/3.073, allocations: 4 kB / 397.2 MB, free: 12.9 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.279e-06/3.073, allocations: 0 / 397.2 MB, free: 12.9 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.975e-06/3.073, allocations: 4 kB / 397.2 MB, free: 12.9 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004796/3.074, allocations: 175.5 kB / 397.3 MB, free: 12.71 MB / 346.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006737/3.075, allocations: 0.5392 MB / 397.9 MB, free: 12.15 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001364/3.075, allocations: 93 kB / 398 MB, free: 12.04 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.799e-05/3.075, allocations: 0 / 398 MB, free: 12.04 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002579/3.075, allocations: 4 kB / 398 MB, free: 12.04 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.387e-05/3.075, allocations: 7.984 kB / 398 MB, free: 12.03 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.032e-05/3.075, allocations: 0 / 398 MB, free: 12.03 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.000271/3.076, allocations: 125.1 kB / 398.1 MB, free: 11.91 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.00279/3.078, allocations: 43.92 kB / 398.1 MB, free: 11.87 MB / 346.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.001537/3.08, allocations: 279 kB / 398.4 MB, free: 11.64 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003552/3.08, allocations: 73.69 kB / 398.5 MB, free: 11.56 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.923e-06/3.08, allocations: 4 kB / 398.5 MB, free: 11.56 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000135/3.081, allocations: 19.94 kB / 398.5 MB, free: 11.54 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000516/3.081, allocations: 19.89 kB / 398.5 MB, free: 11.52 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006616/3.082, allocations: 135.1 kB / 398.7 MB, free: 11.36 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005395/3.082, allocations: 0.7153 MB / 399.4 MB, free: 10.62 MB / 346.7 MB Notification: Performance of SimCode: time 1.333e-06/3.082, allocations: 0 / 399.4 MB, free: 10.62 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test31_res.mat does not exist to compare? outputFormat=mat