Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test43,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test43",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.066/2.066, allocations: 209.3 MB / 216.3 MB, free: 6.773 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2903/2.356, allocations: 51.03 MB / 267.3 MB, free: 5.117 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1432/2.499, allocations: 48.69 MB / 316 MB, free: 4.336 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3587/2.858, allocations: 75.27 MB / 391.2 MB, free: 1.473 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004448/2.859, allocations: 70.19 kB / 391.3 MB, free: 1.441 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.0249/2.884, allocations: 4.143 MB / 395.5 MB, free: 13.89 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.436e-05/2.884, allocations: 8 kB / 395.5 MB, free: 13.89 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.023e-05/2.884, allocations: 11.84 kB / 395.5 MB, free: 13.88 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003335/2.884, allocations: 197.9 kB / 395.7 MB, free: 13.64 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.518e-05/2.884, allocations: 0 / 395.7 MB, free: 13.64 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.086e-05/2.884, allocations: 4 kB / 395.7 MB, free: 13.64 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.5e-05/2.884, allocations: 15.38 kB / 395.7 MB, free: 13.63 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001144/2.884, allocations: 49.02 kB / 395.7 MB, free: 13.58 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/2.884, allocations: 0 / 395.7 MB, free: 13.58 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.361e-05/2.884, allocations: 4 kB / 395.7 MB, free: 13.57 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.101e-05/2.884, allocations: 4 kB / 395.7 MB, free: 13.57 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005243/2.885, allocations: 268 kB / 396 MB, free: 13.29 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002294/2.885, allocations: 40.45 kB / 396 MB, free: 13.25 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.661e-05/2.885, allocations: 12.58 kB / 396.1 MB, free: 13.24 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.45e-05/2.885, allocations: 3.984 kB / 396.1 MB, free: 13.23 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001089/2.885, allocations: 55.16 kB / 396.1 MB, free: 13.17 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 2.465e-06/2.885, allocations: 0 / 396.1 MB, free: 13.17 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004705/2.886, allocations: 100.2 kB / 396.2 MB, free: 13.08 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.332e-05/2.886, allocations: 55.41 kB / 396.3 MB, free: 13.01 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002525/2.886, allocations: 166.9 kB / 396.4 MB, free: 12.86 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.683e-05/2.886, allocations: 25.7 kB / 396.5 MB, free: 12.83 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.271e-05/2.886, allocations: 91.12 kB / 396.5 MB, free: 12.74 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.009e-05/2.886, allocations: 14.75 kB / 396.6 MB, free: 12.73 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.594e-06/2.886, allocations: 4 kB / 396.6 MB, free: 12.72 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001493/2.886, allocations: 321.6 kB / 396.9 MB, free: 12.4 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.273e-05/2.887, allocations: 19.75 kB / 396.9 MB, free: 12.39 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.229e-05/2.887, allocations: 20.67 kB / 396.9 MB, free: 12.38 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.995e-05/2.887, allocations: 17.81 kB / 396.9 MB, free: 12.37 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/2.887, allocations: 0 / 396.9 MB, free: 12.37 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002958/2.887, allocations: 103.5 kB / 397 MB, free: 12.28 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/2.887, allocations: 6.5 kB / 397 MB, free: 12.27 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.922e-06/2.887, allocations: 0 / 397 MB, free: 12.27 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.881e-05/2.887, allocations: 4 kB / 397 MB, free: 12.27 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001037/2.887, allocations: 8 kB / 397.1 MB, free: 12.26 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.102e-05/2.887, allocations: 4 kB / 397.1 MB, free: 12.26 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.227e-05/2.887, allocations: 19.8 kB / 397.1 MB, free: 12.24 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.645e-05/2.887, allocations: 4 kB / 397.1 MB, free: 12.23 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.0001098/2.888, allocations: 104.9 kB / 397.2 MB, free: 12.12 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.159e-05/2.888, allocations: 8.047 kB / 397.2 MB, free: 12.12 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003104/2.888, allocations: 95.38 kB / 397.3 MB, free: 12.03 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/2.888, allocations: 0 / 397.3 MB, free: 12.03 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/2.888, allocations: 0 / 397.3 MB, free: 12.03 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/2.888, allocations: 4 kB / 397.3 MB, free: 12.03 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005087/2.888, allocations: 324.2 kB / 397.6 MB, free: 11.69 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/2.889, allocations: 4.094 kB / 397.6 MB, free: 11.69 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.082e-05/2.889, allocations: 15.98 kB / 397.6 MB, free: 11.67 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.171e-06/2.889, allocations: 0 / 397.6 MB, free: 11.67 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.291e-05/2.889, allocations: 0 / 397.6 MB, free: 11.67 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/2.889, allocations: 4 kB / 397.6 MB, free: 11.67 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/2.889, allocations: 4 kB / 397.6 MB, free: 11.66 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002453/2.889, allocations: 166.2 kB / 397.8 MB, free: 11.5 MB / 330.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003953/2.889, allocations: 0.5376 MB / 398.3 MB, free: 10.95 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.473e-05/2.89, allocations: 92.92 kB / 398.4 MB, free: 10.84 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.838e-05/2.89, allocations: 0 / 398.4 MB, free: 10.84 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000123/2.89, allocations: 7.984 kB / 398.4 MB, free: 10.84 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.909e-05/2.89, allocations: 7.812 kB / 398.4 MB, free: 10.83 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.524e-05/2.89, allocations: 4 kB / 398.4 MB, free: 10.83 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.000185/2.89, allocations: 132.1 kB / 398.6 MB, free: 10.71 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.00123/2.891, allocations: 27.31 kB / 398.6 MB, free: 10.69 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.0008554/2.892, allocations: 295 kB / 398.9 MB, free: 10.45 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002538/2.892, allocations: 78.89 kB / 399 MB, free: 10.38 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.46e-06/2.892, allocations: 4 kB / 399 MB, free: 10.38 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.637e-05/2.892, allocations: 19.67 kB / 399 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.0003846/2.893, allocations: 11.25 kB / 399 MB, free: 10.35 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005149/2.893, allocations: 145.9 kB / 399.1 MB, free: 10.2 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004251/2.894, allocations: 0.7188 MB / 399.9 MB, free: 9.457 MB / 330.7 MB Notification: Performance of SimCode: time 1.323e-06/2.894, allocations: 0 / 399.9 MB, free: 9.457 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test43_res.mat does not exist to compare? outputFormat=mat