Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test42,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test42",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.131/2.131, allocations: 209.3 MB / 216.3 MB, free: 6.805 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2893/2.42, allocations: 51.05 MB / 267.3 MB, free: 5.141 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1313/2.551, allocations: 48.69 MB / 316 MB, free: 4.348 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3509/2.902, allocations: 75.25 MB / 391.2 MB, free: 1.473 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003455/2.903, allocations: 72.38 kB / 391.3 MB, free: 1.441 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.0255/2.928, allocations: 4.127 MB / 395.4 MB, free: 13.91 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.215e-05/2.928, allocations: 8 kB / 395.5 MB, free: 13.9 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001172/2.928, allocations: 7.906 kB / 395.5 MB, free: 13.89 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005045/2.929, allocations: 201.9 kB / 395.7 MB, free: 13.66 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.737e-05/2.929, allocations: 0 / 395.7 MB, free: 13.66 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.16e-05/2.929, allocations: 4 kB / 395.7 MB, free: 13.65 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001081/2.929, allocations: 14.88 kB / 395.7 MB, free: 13.64 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001388/2.929, allocations: 55.39 kB / 395.7 MB, free: 13.59 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.438e-05/2.929, allocations: 7.938 kB / 395.7 MB, free: 13.58 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.57e-05/2.929, allocations: 0 / 395.7 MB, free: 13.58 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/2.929, allocations: 0 / 395.7 MB, free: 13.58 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007066/2.93, allocations: 264 kB / 396 MB, free: 13.3 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003833/2.931, allocations: 39.33 kB / 396 MB, free: 13.26 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.933e-05/2.931, allocations: 12.84 kB / 396 MB, free: 13.25 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.415e-05/2.931, allocations: 6.438 kB / 396.1 MB, free: 13.24 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001985/2.931, allocations: 54.17 kB / 396.1 MB, free: 13.18 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 7.915e-06/2.931, allocations: 0 / 396.1 MB, free: 13.18 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0007469/2.932, allocations: 107 kB / 396.2 MB, free: 13.08 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.628e-05/2.932, allocations: 51.41 kB / 396.3 MB, free: 13.02 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003719/2.932, allocations: 165.2 kB / 396.4 MB, free: 12.87 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.899e-05/2.932, allocations: 25.7 kB / 396.4 MB, free: 12.84 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.588e-05/2.932, allocations: 95.06 kB / 396.5 MB, free: 12.74 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.358e-05/2.932, allocations: 14.88 kB / 396.6 MB, free: 12.73 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.393e-05/2.932, allocations: 0 / 396.6 MB, free: 12.73 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002783/2.933, allocations: 321.8 kB / 396.9 MB, free: 12.41 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001275/2.933, allocations: 20.12 kB / 396.9 MB, free: 12.4 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001058/2.933, allocations: 22.75 kB / 396.9 MB, free: 12.38 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001577/2.933, allocations: 29.98 kB / 396.9 MB, free: 12.36 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/2.933, allocations: 0 / 396.9 MB, free: 12.36 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004411/2.934, allocations: 91.64 kB / 397 MB, free: 12.28 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.271e-05/2.934, allocations: 8 kB / 397 MB, free: 12.27 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.286e-06/2.934, allocations: 0 / 397 MB, free: 12.27 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/2.934, allocations: 0 / 397 MB, free: 12.27 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001157/2.934, allocations: 11.94 kB / 397 MB, free: 12.26 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.187e-05/2.934, allocations: 7.906 kB / 397.1 MB, free: 12.25 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.536e-05/2.934, allocations: 3.938 kB / 397.1 MB, free: 12.25 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.956e-05/2.934, allocations: 15.42 kB / 397.1 MB, free: 12.24 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.421e-05/2.934, allocations: 101 kB / 397.2 MB, free: 12.13 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.448e-05/2.934, allocations: 7.906 kB / 397.2 MB, free: 12.12 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003382/2.935, allocations: 93.03 kB / 397.3 MB, free: 12.04 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.045e-06/2.935, allocations: 4 kB / 397.3 MB, free: 12.04 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/2.935, allocations: 0 / 397.3 MB, free: 12.04 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/2.935, allocations: 0 / 397.3 MB, free: 12.04 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004954/2.935, allocations: 328.6 kB / 397.6 MB, free: 11.7 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.15e-06/2.935, allocations: 3.906 kB / 397.6 MB, free: 11.69 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.91e-05/2.935, allocations: 4 kB / 397.6 MB, free: 11.69 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.236e-06/2.935, allocations: 3.984 kB / 397.6 MB, free: 11.68 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.162e-05/2.935, allocations: 8 kB / 397.6 MB, free: 11.68 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.335e-06/2.935, allocations: 0 / 397.6 MB, free: 11.68 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/2.935, allocations: 192 / 397.6 MB, free: 11.68 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002521/2.936, allocations: 174.6 kB / 397.8 MB, free: 11.5 MB / 330.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003709/2.936, allocations: 0.5379 MB / 398.3 MB, free: 10.96 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.853e-05/2.936, allocations: 92.92 kB / 398.4 MB, free: 10.85 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.686e-05/2.936, allocations: 0 / 398.4 MB, free: 10.85 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000126/2.936, allocations: 4 kB / 398.4 MB, free: 10.84 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.479e-05/2.936, allocations: 4.078 kB / 398.4 MB, free: 10.84 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.979e-05/2.936, allocations: 11.44 kB / 398.4 MB, free: 10.83 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.0002908/2.937, allocations: 132.9 kB / 398.6 MB, free: 10.72 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001288/2.938, allocations: 27.25 kB / 398.6 MB, free: 10.7 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.0009412/2.939, allocations: 288.8 kB / 398.9 MB, free: 10.45 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002616/2.939, allocations: 78.27 kB / 398.9 MB, free: 10.39 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.297e-06/2.939, allocations: 0 / 398.9 MB, free: 10.39 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.336e-05/2.939, allocations: 15.81 kB / 399 MB, free: 10.38 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003874/2.94, allocations: 23.67 kB / 399 MB, free: 10.36 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005098/2.94, allocations: 146 kB / 399.1 MB, free: 10.2 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004102/2.941, allocations: 0.7186 MB / 399.8 MB, free: 9.461 MB / 330.7 MB Notification: Performance of SimCode: time 1.302e-06/2.941, allocations: 4 kB / 399.9 MB, free: 9.457 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test42_res.mat does not exist to compare? outputFormat=mat