Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test11,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test11",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.033/2.033, allocations: 209.3 MB / 216.3 MB, free: 6.797 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.249/2.282, allocations: 51.03 MB / 267.3 MB, free: 5.152 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1188/2.401, allocations: 48.68 MB / 316 MB, free: 4.367 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3577/2.759, allocations: 76.02 MB / 392 MB, free: 0.7305 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002649/2.759, allocations: 71.28 kB / 392.1 MB, free: 0.6992 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.01828/2.777, allocations: 3.339 MB / 395.4 MB, free: 13.82 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.398e-05/2.777, allocations: 8 kB / 395.4 MB, free: 13.81 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.371e-05/2.777, allocations: 15.81 kB / 395.4 MB, free: 13.79 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003452/2.778, allocations: 204.9 kB / 395.6 MB, free: 13.56 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.476e-05/2.778, allocations: 0 / 395.6 MB, free: 13.56 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.096e-05/2.778, allocations: 4 kB / 395.6 MB, free: 13.55 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001352/2.778, allocations: 37.67 kB / 395.7 MB, free: 13.53 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001552/2.778, allocations: 59.73 kB / 395.7 MB, free: 13.47 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.317e-06/2.778, allocations: 4 kB / 395.7 MB, free: 13.46 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.537e-05/2.778, allocations: 0 / 395.7 MB, free: 13.46 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/2.778, allocations: 0 / 395.7 MB, free: 13.46 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007046/2.779, allocations: 331.3 kB / 396.1 MB, free: 13.13 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003056/2.779, allocations: 62 kB / 396.1 MB, free: 13.08 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.221e-05/2.779, allocations: 22.36 kB / 396.1 MB, free: 13.06 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.85e-05/2.779, allocations: 3.938 kB / 396.1 MB, free: 13.05 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00015/2.779, allocations: 81.55 kB / 396.2 MB, free: 12.97 MB / 330.7 MB Notification: Performance of pre-optimization done (n=7): time 2.174e-06/2.779, allocations: 0 / 396.2 MB, free: 12.97 MB / 330.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002923/2.78, allocations: 76.25 kB / 396.3 MB, free: 12.9 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.361e-05/2.78, allocations: 55.41 kB / 396.4 MB, free: 12.83 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000201/2.78, allocations: 145.8 kB / 396.5 MB, free: 12.7 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.719e-05/2.78, allocations: 25.7 kB / 396.5 MB, free: 12.67 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.372e-05/2.78, allocations: 98.66 kB / 396.6 MB, free: 12.57 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.86e-05/2.78, allocations: 19.66 kB / 396.6 MB, free: 12.55 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.037e-06/2.78, allocations: 0 / 396.6 MB, free: 12.55 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001486/2.78, allocations: 324.3 kB / 396.9 MB, free: 12.23 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.526e-05/2.78, allocations: 28.73 kB / 397 MB, free: 12.21 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.848e-05/2.781, allocations: 39.66 kB / 397 MB, free: 12.18 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001049/2.781, allocations: 33.66 kB / 397 MB, free: 12.16 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/2.781, allocations: 0 / 397 MB, free: 12.16 MB / 330.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003021/2.781, allocations: 106 kB / 397.2 MB, free: 12.07 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/2.781, allocations: 8 kB / 397.2 MB, free: 12.06 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.255e-06/2.781, allocations: 3.906 kB / 397.2 MB, free: 12.05 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/2.781, allocations: 0 / 397.2 MB, free: 12.05 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001796/2.781, allocations: 23.95 kB / 397.2 MB, free: 12.03 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/2.781, allocations: 4 kB / 397.2 MB, free: 12.03 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000105/2.781, allocations: 7.938 kB / 397.2 MB, free: 12.02 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.306e-05/2.781, allocations: 4 kB / 397.2 MB, free: 12.02 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (10): * Single equations (assignments): 9 * 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.0001011/2.782, allocations: 108.9 kB / 397.3 MB, free: 11.9 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.678e-05/2.782, allocations: 11.89 kB / 397.3 MB, free: 11.89 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002878/2.782, allocations: 97.59 kB / 397.4 MB, free: 11.8 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/2.782, allocations: 0 / 397.4 MB, free: 11.8 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/2.782, allocations: 0 / 397.4 MB, free: 11.8 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.798e-06/2.782, allocations: 3.906 kB / 397.4 MB, free: 11.8 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002368/2.782, allocations: 177.4 kB / 397.6 MB, free: 11.61 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/2.782, allocations: 0 / 397.6 MB, free: 11.61 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001585/2.782, allocations: 15.98 kB / 397.6 MB, free: 11.59 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.989e-06/2.782, allocations: 0 / 397.6 MB, free: 11.59 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.722e-05/2.782, allocations: 0 / 397.6 MB, free: 11.59 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.33e-06/2.782, allocations: 7.938 kB / 397.6 MB, free: 11.58 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.237e-06/2.782, allocations: 11.91 kB / 397.6 MB, free: 11.57 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003324/2.783, allocations: 128 kB / 397.8 MB, free: 11.45 MB / 330.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005583/2.783, allocations: 0.5454 MB / 398.3 MB, free: 10.92 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.942e-05/2.783, allocations: 88.92 kB / 398.4 MB, free: 10.81 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.511e-05/2.784, allocations: 128 / 398.4 MB, free: 10.81 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001077/2.784, allocations: 8 kB / 398.4 MB, free: 10.8 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.138e-05/2.784, allocations: 7.984 kB / 398.4 MB, free: 10.8 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.442e-05/2.784, allocations: 3.688 kB / 398.4 MB, free: 10.8 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.0001427/2.784, allocations: 113.6 kB / 398.5 MB, free: 10.7 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001431/2.785, allocations: 47.39 kB / 398.6 MB, free: 10.65 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (8): * Single equations (assignments): 7 * 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.0007305/2.786, allocations: 256.5 kB / 398.8 MB, free: 10.45 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000272/2.786, allocations: 80.31 kB / 398.9 MB, free: 10.38 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/2.786, allocations: 0 / 398.9 MB, free: 10.38 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 8.436e-05/2.787, allocations: 26.94 kB / 398.9 MB, free: 10.36 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003713/2.787, allocations: 27.08 kB / 398.9 MB, free: 10.33 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005999/2.788, allocations: 162.9 kB / 399.1 MB, free: 10.16 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004355/2.788, allocations: 0.7192 MB / 399.8 MB, free: 9.418 MB / 330.7 MB Notification: Performance of SimCode: time 8.12e-07/2.788, allocations: 0 / 399.8 MB, free: 9.418 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat does not exist to compare? outputFormat=mat