Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test27,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test27",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.941/1.941, allocations: 209.3 MB / 216.3 MB, free: 6.801 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2659/2.207, allocations: 51.05 MB / 267.3 MB, free: 5.133 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1258/2.333, allocations: 48.68 MB / 316 MB, free: 4.359 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3591/2.692, allocations: 75.23 MB / 391.2 MB, free: 1.473 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002804/2.692, allocations: 76.94 kB / 391.3 MB, free: 1.438 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.02299/2.715, allocations: 3.958 MB / 395.2 MB, free: 14.06 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.348e-05/2.715, allocations: 8 kB / 395.3 MB, free: 14.05 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.998e-05/2.715, allocations: 11.89 kB / 395.3 MB, free: 14.04 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003271/2.716, allocations: 205.3 kB / 395.5 MB, free: 13.8 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.138e-05/2.716, allocations: 0 / 395.5 MB, free: 13.8 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.757e-05/2.716, allocations: 11.97 kB / 395.5 MB, free: 13.79 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.674e-05/2.716, allocations: 11.75 kB / 395.5 MB, free: 13.79 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001055/2.716, allocations: 41.12 kB / 395.5 MB, free: 13.74 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.516e-05/2.716, allocations: 4 kB / 395.5 MB, free: 13.74 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.119e-05/2.716, allocations: 11.83 kB / 395.5 MB, free: 13.73 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/2.716, allocations: 0 / 395.5 MB, free: 13.73 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004557/2.717, allocations: 265.8 kB / 395.8 MB, free: 13.45 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002464/2.717, allocations: 36.8 kB / 395.8 MB, free: 13.41 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.184e-05/2.717, allocations: 12.42 kB / 395.9 MB, free: 13.4 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.565e-05/2.717, allocations: 4 kB / 395.9 MB, free: 13.39 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.983e-05/2.717, allocations: 51.31 kB / 395.9 MB, free: 13.34 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.663e-06/2.717, allocations: 0 / 395.9 MB, free: 13.34 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004539/2.717, allocations: 96.08 kB / 396 MB, free: 13.25 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.123e-05/2.718, allocations: 55.41 kB / 396.1 MB, free: 13.18 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002221/2.718, allocations: 151.4 kB / 396.2 MB, free: 13.04 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.641e-05/2.718, allocations: 29.7 kB / 396.2 MB, free: 13 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.646e-05/2.718, allocations: 95.45 kB / 396.3 MB, free: 12.91 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.632e-05/2.718, allocations: 15.36 kB / 396.3 MB, free: 12.9 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.985e-06/2.718, allocations: 0 / 396.3 MB, free: 12.9 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001642/2.718, allocations: 321.8 kB / 396.7 MB, free: 12.58 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.221e-05/2.718, allocations: 23.05 kB / 396.7 MB, free: 12.56 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.329e-05/2.718, allocations: 18.81 kB / 396.7 MB, free: 12.55 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.836e-05/2.718, allocations: 30.28 kB / 396.7 MB, free: 12.53 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/2.718, allocations: 0 / 396.7 MB, free: 12.53 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002606/2.719, allocations: 92.14 kB / 396.8 MB, free: 12.45 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/2.719, allocations: 4 kB / 396.8 MB, free: 12.45 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/2.719, allocations: 4 kB / 396.8 MB, free: 12.44 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/2.719, allocations: 4 kB / 396.8 MB, free: 12.44 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.847e-05/2.719, allocations: 11.98 kB / 396.8 MB, free: 12.43 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/2.719, allocations: 3.938 kB / 396.8 MB, free: 12.42 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.697e-05/2.719, allocations: 0 / 396.8 MB, free: 12.42 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.921e-05/2.719, allocations: 4 kB / 396.8 MB, free: 12.42 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.843e-05/2.719, allocations: 116.5 kB / 397 MB, free: 12.3 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.454e-05/2.719, allocations: 3.906 kB / 397 MB, free: 12.3 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002677/2.719, allocations: 84.08 kB / 397 MB, free: 12.22 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.654e-06/2.719, allocations: 4 kB / 397.1 MB, free: 12.21 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/2.719, allocations: 0 / 397.1 MB, free: 12.21 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/2.719, allocations: 0 / 397.1 MB, free: 12.21 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004502/2.72, allocations: 327.8 kB / 397.4 MB, free: 11.88 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/2.72, allocations: 0 / 397.4 MB, free: 11.88 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.991e-05/2.72, allocations: 8 kB / 397.4 MB, free: 11.87 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.387e-06/2.72, allocations: 0 / 397.4 MB, free: 11.87 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.327e-05/2.72, allocations: 8.172 kB / 397.4 MB, free: 11.86 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.923e-06/2.72, allocations: 4 kB / 397.4 MB, free: 11.86 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.725e-06/2.72, allocations: 3.984 kB / 397.4 MB, free: 11.85 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002367/2.72, allocations: 166 kB / 397.6 MB, free: 11.68 MB / 330.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003649/2.721, allocations: 0.5447 MB / 398.1 MB, free: 11.13 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.811e-05/2.721, allocations: 92.95 kB / 398.2 MB, free: 11.02 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.488e-05/2.721, allocations: 3.75 kB / 398.2 MB, free: 11.02 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001041/2.721, allocations: 4 kB / 398.2 MB, free: 11.02 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.601e-05/2.721, allocations: 4.125 kB / 398.2 MB, free: 11.02 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.345e-05/2.721, allocations: 4 kB / 398.2 MB, free: 11.01 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.0001448/2.721, allocations: 122.1 kB / 398.3 MB, free: 10.91 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.00121/2.722, allocations: 39.42 kB / 398.4 MB, free: 10.87 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.0007782/2.723, allocations: 280.8 kB / 398.6 MB, free: 10.64 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002165/2.723, allocations: 80.25 kB / 398.7 MB, free: 10.57 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/2.723, allocations: 4 kB / 398.7 MB, free: 10.57 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.265e-05/2.723, allocations: 15.25 kB / 398.7 MB, free: 10.55 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003216/2.724, allocations: 19.08 kB / 398.8 MB, free: 10.54 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004825/2.724, allocations: 130.8 kB / 398.9 MB, free: 10.4 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004128/2.725, allocations: 0.7187 MB / 399.6 MB, free: 9.656 MB / 330.7 MB Notification: Performance of SimCode: time 6.71e-07/2.725, allocations: 0 / 399.6 MB, free: 9.656 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test27_res.mat does not exist to compare? outputFormat=mat