Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test9,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test9",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.012/2.012, allocations: 209.3 MB / 216.3 MB, free: 6.789 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2151/2.227, allocations: 51.04 MB / 267.3 MB, free: 5.133 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1145/2.342, allocations: 48.69 MB / 316 MB, free: 4.34 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3158/2.657, allocations: 75.22 MB / 391.2 MB, free: 1.477 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002622/2.658, allocations: 69.03 kB / 391.3 MB, free: 1.445 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.0233/2.681, allocations: 4.087 MB / 395.4 MB, free: 13.94 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.412e-05/2.681, allocations: 8 kB / 395.4 MB, free: 13.93 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.728e-05/2.681, allocations: 7.906 kB / 395.4 MB, free: 13.93 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004888/2.682, allocations: 204.5 kB / 395.6 MB, free: 13.69 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.17e-05/2.682, allocations: 0 / 395.6 MB, free: 13.69 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.595e-05/2.682, allocations: 7.906 kB / 395.6 MB, free: 13.68 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001531/2.682, allocations: 22.67 kB / 395.6 MB, free: 13.66 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001531/2.682, allocations: 40.94 kB / 395.6 MB, free: 13.62 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.269e-05/2.682, allocations: 0 / 395.6 MB, free: 13.62 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.66e-05/2.682, allocations: 4 kB / 395.6 MB, free: 13.62 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/2.682, allocations: 0 / 395.6 MB, free: 13.62 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005746/2.683, allocations: 277.5 kB / 395.9 MB, free: 13.33 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003672/2.683, allocations: 47.5 kB / 396 MB, free: 13.28 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.678e-05/2.683, allocations: 12.73 kB / 396 MB, free: 13.27 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.93e-05/2.683, allocations: 0 / 396 MB, free: 13.27 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001697/2.684, allocations: 49.94 kB / 396 MB, free: 13.21 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 3.526e-06/2.684, allocations: 4 kB / 396 MB, free: 13.21 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006687/2.684, allocations: 100.9 kB / 396.1 MB, free: 13.11 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.786e-05/2.684, allocations: 51.41 kB / 396.2 MB, free: 13.05 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004013/2.685, allocations: 184.8 kB / 396.4 MB, free: 12.89 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.941e-05/2.685, allocations: 25.7 kB / 396.4 MB, free: 12.86 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.651e-05/2.685, allocations: 90.62 kB / 396.5 MB, free: 12.77 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.707e-05/2.685, allocations: 14.5 kB / 396.5 MB, free: 12.75 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.181e-05/2.685, allocations: 0 / 396.5 MB, free: 12.75 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002036/2.685, allocations: 325.6 kB / 396.8 MB, free: 12.43 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001031/2.685, allocations: 19.06 kB / 396.8 MB, free: 12.42 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001034/2.686, allocations: 22.88 kB / 396.8 MB, free: 12.41 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001368/2.686, allocations: 23.17 kB / 396.9 MB, free: 12.39 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.115e-06/2.686, allocations: 4 kB / 396.9 MB, free: 12.39 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004499/2.686, allocations: 102.4 kB / 397 MB, free: 12.3 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.719e-05/2.686, allocations: 4 kB / 397 MB, free: 12.29 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/2.686, allocations: 0 / 397 MB, free: 12.29 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.466e-05/2.686, allocations: 4 kB / 397 MB, free: 12.29 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001373/2.687, allocations: 11.94 kB / 397 MB, free: 12.28 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/2.687, allocations: 0 / 397 MB, free: 12.28 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001176/2.687, allocations: 0 / 397 MB, free: 12.28 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.842e-05/2.687, allocations: 7.984 kB / 397 MB, free: 12.27 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.0001415/2.687, allocations: 112.9 kB / 397.1 MB, free: 12.15 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.631e-05/2.687, allocations: 7.906 kB / 397.1 MB, free: 12.14 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004155/2.687, allocations: 90.06 kB / 397.2 MB, free: 12.06 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.588e-06/2.687, allocations: 0 / 397.2 MB, free: 12.06 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/2.687, allocations: 0 / 397.2 MB, free: 12.06 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/2.687, allocations: 0 / 397.2 MB, free: 12.06 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007491/2.688, allocations: 326.7 kB / 397.5 MB, free: 11.72 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.053e-05/2.688, allocations: 4 kB / 397.5 MB, free: 11.72 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001137/2.688, allocations: 15.92 kB / 397.5 MB, free: 11.7 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.015e-06/2.688, allocations: 0 / 397.5 MB, free: 11.7 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.058e-05/2.688, allocations: 4 kB / 397.5 MB, free: 11.7 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.349e-06/2.688, allocations: 0 / 397.5 MB, free: 11.7 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.524e-06/2.689, allocations: 4.094 kB / 397.6 MB, free: 11.7 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003329/2.689, allocations: 166.6 kB / 397.7 MB, free: 11.53 MB / 330.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005195/2.689, allocations: 0.5458 MB / 398.3 MB, free: 10.98 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001202/2.69, allocations: 85.02 kB / 398.3 MB, free: 10.88 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.98e-05/2.69, allocations: 7.891 kB / 398.4 MB, free: 10.87 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002006/2.69, allocations: 4 kB / 398.4 MB, free: 10.86 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.767e-05/2.69, allocations: 4.031 kB / 398.4 MB, free: 10.86 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.179e-05/2.69, allocations: 11.38 kB / 398.4 MB, free: 10.85 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.0002861/2.69, allocations: 138.6 kB / 398.5 MB, free: 10.73 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002174/2.692, allocations: 43.48 kB / 398.5 MB, free: 10.7 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.001221/2.694, allocations: 277 kB / 398.8 MB, free: 10.46 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000357/2.694, allocations: 72.56 kB / 398.9 MB, free: 10.4 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/2.694, allocations: 0 / 398.9 MB, free: 10.4 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001075/2.694, allocations: 25.06 kB / 398.9 MB, free: 10.38 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005338/2.695, allocations: 18.61 kB / 398.9 MB, free: 10.37 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007185/2.696, allocations: 151.4 kB / 399.1 MB, free: 10.21 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005331/2.696, allocations: 0.7231 MB / 399.8 MB, free: 9.461 MB / 330.7 MB Notification: Performance of SimCode: time 1.443e-06/2.696, allocations: 0 / 399.8 MB, free: 9.461 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat does not exist to compare? outputFormat=mat