Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test51,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test51",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.074/2.074, allocations: 209.3 MB / 216.3 MB, free: 6.871 MB / 186.8 MB Notification: Performance of FrontEnd - loaded program: time 0.2685/2.343, allocations: 51.04 MB / 267.3 MB, free: 5.227 MB / 218.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1324/2.475, allocations: 48.7 MB / 316 MB, free: 4.441 MB / 266.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3458/2.821, allocations: 75.25 MB / 391.2 MB, free: 1.465 MB / 314.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003265/2.822, allocations: 71.03 kB / 391.3 MB, free: 1.43 MB / 314.8 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.02001/2.842, allocations: 4.24 MB / 395.6 MB, free: 13.8 MB / 330.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.192e-05/2.842, allocations: 8 kB / 395.6 MB, free: 13.79 MB / 330.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.15e-05/2.842, allocations: 11.89 kB / 395.6 MB, free: 13.78 MB / 330.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004119/2.842, allocations: 210.3 kB / 395.8 MB, free: 13.54 MB / 330.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.607e-05/2.842, allocations: 0 / 395.8 MB, free: 13.54 MB / 330.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.791e-05/2.842, allocations: 4 kB / 395.8 MB, free: 13.53 MB / 330.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001038/2.843, allocations: 15.94 kB / 395.8 MB, free: 13.52 MB / 330.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000133/2.843, allocations: 44.88 kB / 395.8 MB, free: 13.47 MB / 330.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.745e-05/2.843, allocations: 3.984 kB / 395.8 MB, free: 13.47 MB / 330.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.467e-05/2.843, allocations: 4 kB / 395.8 MB, free: 13.46 MB / 330.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.251e-06/2.843, allocations: 0 / 395.8 MB, free: 13.46 MB / 330.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006083/2.843, allocations: 279.4 kB / 396.1 MB, free: 13.18 MB / 330.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002983/2.844, allocations: 33.2 kB / 396.2 MB, free: 13.14 MB / 330.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.21e-05/2.844, allocations: 12.42 kB / 396.2 MB, free: 13.13 MB / 330.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.706e-05/2.844, allocations: 4.078 kB / 396.2 MB, free: 13.12 MB / 330.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001417/2.844, allocations: 55.34 kB / 396.2 MB, free: 13.06 MB / 330.8 MB Notification: Performance of pre-optimization done (n=4): time 3.226e-06/2.844, allocations: 3.938 kB / 396.2 MB, free: 13.06 MB / 330.8 MB Notification: Performance of matching and sorting (n=5): time 0.0006071/2.845, allocations: 103 kB / 396.3 MB, free: 12.96 MB / 330.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.584e-05/2.845, allocations: 51.41 kB / 396.4 MB, free: 12.9 MB / 330.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003796/2.845, allocations: 183.3 kB / 396.6 MB, free: 12.73 MB / 330.8 MB Notification: Performance of collectPreVariables (initialization): time 3.764e-05/2.845, allocations: 29.7 kB / 396.6 MB, free: 12.7 MB / 330.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.715e-05/2.845, allocations: 91.38 kB / 396.7 MB, free: 12.61 MB / 330.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.269e-05/2.845, allocations: 19.56 kB / 396.7 MB, free: 12.59 MB / 330.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.062e-05/2.845, allocations: 4 kB / 396.7 MB, free: 12.59 MB / 330.8 MB Notification: Performance of setup shared object (initialization): time 0.0002552/2.846, allocations: 322.7 kB / 397 MB, free: 12.27 MB / 330.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001001/2.846, allocations: 18.69 kB / 397 MB, free: 12.25 MB / 330.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.924e-05/2.846, allocations: 15 kB / 397 MB, free: 12.25 MB / 330.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.863e-05/2.846, allocations: 30.48 kB / 397.1 MB, free: 12.23 MB / 330.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/2.846, allocations: 0 / 397.1 MB, free: 12.23 MB / 330.8 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002762/2.846, allocations: 95.77 kB / 397.2 MB, free: 12.14 MB / 330.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/2.846, allocations: 4 kB / 397.2 MB, free: 12.14 MB / 330.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.944e-06/2.846, allocations: 96 / 397.2 MB, free: 12.14 MB / 330.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.006e-05/2.846, allocations: 11.84 kB / 397.2 MB, free: 12.12 MB / 330.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.644e-05/2.846, allocations: 11.94 kB / 397.2 MB, free: 12.11 MB / 330.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/2.846, allocations: 0 / 397.2 MB, free: 12.11 MB / 330.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.182e-05/2.847, allocations: 4 kB / 397.2 MB, free: 12.11 MB / 330.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.901e-05/2.847, allocations: 4 kB / 397.2 MB, free: 12.11 MB / 330.8 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.0001035/2.847, allocations: 108.7 kB / 397.3 MB, free: 12 MB / 330.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.394e-05/2.847, allocations: 15.89 kB / 397.3 MB, free: 11.98 MB / 330.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002886/2.847, allocations: 96.73 kB / 397.4 MB, free: 11.89 MB / 330.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/2.847, allocations: 0 / 397.4 MB, free: 11.89 MB / 330.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/2.847, allocations: 0 / 397.4 MB, free: 11.89 MB / 330.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/2.847, allocations: 0 / 397.4 MB, free: 11.89 MB / 330.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004927/2.848, allocations: 339.3 kB / 397.8 MB, free: 11.54 MB / 330.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/2.848, allocations: 0 / 397.8 MB, free: 11.54 MB / 330.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.482e-05/2.848, allocations: 8 kB / 397.8 MB, free: 11.54 MB / 330.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/2.848, allocations: 0 / 397.8 MB, free: 11.54 MB / 330.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.123e-05/2.848, allocations: 0 / 397.8 MB, free: 11.54 MB / 330.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/2.848, allocations: 0 / 397.8 MB, free: 11.54 MB / 330.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/2.848, allocations: 4.188 kB / 397.8 MB, free: 11.53 MB / 330.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002404/2.848, allocations: 178.2 kB / 397.9 MB, free: 11.35 MB / 330.8 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003738/2.848, allocations: 0.5379 MB / 398.5 MB, free: 10.81 MB / 330.8 MB Notification: Performance of postOpt removeConstants (simulation): time 8.933e-05/2.848, allocations: 93 kB / 398.6 MB, free: 10.7 MB / 330.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.602e-05/2.849, allocations: 0 / 398.6 MB, free: 10.7 MB / 330.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001177/2.849, allocations: 8 kB / 398.6 MB, free: 10.69 MB / 330.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.177e-05/2.849, allocations: 3.906 kB / 398.6 MB, free: 10.69 MB / 330.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.609e-05/2.849, allocations: 11.55 kB / 398.6 MB, free: 10.68 MB / 330.8 MB Notification: Performance of sort global known variables: time 0.0002066/2.849, allocations: 149.4 kB / 398.7 MB, free: 10.55 MB / 330.8 MB Notification: Performance of remove unused functions: time 0.001275/2.85, allocations: 34.88 kB / 398.8 MB, free: 10.52 MB / 330.8 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.001156/2.851, allocations: 291.6 kB / 399.1 MB, free: 10.27 MB / 330.8 MB Notification: Performance of simCode: created initialization part: time 0.0003229/2.852, allocations: 67.95 kB / 399.1 MB, free: 10.21 MB / 330.8 MB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/2.852, allocations: 4 kB / 399.1 MB, free: 10.21 MB / 330.8 MB Notification: Performance of simCode: created simulation system equations: time 7.079e-05/2.852, allocations: 19.88 kB / 399.1 MB, free: 10.2 MB / 330.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003891/2.852, allocations: 15.23 kB / 399.2 MB, free: 10.18 MB / 330.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005544/2.853, allocations: 160.9 kB / 399.3 MB, free: 10.02 MB / 330.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004301/2.853, allocations: 0.7222 MB / 400 MB, free: 9.273 MB / 330.8 MB Notification: Performance of SimCode: time 1.202e-06/2.853, allocations: 3.938 kB / 400 MB, free: 9.27 MB / 330.8 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat does not exist to compare? outputFormat=mat