Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test8,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test8",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.015/2.015, allocations: 209.3 MB / 216.3 MB, free: 6.805 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.236/2.251, allocations: 51.05 MB / 267.3 MB, free: 5.152 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1301/2.381, allocations: 48.69 MB / 316 MB, free: 4.371 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3371/2.718, allocations: 75.27 MB / 391.3 MB, free: 1.527 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002863/2.718, allocations: 69.97 kB / 391.3 MB, free: 1.496 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.02046/2.739, allocations: 4.591 MB / 395.9 MB, free: 13.54 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.516e-05/2.739, allocations: 8 kB / 395.9 MB, free: 13.53 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.265e-05/2.739, allocations: 15.81 kB / 395.9 MB, free: 13.52 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003534/2.739, allocations: 205.9 kB / 396.1 MB, free: 13.28 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.502e-05/2.739, allocations: 0 / 396.1 MB, free: 13.28 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.56e-05/2.739, allocations: 7.984 kB / 396.1 MB, free: 13.27 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001319/2.74, allocations: 29.95 kB / 396.2 MB, free: 13.25 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001176/2.74, allocations: 44.81 kB / 396.2 MB, free: 13.2 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.356e-05/2.74, allocations: 3.812 kB / 396.2 MB, free: 13.2 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.362e-05/2.74, allocations: 0 / 396.2 MB, free: 13.2 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.481e-06/2.74, allocations: 4 kB / 396.2 MB, free: 13.2 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005268/2.74, allocations: 302.3 kB / 396.5 MB, free: 12.89 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001251/2.74, allocations: 44.95 kB / 396.6 MB, free: 12.85 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.091e-05/2.741, allocations: 12.23 kB / 396.6 MB, free: 12.84 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.799e-05/2.741, allocations: 4 kB / 396.6 MB, free: 12.83 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001219/2.741, allocations: 62.69 kB / 396.6 MB, free: 12.77 MB / 330.7 MB Notification: Performance of pre-optimization done (n=5): time 2.114e-06/2.741, allocations: 0 / 396.6 MB, free: 12.77 MB / 330.7 MB Notification: Performance of matching and sorting (n=6): time 0.0005689/2.741, allocations: 125.6 kB / 396.8 MB, free: 12.65 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.701e-05/2.741, allocations: 51.41 kB / 396.8 MB, free: 12.59 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003464/2.742, allocations: 212.5 kB / 397 MB, free: 12.4 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.585e-05/2.742, allocations: 29.7 kB / 397.1 MB, free: 12.37 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.73e-05/2.742, allocations: 98.12 kB / 397.1 MB, free: 12.27 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.677e-05/2.742, allocations: 19.25 kB / 397.2 MB, free: 12.26 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.676e-06/2.742, allocations: 0 / 397.2 MB, free: 12.26 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001292/2.742, allocations: 333.1 kB / 397.5 MB, free: 11.93 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.689e-05/2.742, allocations: 26.8 kB / 397.5 MB, free: 11.91 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.803e-05/2.742, allocations: 22.06 kB / 397.5 MB, free: 11.9 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001095/2.742, allocations: 30.61 kB / 397.6 MB, free: 11.88 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/2.742, allocations: 0 / 397.6 MB, free: 11.88 MB / 330.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000329/2.743, allocations: 121.3 kB / 397.7 MB, free: 11.77 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/2.743, allocations: 4 kB / 397.7 MB, free: 11.77 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/2.743, allocations: 4 kB / 397.7 MB, free: 11.77 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/2.743, allocations: 0 / 397.7 MB, free: 11.77 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001337/2.743, allocations: 12 kB / 397.7 MB, free: 11.75 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/2.743, allocations: 3.984 kB / 397.7 MB, free: 11.75 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.278e-05/2.743, allocations: 4 kB / 397.7 MB, free: 11.75 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.07e-05/2.743, allocations: 4 kB / 397.7 MB, free: 11.74 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 (8): * Single equations (assignments): 7 * 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.719e-05/2.743, allocations: 101 kB / 397.8 MB, free: 11.64 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.958e-05/2.743, allocations: 11.81 kB / 397.8 MB, free: 11.62 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003744/2.744, allocations: 116.7 kB / 397.9 MB, free: 11.53 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/2.744, allocations: 4 kB / 397.9 MB, free: 11.52 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/2.744, allocations: 256 / 397.9 MB, free: 11.52 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.975e-06/2.744, allocations: 4 kB / 398 MB, free: 11.52 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006023/2.744, allocations: 371.2 kB / 398.3 MB, free: 11.14 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/2.744, allocations: 0 / 398.3 MB, free: 11.14 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001001/2.744, allocations: 11.94 kB / 398.3 MB, free: 11.13 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.622e-06/2.744, allocations: 4 kB / 398.3 MB, free: 11.13 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.554e-05/2.744, allocations: 0 / 398.3 MB, free: 11.13 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.356e-06/2.744, allocations: 7.984 kB / 398.3 MB, free: 11.12 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/2.744, allocations: 3.938 kB / 398.3 MB, free: 11.12 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003186/2.745, allocations: 185 kB / 398.5 MB, free: 10.93 MB / 330.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004563/2.745, allocations: 0.5633 MB / 399.1 MB, free: 10.37 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.446e-05/2.745, allocations: 96.91 kB / 399.2 MB, free: 10.25 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.255e-05/2.745, allocations: 3.75 kB / 399.2 MB, free: 10.25 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001312/2.746, allocations: 8 kB / 399.2 MB, free: 10.25 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.74e-05/2.746, allocations: 7.922 kB / 399.2 MB, free: 10.24 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.565e-05/2.746, allocations: 4 kB / 399.2 MB, free: 10.23 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.0002451/2.746, allocations: 168.7 kB / 399.4 MB, free: 10.1 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001268/2.747, allocations: 39.12 kB / 399.4 MB, free: 10.06 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 (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.0008093/2.748, allocations: 279.7 kB / 399.7 MB, free: 9.836 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000274/2.748, allocations: 91.48 kB / 399.8 MB, free: 9.758 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/2.748, allocations: 0 / 399.8 MB, free: 9.758 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 8.163e-05/2.748, allocations: 27.5 kB / 399.8 MB, free: 9.734 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003727/2.749, allocations: 19.7 kB / 399.8 MB, free: 9.715 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006519/2.749, allocations: 192.2 kB / 400 MB, free: 9.52 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004187/2.75, allocations: 0.7424 MB / 400.7 MB, free: 8.754 MB / 330.7 MB Notification: Performance of SimCode: time 1.042e-06/2.75, allocations: 0 / 400.7 MB, free: 8.754 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat does not exist to compare? outputFormat=mat