Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test23,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test23",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.981/1.981, allocations: 209.3 MB / 216.3 MB, free: 6.801 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2517/2.233, allocations: 51.05 MB / 267.3 MB, free: 5.129 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1226/2.356, allocations: 48.68 MB / 316 MB, free: 4.355 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3021/2.658, allocations: 75.23 MB / 391.2 MB, free: 1.512 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002716/2.658, allocations: 76.5 kB / 391.3 MB, free: 1.477 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.0181/2.676, allocations: 4.011 MB / 395.3 MB, free: 14.05 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.473e-05/2.676, allocations: 8 kB / 395.3 MB, free: 14.04 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.292e-05/2.676, allocations: 15.83 kB / 395.3 MB, free: 14.03 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003774/2.677, allocations: 195.3 kB / 395.5 MB, free: 13.8 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.521e-05/2.677, allocations: 0 / 395.5 MB, free: 13.8 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.021e-05/2.677, allocations: 4 kB / 395.5 MB, free: 13.79 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.586e-05/2.677, allocations: 10.94 kB / 395.5 MB, free: 13.79 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001161/2.677, allocations: 49.34 kB / 395.6 MB, free: 13.73 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.688e-05/2.677, allocations: 7.922 kB / 395.6 MB, free: 13.73 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.714e-05/2.677, allocations: 4 kB / 395.6 MB, free: 13.72 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.8e-06/2.677, allocations: 0 / 395.6 MB, free: 13.72 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005046/2.677, allocations: 265.9 kB / 395.8 MB, free: 13.45 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002544/2.678, allocations: 44.58 kB / 395.9 MB, free: 13.4 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.464e-05/2.678, allocations: 8.859 kB / 395.9 MB, free: 13.39 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.032e-05/2.678, allocations: 7.984 kB / 395.9 MB, free: 13.38 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001052/2.678, allocations: 54.75 kB / 396 MB, free: 13.32 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 2.265e-06/2.678, allocations: 0 / 396 MB, free: 13.32 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005058/2.679, allocations: 104.2 kB / 396.1 MB, free: 13.23 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.673e-05/2.679, allocations: 55.41 kB / 396.1 MB, free: 13.16 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002621/2.679, allocations: 163.5 kB / 396.3 MB, free: 13.01 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.472e-05/2.679, allocations: 28.95 kB / 396.3 MB, free: 12.98 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.959e-05/2.679, allocations: 95.56 kB / 396.4 MB, free: 12.88 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.774e-05/2.679, allocations: 11.81 kB / 396.4 MB, free: 12.87 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.965e-06/2.679, allocations: 0 / 396.4 MB, free: 12.87 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001399/2.679, allocations: 322.6 kB / 396.7 MB, free: 12.55 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.011e-05/2.679, allocations: 21.31 kB / 396.7 MB, free: 12.54 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.895e-05/2.679, allocations: 19.25 kB / 396.8 MB, free: 12.53 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.917e-05/2.679, allocations: 24.73 kB / 396.8 MB, free: 12.51 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/2.679, allocations: 4 kB / 396.8 MB, free: 12.51 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002674/2.68, allocations: 92.45 kB / 396.9 MB, free: 12.43 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/2.68, allocations: 8 kB / 396.9 MB, free: 12.42 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/2.68, allocations: 0 / 396.9 MB, free: 12.42 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/2.68, allocations: 0 / 396.9 MB, free: 12.42 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001291/2.68, allocations: 8 kB / 396.9 MB, free: 12.41 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.197e-05/2.68, allocations: 7.844 kB / 396.9 MB, free: 12.4 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001124/2.68, allocations: 11.88 kB / 396.9 MB, free: 12.39 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.049e-05/2.68, allocations: 4 kB / 396.9 MB, free: 12.39 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.000143/2.68, allocations: 105 kB / 397 MB, free: 12.28 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.484e-05/2.68, allocations: 11.72 kB / 397 MB, free: 12.27 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004804/2.681, allocations: 87.3 kB / 397.1 MB, free: 12.19 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.301e-06/2.681, allocations: 3.938 kB / 397.1 MB, free: 12.18 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.071e-05/2.681, allocations: 4 kB / 397.1 MB, free: 12.18 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.093e-06/2.681, allocations: 0 / 397.1 MB, free: 12.18 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007088/2.682, allocations: 319 kB / 397.4 MB, free: 11.85 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.29e-05/2.682, allocations: 7.906 kB / 397.4 MB, free: 11.84 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001083/2.682, allocations: 7.625 kB / 397.5 MB, free: 11.84 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.484e-06/2.682, allocations: 0 / 397.5 MB, free: 11.84 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.333e-05/2.682, allocations: 12.31 kB / 397.5 MB, free: 11.82 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.354e-06/2.682, allocations: 4 kB / 397.5 MB, free: 11.82 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/2.682, allocations: 0 / 397.5 MB, free: 11.82 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000342/2.682, allocations: 165.6 kB / 397.6 MB, free: 11.65 MB / 330.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004831/2.683, allocations: 0.5402 MB / 398.2 MB, free: 11.11 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001025/2.683, allocations: 96.92 kB / 398.3 MB, free: 10.99 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.04e-05/2.683, allocations: 3.438 kB / 398.3 MB, free: 10.99 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001768/2.683, allocations: 4 kB / 398.3 MB, free: 10.99 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.293e-05/2.683, allocations: 3.984 kB / 398.3 MB, free: 10.98 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.916e-05/2.683, allocations: 4 kB / 398.3 MB, free: 10.98 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.0002274/2.684, allocations: 132.9 kB / 398.4 MB, free: 10.87 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001831/2.685, allocations: 27.44 kB / 398.4 MB, free: 10.84 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.0008788/2.686, allocations: 289.3 kB / 398.7 MB, free: 10.6 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002663/2.687, allocations: 83.52 kB / 398.8 MB, free: 10.53 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/2.687, allocations: 0 / 398.8 MB, free: 10.53 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.402e-05/2.687, allocations: 15.69 kB / 398.8 MB, free: 10.52 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003862/2.687, allocations: 11.98 kB / 398.8 MB, free: 10.51 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005459/2.688, allocations: 148.7 kB / 399 MB, free: 10.36 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004262/2.688, allocations: 0.7186 MB / 399.7 MB, free: 9.613 MB / 330.7 MB Notification: Performance of SimCode: time 1.012e-06/2.688, allocations: 4 kB / 399.7 MB, free: 9.609 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test23_res.mat does not exist to compare? outputFormat=mat