Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test15,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test15",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.121/2.121, allocations: 209.3 MB / 216.3 MB, free: 6.797 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2819/2.403, allocations: 51.05 MB / 267.3 MB, free: 5.133 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.115/2.518, allocations: 48.69 MB / 316 MB, free: 4.344 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3498/2.868, allocations: 75.22 MB / 391.2 MB, free: 1.48 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002716/2.868, allocations: 70.62 kB / 391.3 MB, free: 1.449 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.01786/2.886, allocations: 3.93 MB / 395.2 MB, free: 14.1 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.548e-05/2.886, allocations: 8 kB / 395.2 MB, free: 14.09 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.977e-05/2.886, allocations: 11.81 kB / 395.2 MB, free: 14.08 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003139/2.886, allocations: 186.3 kB / 395.4 MB, free: 13.86 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.651e-05/2.886, allocations: 4 kB / 395.4 MB, free: 13.86 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.749e-05/2.886, allocations: 0 / 395.4 MB, free: 13.86 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.338e-05/2.886, allocations: 15.69 kB / 395.4 MB, free: 13.85 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001056/2.887, allocations: 49.05 kB / 395.5 MB, free: 13.8 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/2.887, allocations: 0 / 395.5 MB, free: 13.8 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.229e-05/2.887, allocations: 4 kB / 395.5 MB, free: 13.79 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/2.887, allocations: 0 / 395.5 MB, free: 13.79 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004131/2.887, allocations: 272 kB / 395.7 MB, free: 13.51 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002299/2.887, allocations: 35.08 kB / 395.8 MB, free: 13.47 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.286e-05/2.887, allocations: 12.11 kB / 395.8 MB, free: 13.46 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.871e-05/2.887, allocations: 3.984 kB / 395.8 MB, free: 13.46 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.899e-05/2.888, allocations: 61.97 kB / 395.9 MB, free: 13.39 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.763e-06/2.888, allocations: 0 / 395.9 MB, free: 13.39 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004333/2.888, allocations: 98.67 kB / 396 MB, free: 13.3 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.896e-05/2.888, allocations: 59.3 kB / 396 MB, free: 13.23 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001916/2.888, allocations: 136.3 kB / 396.1 MB, free: 13.1 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.211e-05/2.888, allocations: 25.7 kB / 396.2 MB, free: 13.07 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.309e-05/2.888, allocations: 91.56 kB / 396.3 MB, free: 12.98 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.611e-05/2.888, allocations: 15.31 kB / 396.3 MB, free: 12.96 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.296e-06/2.888, allocations: 4 kB / 396.3 MB, free: 12.96 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001375/2.889, allocations: 322.5 kB / 396.6 MB, free: 12.64 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.673e-05/2.889, allocations: 15.56 kB / 396.6 MB, free: 12.63 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.53e-05/2.889, allocations: 23.19 kB / 396.6 MB, free: 12.62 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.438e-05/2.889, allocations: 23.48 kB / 396.7 MB, free: 12.6 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/2.889, allocations: 0 / 396.7 MB, free: 12.6 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002721/2.889, allocations: 96.08 kB / 396.7 MB, free: 12.52 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/2.889, allocations: 8 kB / 396.8 MB, free: 12.51 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.872e-06/2.889, allocations: 0 / 396.8 MB, free: 12.51 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/2.889, allocations: 4 kB / 396.8 MB, free: 12.5 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.601e-05/2.889, allocations: 15.69 kB / 396.8 MB, free: 12.49 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.834e-06/2.889, allocations: 3.906 kB / 396.8 MB, free: 12.49 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.916e-05/2.889, allocations: 4 kB / 396.8 MB, free: 12.48 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.66e-05/2.889, allocations: 3.984 kB / 396.8 MB, free: 12.48 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.048e-05/2.889, allocations: 108.9 kB / 396.9 MB, free: 12.37 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.797e-05/2.89, allocations: 7.906 kB / 396.9 MB, free: 12.36 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002773/2.89, allocations: 85.12 kB / 397 MB, free: 12.28 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/2.89, allocations: 4 kB / 397 MB, free: 12.28 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.765e-06/2.89, allocations: 3.906 kB / 397 MB, free: 12.27 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/2.89, allocations: 0 / 397 MB, free: 12.27 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004269/2.89, allocations: 317.1 kB / 397.3 MB, free: 11.94 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/2.89, allocations: 0 / 397.3 MB, free: 11.94 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.341e-05/2.89, allocations: 7 kB / 397.3 MB, free: 11.94 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.486e-06/2.89, allocations: 0 / 397.3 MB, free: 11.94 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.723e-05/2.89, allocations: 7.906 kB / 397.3 MB, free: 11.93 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/2.89, allocations: 4 kB / 397.3 MB, free: 11.93 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/2.89, allocations: 192 / 397.3 MB, free: 11.93 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00024/2.891, allocations: 169.3 kB / 397.5 MB, free: 11.75 MB / 330.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000357/2.891, allocations: 0.5365 MB / 398 MB, free: 11.21 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.035e-05/2.891, allocations: 88.7 kB / 398.1 MB, free: 11.11 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.954e-05/2.891, allocations: 11.98 kB / 398.1 MB, free: 11.1 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001838/2.891, allocations: 0 / 398.1 MB, free: 11.1 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.76e-05/2.891, allocations: 4.094 kB / 398.1 MB, free: 11.09 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.252e-05/2.892, allocations: 3.938 kB / 398.1 MB, free: 11.09 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.0001599/2.892, allocations: 120.8 kB / 398.2 MB, free: 10.98 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001578/2.893, allocations: 35.53 kB / 398.3 MB, free: 10.95 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.0008965/2.894, allocations: 288 kB / 398.6 MB, free: 10.71 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002735/2.895, allocations: 73.33 kB / 398.6 MB, free: 10.65 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/2.895, allocations: 8 kB / 398.6 MB, free: 10.64 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.817e-05/2.895, allocations: 15.81 kB / 398.7 MB, free: 10.63 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004086/2.895, allocations: 23.98 kB / 398.7 MB, free: 10.61 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004865/2.896, allocations: 117 kB / 398.8 MB, free: 10.48 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003805/2.896, allocations: 0.7152 MB / 399.5 MB, free: 9.742 MB / 330.7 MB Notification: Performance of SimCode: time 1.302e-06/2.896, allocations: 0 / 399.5 MB, free: 9.742 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test15_res.mat does not exist to compare? outputFormat=mat