Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test40,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test40",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.087/2.087, allocations: 209.3 MB / 216.3 MB, free: 5.426 MB / 178.8 MB Notification: Performance of FrontEnd - loaded program: time 0.1648/2.252, allocations: 51.03 MB / 267.3 MB, free: 2.305 MB / 226.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2302/2.483, allocations: 48.69 MB / 316 MB, free: 4.965 MB / 258.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1522/2.635, allocations: 75.03 MB / 391 MB, free: 9.816 MB / 338.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003242/2.635, allocations: 71.95 kB / 391.1 MB, free: 9.746 MB / 338.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.02591/2.661, allocations: 4.169 MB / 395.3 MB, free: 5.527 MB / 338.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.834e-05/2.661, allocations: 8 kB / 395.3 MB, free: 5.52 MB / 338.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.431e-05/2.661, allocations: 15.83 kB / 395.3 MB, free: 5.504 MB / 338.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000436/2.662, allocations: 206.7 kB / 395.5 MB, free: 5.262 MB / 338.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.022e-05/2.662, allocations: 7.984 kB / 395.5 MB, free: 5.254 MB / 338.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.772e-05/2.662, allocations: 3.906 kB / 395.5 MB, free: 5.25 MB / 338.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001141/2.662, allocations: 16 kB / 395.5 MB, free: 5.234 MB / 338.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001406/2.662, allocations: 41.69 kB / 395.5 MB, free: 5.188 MB / 338.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.758e-05/2.662, allocations: 7.922 kB / 395.6 MB, free: 5.18 MB / 338.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.496e-05/2.662, allocations: 0 / 395.6 MB, free: 5.18 MB / 338.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.453e-06/2.662, allocations: 0 / 395.6 MB, free: 5.18 MB / 338.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006837/2.663, allocations: 273.4 kB / 395.8 MB, free: 4.875 MB / 338.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003123/2.663, allocations: 41.64 kB / 395.9 MB, free: 4.828 MB / 338.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.001e-05/2.663, allocations: 16.86 kB / 395.9 MB, free: 4.809 MB / 338.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.499e-05/2.663, allocations: 0 / 395.9 MB, free: 4.809 MB / 338.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000144/2.664, allocations: 55.48 kB / 395.9 MB, free: 4.742 MB / 338.8 MB Notification: Performance of pre-optimization done (n=4): time 3.156e-06/2.664, allocations: 0 / 395.9 MB, free: 4.742 MB / 338.8 MB Notification: Performance of matching and sorting (n=5): time 0.0006203/2.664, allocations: 101.2 kB / 396 MB, free: 4.637 MB / 338.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.02e-05/2.664, allocations: 51.41 kB / 396.1 MB, free: 4.574 MB / 338.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003775/2.665, allocations: 181.3 kB / 396.3 MB, free: 4.391 MB / 338.8 MB Notification: Performance of collectPreVariables (initialization): time 4.51e-05/2.665, allocations: 33.69 kB / 396.3 MB, free: 4.352 MB / 338.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.205e-05/2.665, allocations: 88.14 kB / 396.4 MB, free: 4.262 MB / 338.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.089e-05/2.665, allocations: 15.8 kB / 396.4 MB, free: 4.246 MB / 338.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.389e-05/2.665, allocations: 4 kB / 396.4 MB, free: 4.242 MB / 338.8 MB Notification: Performance of setup shared object (initialization): time 0.0001779/2.665, allocations: 314.8 kB / 396.7 MB, free: 3.926 MB / 338.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001034/2.665, allocations: 23.98 kB / 396.7 MB, free: 3.902 MB / 338.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.519e-05/2.665, allocations: 16 kB / 396.7 MB, free: 3.887 MB / 338.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001425/2.666, allocations: 27.98 kB / 396.8 MB, free: 3.859 MB / 338.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/2.666, allocations: 0 / 396.8 MB, free: 3.859 MB / 338.8 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003922/2.666, allocations: 97.44 kB / 396.9 MB, free: 3.758 MB / 338.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.371e-05/2.666, allocations: 8 kB / 396.9 MB, free: 3.75 MB / 338.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.896e-06/2.666, allocations: 0 / 396.9 MB, free: 3.75 MB / 338.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/2.666, allocations: 0 / 396.9 MB, free: 3.75 MB / 338.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001328/2.666, allocations: 11.98 kB / 396.9 MB, free: 3.738 MB / 338.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.314e-05/2.666, allocations: 0 / 396.9 MB, free: 3.738 MB / 338.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001284/2.666, allocations: 7.938 kB / 396.9 MB, free: 3.73 MB / 338.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.793e-05/2.667, allocations: 8.156 kB / 396.9 MB, free: 3.723 MB / 338.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.0001296/2.667, allocations: 116.8 kB / 397 MB, free: 3.602 MB / 338.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.689e-05/2.667, allocations: 7.906 kB / 397 MB, free: 3.594 MB / 338.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004132/2.667, allocations: 85.8 kB / 397.1 MB, free: 3.5 MB / 338.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.522e-06/2.667, allocations: 0 / 397.1 MB, free: 3.5 MB / 338.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/2.667, allocations: 0 / 397.1 MB, free: 3.5 MB / 338.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.899e-06/2.667, allocations: 3.984 kB / 397.1 MB, free: 3.496 MB / 338.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006663/2.668, allocations: 327 kB / 397.4 MB, free: 3.133 MB / 338.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/2.668, allocations: 4 kB / 397.4 MB, free: 3.129 MB / 338.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.726e-05/2.668, allocations: 7.938 kB / 397.4 MB, free: 3.121 MB / 338.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.664e-06/2.668, allocations: 4 kB / 397.4 MB, free: 3.117 MB / 338.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.626e-05/2.668, allocations: 0 / 397.4 MB, free: 3.117 MB / 338.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/2.668, allocations: 0 / 397.4 MB, free: 3.117 MB / 338.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.103e-06/2.668, allocations: 3.906 kB / 397.5 MB, free: 3.113 MB / 338.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002895/2.668, allocations: 167.4 kB / 397.6 MB, free: 2.934 MB / 338.8 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005225/2.669, allocations: 0.543 MB / 398.2 MB, free: 2.371 MB / 338.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000136/2.669, allocations: 93.14 kB / 398.2 MB, free: 2.262 MB / 338.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.89e-05/2.669, allocations: 3.906 kB / 398.3 MB, free: 2.258 MB / 338.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001973/2.669, allocations: 256 / 398.3 MB, free: 2.258 MB / 338.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.918e-05/2.67, allocations: 15.91 kB / 398.3 MB, free: 2.242 MB / 338.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.87e-05/2.67, allocations: 4 kB / 398.3 MB, free: 2.238 MB / 338.8 MB Notification: Performance of sort global known variables: time 0.000264/2.67, allocations: 144.1 kB / 398.4 MB, free: 2.098 MB / 338.8 MB Notification: Performance of remove unused functions: time 0.002291/2.672, allocations: 39.94 kB / 398.5 MB, free: 2.059 MB / 338.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.001272/2.674, allocations: 284.7 kB / 398.7 MB, free: 1.832 MB / 338.8 MB Notification: Performance of simCode: created initialization part: time 0.0003468/2.674, allocations: 69.7 kB / 398.8 MB, free: 1.758 MB / 338.8 MB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/2.674, allocations: 0 / 398.8 MB, free: 1.758 MB / 338.8 MB Notification: Performance of simCode: created simulation system equations: time 9.28e-05/2.674, allocations: 19.94 kB / 398.8 MB, free: 1.738 MB / 338.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000595/2.675, allocations: 15.98 kB / 398.8 MB, free: 1.723 MB / 338.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007168/2.675, allocations: 151.1 kB / 399 MB, free: 1.551 MB / 338.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000598/2.676, allocations: 0.7231 MB / 399.7 MB, free: 0.8008 MB / 338.8 MB Notification: Performance of SimCode: time 1.212e-06/2.676, allocations: 0 / 399.7 MB, free: 0.8008 MB / 338.8 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat does not exist to compare? outputFormat=mat