Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test37,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test37",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.139/2.139, allocations: 209.3 MB / 216.3 MB, free: 4.281 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.161/2.3, allocations: 51.03 MB / 267.3 MB, free: 1.254 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3125/2.612, allocations: 48.7 MB / 316 MB, free: 13.45 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1645/2.777, allocations: 74.88 MB / 390.9 MB, free: 6.191 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003947/2.777, allocations: 63.97 kB / 390.9 MB, free: 6.129 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.02748/2.805, allocations: 3.861 MB / 394.8 MB, free: 2.215 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.865e-05/2.805, allocations: 12 kB / 394.8 MB, free: 2.203 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.042e-05/2.805, allocations: 7.906 kB / 394.8 MB, free: 2.195 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004543/2.805, allocations: 202.1 kB / 395 MB, free: 1.961 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.863e-05/2.805, allocations: 0 / 395 MB, free: 1.961 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.514e-05/2.805, allocations: 4 kB / 395 MB, free: 1.957 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.882e-05/2.806, allocations: 11.88 kB / 395 MB, free: 1.945 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001354/2.806, allocations: 41.69 kB / 395.1 MB, free: 1.898 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/2.806, allocations: 4 kB / 395.1 MB, free: 1.895 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.566e-05/2.806, allocations: 0 / 395.1 MB, free: 1.895 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.625e-06/2.806, allocations: 0 / 395.1 MB, free: 1.895 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003329/2.806, allocations: 170.1 kB / 395.2 MB, free: 1.691 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000111/2.806, allocations: 26.64 kB / 395.3 MB, free: 1.656 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.811e-05/2.806, allocations: 12.86 kB / 395.3 MB, free: 1.641 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.321e-05/2.806, allocations: 0 / 395.3 MB, free: 1.641 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001593/2.807, allocations: 63.33 kB / 395.3 MB, free: 1.566 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 3.156e-06/2.807, allocations: 0 / 395.3 MB, free: 1.566 MB / 330.7 MB Notification: Performance of matching and sorting (n=3): time 0.0003065/2.807, allocations: 57.58 kB / 395.4 MB, free: 1.504 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.007e-05/2.807, allocations: 51.41 kB / 395.4 MB, free: 1.441 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003226/2.807, allocations: 161.5 kB / 395.6 MB, free: 1.277 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.273e-05/2.807, allocations: 25.7 kB / 395.6 MB, free: 1.246 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.982e-05/2.808, allocations: 88.14 kB / 395.7 MB, free: 1.156 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.416e-05/2.808, allocations: 7.891 kB / 395.7 MB, free: 1.148 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.031e-05/2.808, allocations: 4 kB / 395.7 MB, free: 1.145 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001631/2.808, allocations: 318.8 kB / 396 MB, free: 0.8242 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.432e-05/2.808, allocations: 12 kB / 396 MB, free: 0.8125 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001227/2.808, allocations: 23.98 kB / 396.1 MB, free: 0.7891 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001227/2.808, allocations: 16.06 kB / 396.1 MB, free: 0.7734 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/2.808, allocations: 0 / 396.1 MB, free: 0.7734 MB / 330.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003652/2.809, allocations: 85.52 kB / 396.2 MB, free: 0.6836 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.844e-05/2.809, allocations: 4 kB / 396.2 MB, free: 0.6797 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/2.809, allocations: 0 / 396.2 MB, free: 0.6797 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.92e-05/2.809, allocations: 4 kB / 396.2 MB, free: 0.6758 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001282/2.809, allocations: 8 kB / 396.2 MB, free: 0.668 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/2.809, allocations: 0 / 396.2 MB, free: 0.668 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001241/2.809, allocations: 7.844 kB / 396.2 MB, free: 0.6602 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.787e-05/2.809, allocations: 8 kB / 396.2 MB, free: 0.6523 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.0001436/2.809, allocations: 109 kB / 396.3 MB, free: 0.5391 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.971e-05/2.809, allocations: 3.906 kB / 396.3 MB, free: 0.5352 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002949/2.81, allocations: 69.73 kB / 396.4 MB, free: 468 kB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.258e-05/2.81, allocations: 11.91 kB / 396.4 MB, free: 456 kB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.31e-05/2.81, allocations: 0 / 396.4 MB, free: 456 kB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.962e-06/2.81, allocations: 3.938 kB / 396.4 MB, free: 452 kB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002726/2.81, allocations: 158.2 kB / 396.5 MB, free: 256 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.753e-06/2.81, allocations: 8.062 kB / 396.5 MB, free: 248 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.449e-05/2.81, allocations: 4 kB / 396.6 MB, free: 244 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.4e-06/2.81, allocations: 0 / 396.6 MB, free: 244 kB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.683e-05/2.81, allocations: 0 / 396.6 MB, free: 244 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.377e-06/2.81, allocations: 0 / 396.6 MB, free: 244 kB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.151e-05/2.81, allocations: 7.906 kB / 396.6 MB, free: 236 kB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002601/2.81, allocations: 81.03 kB / 396.6 MB, free: 136 kB / 330.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005339/2.811, allocations: 473.3 kB / 397.1 MB, free: 15.65 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001181/2.811, allocations: 89.02 kB / 397.2 MB, free: 15.54 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.871e-05/2.811, allocations: 3.984 kB / 397.2 MB, free: 15.54 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.947e-05/2.811, allocations: 4 kB / 397.2 MB, free: 15.54 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.561e-05/2.811, allocations: 4 kB / 397.2 MB, free: 15.53 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.088e-05/2.811, allocations: 4 kB / 397.2 MB, free: 15.53 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.0002249/2.812, allocations: 129.1 kB / 397.3 MB, free: 15.4 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002054/2.814, allocations: 20 kB / 397.3 MB, free: 15.38 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 (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.001214/2.815, allocations: 248.7 kB / 397.6 MB, free: 15.18 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003286/2.815, allocations: 65.62 kB / 397.7 MB, free: 15.11 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/2.815, allocations: 0 / 397.7 MB, free: 15.11 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 8.172e-05/2.816, allocations: 12 kB / 397.7 MB, free: 15.09 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004661/2.816, allocations: 19.89 kB / 397.7 MB, free: 15.07 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006365/2.817, allocations: 115.7 kB / 397.8 MB, free: 14.94 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004785/2.817, allocations: 0.7188 MB / 398.5 MB, free: 14.2 MB / 346.7 MB Notification: Performance of SimCode: time 2.294e-06/2.817, allocations: 0 / 398.5 MB, free: 14.2 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat does not exist to compare? outputFormat=mat