Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test22,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test22",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.98/1.98, allocations: 209.3 MB / 216.3 MB, free: 6.797 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2608/2.241, allocations: 51.04 MB / 267.3 MB, free: 5.148 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1289/2.37, allocations: 48.68 MB / 316 MB, free: 4.363 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3219/2.692, allocations: 75.26 MB / 391.2 MB, free: 1.484 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004576/2.692, allocations: 73.03 kB / 391.3 MB, free: 1.449 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.02801/2.72, allocations: 4.05 MB / 395.4 MB, free: 13.99 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/2.721, allocations: 8 kB / 395.4 MB, free: 13.98 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.195e-05/2.721, allocations: 7.906 kB / 395.4 MB, free: 13.98 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004022/2.721, allocations: 200.6 kB / 395.6 MB, free: 13.75 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.942e-05/2.721, allocations: 4 kB / 395.6 MB, free: 13.74 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.206e-05/2.721, allocations: 4 kB / 395.6 MB, free: 13.74 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001251/2.721, allocations: 15.36 kB / 395.6 MB, free: 13.73 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001809/2.722, allocations: 41.19 kB / 395.6 MB, free: 13.68 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.68e-05/2.722, allocations: 3.938 kB / 395.6 MB, free: 13.68 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.503e-05/2.722, allocations: 3.906 kB / 395.7 MB, free: 13.68 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.107e-06/2.722, allocations: 4 kB / 395.7 MB, free: 13.67 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007188/2.722, allocations: 264.8 kB / 395.9 MB, free: 13.39 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003009/2.723, allocations: 40.61 kB / 396 MB, free: 13.35 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.808e-05/2.723, allocations: 16.16 kB / 396 MB, free: 13.34 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.388e-05/2.723, allocations: 4 kB / 396 MB, free: 13.33 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001753/2.723, allocations: 50.88 kB / 396 MB, free: 13.27 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 6.372e-06/2.723, allocations: 0 / 396 MB, free: 13.27 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0007652/2.724, allocations: 101.8 kB / 396.1 MB, free: 13.18 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.48e-05/2.724, allocations: 55.41 kB / 396.2 MB, free: 13.11 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004319/2.724, allocations: 156.7 kB / 396.3 MB, free: 12.97 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.855e-05/2.724, allocations: 29.69 kB / 396.4 MB, free: 12.93 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.087e-05/2.725, allocations: 91.58 kB / 396.4 MB, free: 12.84 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.218e-05/2.725, allocations: 11.81 kB / 396.5 MB, free: 12.83 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.277e-05/2.725, allocations: 0 / 396.5 MB, free: 12.83 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002062/2.725, allocations: 324.1 kB / 396.8 MB, free: 12.51 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001191/2.725, allocations: 15.25 kB / 396.8 MB, free: 12.5 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001067/2.725, allocations: 27.09 kB / 396.8 MB, free: 12.48 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001405/2.725, allocations: 30.72 kB / 396.8 MB, free: 12.46 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/2.725, allocations: 0 / 396.8 MB, free: 12.46 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004164/2.726, allocations: 94.45 kB / 396.9 MB, free: 12.38 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.374e-05/2.726, allocations: 8 kB / 396.9 MB, free: 12.37 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.358e-06/2.726, allocations: 0 / 396.9 MB, free: 12.37 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.911e-05/2.726, allocations: 0 / 396.9 MB, free: 12.37 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000143/2.726, allocations: 11.94 kB / 397 MB, free: 12.36 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/2.726, allocations: 0 / 397 MB, free: 12.36 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001215/2.726, allocations: 7.984 kB / 397 MB, free: 12.35 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.306e-05/2.726, allocations: 11.38 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 0.0001403/2.726, allocations: 108.9 kB / 397.1 MB, free: 12.23 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.628e-05/2.726, allocations: 7.906 kB / 397.1 MB, free: 12.22 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004086/2.727, allocations: 85 kB / 397.2 MB, free: 12.14 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.962e-06/2.727, allocations: 0 / 397.2 MB, free: 12.14 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.543e-06/2.727, allocations: 0 / 397.2 MB, free: 12.14 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/2.727, allocations: 0 / 397.2 MB, free: 12.14 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006586/2.728, allocations: 328.9 kB / 397.5 MB, free: 11.8 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/2.728, allocations: 0 / 397.5 MB, free: 11.8 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.096e-05/2.728, allocations: 8 kB / 397.5 MB, free: 11.8 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.021e-06/2.728, allocations: 96 / 397.5 MB, free: 11.8 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.847e-05/2.728, allocations: 7.922 kB / 397.5 MB, free: 11.79 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/2.728, allocations: 4 kB / 397.5 MB, free: 11.79 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/2.728, allocations: 0 / 397.5 MB, free: 11.79 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000338/2.728, allocations: 169.6 kB / 397.7 MB, free: 11.61 MB / 330.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000536/2.729, allocations: 0.5461 MB / 398.2 MB, free: 11.06 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001012/2.729, allocations: 85.02 kB / 398.3 MB, free: 10.96 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.828e-05/2.729, allocations: 4 kB / 398.3 MB, free: 10.96 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001832/2.729, allocations: 0 / 398.3 MB, free: 10.96 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.581e-05/2.729, allocations: 7.984 kB / 398.3 MB, free: 10.95 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.651e-05/2.729, allocations: 0 / 398.3 MB, free: 10.95 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.0002243/2.73, allocations: 130.6 kB / 398.4 MB, free: 10.84 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002055/2.732, allocations: 43.3 kB / 398.5 MB, free: 10.8 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.001348/2.733, allocations: 276.2 kB / 398.8 MB, free: 10.57 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003799/2.733, allocations: 76.25 kB / 398.8 MB, free: 10.5 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/2.733, allocations: 0 / 398.8 MB, free: 10.5 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 9.584e-05/2.734, allocations: 15.25 kB / 398.9 MB, free: 10.49 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005299/2.734, allocations: 19.83 kB / 398.9 MB, free: 10.48 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006916/2.735, allocations: 132.1 kB / 399 MB, free: 10.34 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000544/2.735, allocations: 0.7191 MB / 399.7 MB, free: 9.59 MB / 330.7 MB Notification: Performance of SimCode: time 1.573e-06/2.735, allocations: 0 / 399.7 MB, free: 9.59 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test22_res.mat does not exist to compare? outputFormat=mat