Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test33,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test33",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.352/2.352, allocations: 209.3 MB / 216.3 MB, free: 6.805 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2529/2.605, allocations: 51.04 MB / 267.3 MB, free: 5.152 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1217/2.727, allocations: 48.69 MB / 316 MB, free: 4.363 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3476/3.075, allocations: 75.27 MB / 391.3 MB, free: 1.5 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002646/3.075, allocations: 71.33 kB / 391.3 MB, free: 1.465 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.02071/3.096, allocations: 4.049 MB / 395.4 MB, free: 14.02 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.871e-05/3.096, allocations: 12 kB / 395.4 MB, free: 14 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.207e-05/3.096, allocations: 15.88 kB / 395.4 MB, free: 13.99 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004604/3.097, allocations: 193.9 kB / 395.6 MB, free: 13.76 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.588e-05/3.097, allocations: 7.984 kB / 395.6 MB, free: 13.75 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.977e-05/3.097, allocations: 4 kB / 395.6 MB, free: 13.75 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001273/3.097, allocations: 15.88 kB / 395.6 MB, free: 13.74 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001636/3.097, allocations: 45.5 kB / 395.7 MB, free: 13.69 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.23e-05/3.097, allocations: 3.984 kB / 395.7 MB, free: 13.69 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.471e-05/3.097, allocations: 7.906 kB / 395.7 MB, free: 13.68 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.072e-06/3.097, allocations: 0 / 395.7 MB, free: 13.68 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006776/3.098, allocations: 259.9 kB / 395.9 MB, free: 13.41 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003102/3.098, allocations: 43.8 kB / 396 MB, free: 13.36 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.252e-05/3.098, allocations: 16.36 kB / 396 MB, free: 13.35 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.449e-05/3.098, allocations: 3.938 kB / 396 MB, free: 13.34 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000134/3.099, allocations: 50.62 kB / 396 MB, free: 13.29 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 3.116e-06/3.099, allocations: 0 / 396 MB, free: 13.29 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.000621/3.099, allocations: 94.95 kB / 396.1 MB, free: 13.2 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.822e-05/3.099, allocations: 55.39 kB / 396.2 MB, free: 13.13 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003384/3.1, allocations: 154.9 kB / 396.3 MB, free: 12.99 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.611e-05/3.1, allocations: 25.7 kB / 396.4 MB, free: 12.96 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.098e-05/3.1, allocations: 95.14 kB / 396.5 MB, free: 12.86 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.711e-05/3.1, allocations: 19.61 kB / 396.5 MB, free: 12.85 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.265e-05/3.1, allocations: 0 / 396.5 MB, free: 12.85 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002044/3.1, allocations: 318.3 kB / 396.8 MB, free: 12.53 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001162/3.1, allocations: 23.11 kB / 396.8 MB, free: 12.52 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001146/3.1, allocations: 22.56 kB / 396.8 MB, free: 12.5 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001476/3.101, allocations: 26.2 kB / 396.9 MB, free: 12.48 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/3.101, allocations: 4 kB / 396.9 MB, free: 12.48 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004739/3.101, allocations: 94.22 kB / 396.9 MB, free: 12.39 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.564e-05/3.101, allocations: 4 kB / 397 MB, free: 12.39 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/3.101, allocations: 0 / 397 MB, free: 12.39 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.982e-05/3.101, allocations: 0 / 397 MB, free: 12.39 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001557/3.101, allocations: 11.98 kB / 397 MB, free: 12.38 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.245e-06/3.101, allocations: 0 / 397 MB, free: 12.38 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001536/3.102, allocations: 4 kB / 397 MB, free: 12.38 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.149e-05/3.102, allocations: 7.938 kB / 397 MB, free: 12.37 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 0.0001634/3.102, allocations: 112.6 kB / 397.1 MB, free: 12.25 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.064e-05/3.102, allocations: 7.906 kB / 397.1 MB, free: 12.25 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004867/3.102, allocations: 87.25 kB / 397.2 MB, free: 12.16 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.923e-06/3.102, allocations: 0 / 397.2 MB, free: 12.16 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/3.102, allocations: 0 / 397.2 MB, free: 12.16 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-06/3.103, allocations: 0 / 397.2 MB, free: 12.16 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007405/3.103, allocations: 327.9 kB / 397.5 MB, free: 11.82 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/3.103, allocations: 4 kB / 397.5 MB, free: 11.82 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.369e-05/3.103, allocations: 7.984 kB / 397.5 MB, free: 11.81 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.042e-06/3.103, allocations: 0 / 397.5 MB, free: 11.81 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.835e-05/3.103, allocations: 4 kB / 397.5 MB, free: 11.81 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.916e-06/3.103, allocations: 0 / 397.5 MB, free: 11.81 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.911e-06/3.103, allocations: 0 / 397.5 MB, free: 11.81 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002831/3.106, allocations: 176.6 kB / 397.7 MB, free: 11.63 MB / 330.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0007355/3.107, allocations: 0.5402 MB / 398.2 MB, free: 11.09 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001223/3.107, allocations: 93 kB / 398.3 MB, free: 10.98 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.605e-05/3.107, allocations: 0 / 398.3 MB, free: 10.98 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000234/3.108, allocations: 0 / 398.3 MB, free: 10.98 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.936e-05/3.108, allocations: 11.33 kB / 398.3 MB, free: 10.97 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.188e-05/3.108, allocations: 3.938 kB / 398.3 MB, free: 10.96 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.0003031/3.108, allocations: 127.2 kB / 398.5 MB, free: 10.86 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.00256/3.111, allocations: 43.62 kB / 398.5 MB, free: 10.82 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.001277/3.112, allocations: 273.3 kB / 398.8 MB, free: 10.59 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003495/3.112, allocations: 71.12 kB / 398.8 MB, free: 10.52 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/3.112, allocations: 0 / 398.8 MB, free: 10.52 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001082/3.113, allocations: 22.38 kB / 398.9 MB, free: 10.51 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005335/3.113, allocations: 24.83 kB / 398.9 MB, free: 10.49 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006872/3.114, allocations: 129.4 kB / 399 MB, free: 10.35 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005992/3.114, allocations: 0.7299 MB / 399.7 MB, free: 9.594 MB / 330.7 MB Notification: Performance of SimCode: time 1.182e-06/3.114, allocations: 0 / 399.7 MB, free: 9.594 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test33_res.mat does not exist to compare? outputFormat=mat