Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test39,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test39",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.134/2.134, allocations: 209.3 MB / 216.3 MB, free: 5.418 MB / 178.8 MB Notification: Performance of FrontEnd - loaded program: time 0.1747/2.309, allocations: 51.04 MB / 267.3 MB, free: 2.293 MB / 226.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2605/2.569, allocations: 48.69 MB / 316 MB, free: 4.961 MB / 258.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1637/2.733, allocations: 74.88 MB / 390.9 MB, free: 9.965 MB / 338.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003666/2.733, allocations: 67.95 kB / 390.9 MB, free: 9.898 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.02687/2.76, allocations: 3.864 MB / 394.8 MB, free: 5.98 MB / 338.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.414e-05/2.76, allocations: 12 kB / 394.8 MB, free: 5.969 MB / 338.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.843e-05/2.761, allocations: 11.84 kB / 394.8 MB, free: 5.957 MB / 338.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004182/2.761, allocations: 194.2 kB / 395 MB, free: 5.73 MB / 338.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.542e-05/2.761, allocations: 0 / 395 MB, free: 5.73 MB / 338.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.641e-05/2.761, allocations: 4 kB / 395 MB, free: 5.727 MB / 338.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.911e-05/2.761, allocations: 11.98 kB / 395 MB, free: 5.715 MB / 338.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001177/2.761, allocations: 53.56 kB / 395.1 MB, free: 5.656 MB / 338.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/2.761, allocations: 0 / 395.1 MB, free: 5.656 MB / 338.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.355e-05/2.761, allocations: 0 / 395.1 MB, free: 5.656 MB / 338.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.131e-06/2.761, allocations: 0 / 395.1 MB, free: 5.656 MB / 338.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003108/2.762, allocations: 162.1 kB / 395.2 MB, free: 5.461 MB / 338.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001077/2.762, allocations: 34.56 kB / 395.3 MB, free: 5.418 MB / 338.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.752e-05/2.762, allocations: 16.91 kB / 395.3 MB, free: 5.398 MB / 338.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.002e-05/2.762, allocations: 4 kB / 395.3 MB, free: 5.395 MB / 338.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001347/2.762, allocations: 55.34 kB / 395.3 MB, free: 5.328 MB / 338.8 MB Notification: Performance of pre-optimization done (n=3): time 3.056e-06/2.762, allocations: 0 / 395.3 MB, free: 5.328 MB / 338.8 MB Notification: Performance of matching and sorting (n=3): time 0.0003026/2.762, allocations: 53.59 kB / 395.4 MB, free: 5.27 MB / 338.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.465e-05/2.762, allocations: 51.41 kB / 395.4 MB, free: 5.207 MB / 338.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003269/2.763, allocations: 157.4 kB / 395.6 MB, free: 5.043 MB / 338.8 MB Notification: Performance of collectPreVariables (initialization): time 3.434e-05/2.763, allocations: 25.7 kB / 395.6 MB, free: 5.012 MB / 338.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.042e-05/2.763, allocations: 96.12 kB / 395.7 MB, free: 4.914 MB / 338.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.216e-05/2.763, allocations: 3.906 kB / 395.7 MB, free: 4.91 MB / 338.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.105e-05/2.763, allocations: 0 / 395.7 MB, free: 4.91 MB / 338.8 MB Notification: Performance of setup shared object (initialization): time 0.0001952/2.763, allocations: 322.8 kB / 396 MB, free: 4.586 MB / 338.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.194e-05/2.763, allocations: 16 kB / 396.1 MB, free: 4.57 MB / 338.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.191e-05/2.763, allocations: 16 kB / 396.1 MB, free: 4.555 MB / 338.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001228/2.764, allocations: 19.98 kB / 396.1 MB, free: 4.535 MB / 338.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/2.764, allocations: 0 / 396.1 MB, free: 4.535 MB / 338.8 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003754/2.764, allocations: 81.53 kB / 396.2 MB, free: 4.449 MB / 338.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.488e-05/2.764, allocations: 8.781 kB / 396.2 MB, free: 4.441 MB / 338.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.278e-06/2.764, allocations: 0 / 396.2 MB, free: 4.441 MB / 338.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.863e-05/2.764, allocations: 0 / 396.2 MB, free: 4.441 MB / 338.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001203/2.764, allocations: 8 kB / 396.2 MB, free: 4.434 MB / 338.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.513e-06/2.764, allocations: 0 / 396.2 MB, free: 4.434 MB / 338.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000135/2.764, allocations: 11.83 kB / 396.2 MB, free: 4.422 MB / 338.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.099e-05/2.764, allocations: 4 kB / 396.2 MB, free: 4.418 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 (5): * Single equations (assignments): 4 * 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.0001444/2.765, allocations: 105 kB / 396.3 MB, free: 4.309 MB / 338.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.251e-05/2.765, allocations: 3.906 kB / 396.3 MB, free: 4.305 MB / 338.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003222/2.765, allocations: 77.67 kB / 396.4 MB, free: 4.219 MB / 338.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.15e-05/2.765, allocations: 7.906 kB / 396.4 MB, free: 4.211 MB / 338.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.102e-06/2.765, allocations: 0 / 396.4 MB, free: 4.211 MB / 338.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.957e-06/2.765, allocations: 0 / 396.4 MB, free: 4.211 MB / 338.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002423/2.765, allocations: 158.1 kB / 396.5 MB, free: 4.02 MB / 338.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/2.765, allocations: 0 / 396.5 MB, free: 4.02 MB / 338.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.494e-05/2.765, allocations: 8 kB / 396.6 MB, free: 4.012 MB / 338.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.973e-06/2.765, allocations: 0 / 396.6 MB, free: 4.012 MB / 338.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.424e-05/2.765, allocations: 0 / 396.6 MB, free: 4.012 MB / 338.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/2.766, allocations: 0 / 396.6 MB, free: 4.012 MB / 338.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.622e-06/2.766, allocations: 7.906 kB / 396.6 MB, free: 4.004 MB / 338.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002449/2.766, allocations: 85.14 kB / 396.6 MB, free: 3.902 MB / 338.8 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004418/2.766, allocations: 473.3 kB / 397.1 MB, free: 3.418 MB / 338.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001051/2.766, allocations: 89 kB / 397.2 MB, free: 3.312 MB / 338.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001035/2.766, allocations: 0 / 397.2 MB, free: 3.312 MB / 338.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001956/2.767, allocations: 8 kB / 397.2 MB, free: 3.305 MB / 338.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.037e-05/2.767, allocations: 0 / 397.2 MB, free: 3.305 MB / 338.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.024e-05/2.767, allocations: 4.188 kB / 397.2 MB, free: 3.301 MB / 338.8 MB Notification: Performance of sort global known variables: time 0.0002269/2.767, allocations: 127.8 kB / 397.3 MB, free: 3.176 MB / 338.8 MB Notification: Performance of remove unused functions: time 0.001202/2.768, allocations: 28 kB / 397.4 MB, free: 3.148 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 (4): * Single equations (assignments): 3 * 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.0007966/2.769, allocations: 252.7 kB / 397.6 MB, free: 2.945 MB / 338.8 MB Notification: Performance of simCode: created initialization part: time 0.0002571/2.769, allocations: 65.64 kB / 397.7 MB, free: 2.875 MB / 338.8 MB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/2.769, allocations: 0 / 397.7 MB, free: 2.875 MB / 338.8 MB Notification: Performance of simCode: created simulation system equations: time 5.366e-05/2.769, allocations: 12 kB / 397.7 MB, free: 2.863 MB / 338.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000341/2.77, allocations: 15.89 kB / 397.7 MB, free: 2.848 MB / 338.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004687/2.77, allocations: 127.7 kB / 397.8 MB, free: 2.699 MB / 338.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004853/2.771, allocations: 0.7071 MB / 398.5 MB, free: 1.969 MB / 338.8 MB Notification: Performance of SimCode: time 1.423e-06/2.771, allocations: 0 / 398.5 MB, free: 1.969 MB / 338.8 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat does not exist to compare? outputFormat=mat