Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test34,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test34",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.901/1.901, allocations: 209.3 MB / 216.3 MB, free: 6.797 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2317/2.132, allocations: 51.03 MB / 267.3 MB, free: 5.145 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1168/2.249, allocations: 48.69 MB / 316 MB, free: 4.355 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3101/2.559, allocations: 75.27 MB / 391.3 MB, free: 1.418 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002666/2.56, allocations: 66.28 kB / 391.3 MB, free: 1.387 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.01809/2.578, allocations: 4.067 MB / 395.4 MB, free: 13.91 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.006e-05/2.578, allocations: 8 kB / 395.4 MB, free: 13.91 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.171e-05/2.578, allocations: 7.906 kB / 395.4 MB, free: 13.9 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003116/2.578, allocations: 204.6 kB / 395.6 MB, free: 13.66 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.462e-05/2.578, allocations: 0 / 395.6 MB, free: 13.66 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.334e-05/2.578, allocations: 4 kB / 395.6 MB, free: 13.66 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.998e-05/2.578, allocations: 19.3 kB / 395.6 MB, free: 13.64 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001059/2.578, allocations: 40.56 kB / 395.7 MB, free: 13.6 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/2.578, allocations: 0 / 395.7 MB, free: 13.6 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.371e-05/2.578, allocations: 3.906 kB / 395.7 MB, free: 13.6 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/2.578, allocations: 0 / 395.7 MB, free: 13.6 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004348/2.579, allocations: 264.4 kB / 395.9 MB, free: 13.32 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002369/2.579, allocations: 47.56 kB / 396 MB, free: 13.27 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.101e-05/2.579, allocations: 15.69 kB / 396 MB, free: 13.26 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.536e-05/2.579, allocations: 0 / 396 MB, free: 13.26 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001133/2.579, allocations: 50.97 kB / 396 MB, free: 13.2 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.873e-06/2.579, allocations: 0 / 396 MB, free: 13.2 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004603/2.58, allocations: 98.39 kB / 396.1 MB, free: 13.11 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.439e-05/2.58, allocations: 55.41 kB / 396.2 MB, free: 13.04 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002214/2.58, allocations: 155.2 kB / 396.3 MB, free: 12.9 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.481e-05/2.58, allocations: 29.7 kB / 396.4 MB, free: 12.86 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.768e-05/2.58, allocations: 91.5 kB / 396.5 MB, free: 12.77 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.662e-05/2.58, allocations: 11.81 kB / 396.5 MB, free: 12.76 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.146e-06/2.58, allocations: 0 / 396.5 MB, free: 12.76 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001529/2.581, allocations: 325.9 kB / 396.8 MB, free: 12.44 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.911e-05/2.581, allocations: 19.06 kB / 396.8 MB, free: 12.43 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.426e-05/2.581, allocations: 19.56 kB / 396.8 MB, free: 12.41 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.908e-05/2.581, allocations: 27.08 kB / 396.9 MB, free: 12.39 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/2.581, allocations: 4 kB / 396.9 MB, free: 12.39 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003303/2.581, allocations: 100.4 kB / 397 MB, free: 12.3 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/2.581, allocations: 4 kB / 397 MB, free: 12.3 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/2.581, allocations: 0 / 397 MB, free: 12.3 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/2.581, allocations: 0 / 397 MB, free: 12.3 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.23e-05/2.581, allocations: 8 kB / 397 MB, free: 12.29 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.306e-06/2.581, allocations: 4 kB / 397 MB, free: 12.29 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.527e-05/2.581, allocations: 0 / 397 MB, free: 12.29 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.877e-05/2.581, allocations: 4 kB / 397 MB, free: 12.28 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.952e-05/2.582, allocations: 119.9 kB / 397.1 MB, free: 12.16 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.548e-05/2.582, allocations: 7.906 kB / 397.1 MB, free: 12.15 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002719/2.582, allocations: 92.94 kB / 397.2 MB, free: 12.07 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/2.582, allocations: 0 / 397.2 MB, free: 12.07 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/2.582, allocations: 0 / 397.2 MB, free: 12.07 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/2.582, allocations: 4 kB / 397.2 MB, free: 12.06 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005395/2.582, allocations: 320 kB / 397.5 MB, free: 11.73 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/2.582, allocations: 4 kB / 397.5 MB, free: 11.73 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.741e-05/2.583, allocations: 7.938 kB / 397.5 MB, free: 11.72 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.646e-06/2.583, allocations: 4.234 kB / 397.5 MB, free: 11.71 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.144e-05/2.583, allocations: 3.938 kB / 397.5 MB, free: 11.71 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/2.583, allocations: 0 / 397.5 MB, free: 11.71 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.039e-06/2.583, allocations: 3.984 kB / 397.5 MB, free: 11.71 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002278/2.583, allocations: 170 kB / 397.7 MB, free: 11.54 MB / 330.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004341/2.583, allocations: 0.5419 MB / 398.2 MB, free: 10.99 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.865e-05/2.583, allocations: 89 kB / 398.3 MB, free: 10.88 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.278e-05/2.583, allocations: 0 / 398.3 MB, free: 10.88 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001032/2.584, allocations: 4 kB / 398.3 MB, free: 10.88 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.068e-05/2.584, allocations: 3.938 kB / 398.3 MB, free: 10.88 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.561e-05/2.584, allocations: 11.55 kB / 398.3 MB, free: 10.87 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.0001469/2.584, allocations: 123 kB / 398.5 MB, free: 10.76 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.00123/2.585, allocations: 43.23 kB / 398.5 MB, free: 10.72 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.000772/2.586, allocations: 272.5 kB / 398.8 MB, free: 10.5 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002142/2.586, allocations: 72 kB / 398.8 MB, free: 10.43 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/2.586, allocations: 0 / 398.8 MB, free: 10.43 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.587e-05/2.586, allocations: 26.69 kB / 398.9 MB, free: 10.41 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003207/2.587, allocations: 11.89 kB / 398.9 MB, free: 10.4 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004518/2.587, allocations: 133.9 kB / 399 MB, free: 10.26 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004643/2.587, allocations: 0.7197 MB / 399.7 MB, free: 9.516 MB / 330.7 MB Notification: Performance of SimCode: time 6.52e-07/2.587, allocations: 0 / 399.7 MB, free: 9.516 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test34_res.mat does not exist to compare? outputFormat=mat