Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test32,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test32",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 1.989/1.989, allocations: 209.3 MB / 216.3 MB, free: 6.785 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2319/2.221, allocations: 51.04 MB / 267.3 MB, free: 5.117 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1196/2.341, allocations: 48.7 MB / 316 MB, free: 4.316 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3935/2.734, allocations: 75.21 MB / 391.2 MB, free: 1.477 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003238/2.735, allocations: 75.59 kB / 391.3 MB, free: 1.438 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.01886/2.754, allocations: 3.956 MB / 395.2 MB, free: 14.06 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/2.754, allocations: 8 kB / 395.2 MB, free: 14.05 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.371e-05/2.754, allocations: 11.91 kB / 395.3 MB, free: 14.04 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003986/2.754, allocations: 213.9 kB / 395.5 MB, free: 13.8 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.544e-05/2.754, allocations: 0 / 395.5 MB, free: 13.8 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.884e-05/2.754, allocations: 4 kB / 395.5 MB, free: 13.8 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.526e-05/2.754, allocations: 11.25 kB / 395.5 MB, free: 13.79 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001035/2.754, allocations: 45.11 kB / 395.5 MB, free: 13.74 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/2.754, allocations: 3.938 kB / 395.5 MB, free: 13.74 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.428e-05/2.754, allocations: 3.906 kB / 395.5 MB, free: 13.73 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.214e-06/2.755, allocations: 4 kB / 395.5 MB, free: 13.73 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004564/2.755, allocations: 263.8 kB / 395.8 MB, free: 13.45 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000229/2.755, allocations: 44.73 kB / 395.8 MB, free: 13.41 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.007e-05/2.755, allocations: 8.859 kB / 395.8 MB, free: 13.4 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.543e-05/2.755, allocations: 0 / 395.8 MB, free: 13.4 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.763e-05/2.755, allocations: 58.5 kB / 395.9 MB, free: 13.34 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 2.064e-06/2.755, allocations: 0 / 395.9 MB, free: 13.34 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004412/2.756, allocations: 105 kB / 396 MB, free: 13.24 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.583e-05/2.756, allocations: 51.41 kB / 396.1 MB, free: 13.18 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002275/2.756, allocations: 151.6 kB / 396.2 MB, free: 13.04 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.526e-05/2.756, allocations: 25.7 kB / 396.2 MB, free: 13 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.272e-05/2.756, allocations: 91.89 kB / 396.3 MB, free: 12.91 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.358e-05/2.756, allocations: 15.8 kB / 396.3 MB, free: 12.9 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.005e-06/2.756, allocations: 0 / 396.3 MB, free: 12.9 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001548/2.756, allocations: 322 kB / 396.6 MB, free: 12.58 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.582e-05/2.757, allocations: 19.88 kB / 396.7 MB, free: 12.57 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.6e-05/2.757, allocations: 19.44 kB / 396.7 MB, free: 12.55 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.335e-05/2.757, allocations: 30.27 kB / 396.7 MB, free: 12.54 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/2.757, allocations: 0 / 396.7 MB, free: 12.54 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002626/2.757, allocations: 92.34 kB / 396.8 MB, free: 12.45 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/2.757, allocations: 8 kB / 396.8 MB, free: 12.45 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/2.757, allocations: 0 / 396.8 MB, free: 12.45 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/2.757, allocations: 0 / 396.8 MB, free: 12.45 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.289e-05/2.757, allocations: 11.98 kB / 396.8 MB, free: 12.43 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.655e-06/2.757, allocations: 4.141 kB / 396.8 MB, free: 12.43 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.43e-05/2.757, allocations: 8 kB / 396.8 MB, free: 12.42 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.381e-05/2.757, allocations: 4.031 kB / 396.8 MB, free: 12.42 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.869e-05/2.757, allocations: 113 kB / 397 MB, free: 12.3 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.115e-05/2.757, allocations: 11.89 kB / 397 MB, free: 12.29 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002679/2.758, allocations: 88.11 kB / 397.1 MB, free: 12.21 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/2.758, allocations: 0 / 397.1 MB, free: 12.21 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/2.758, allocations: 0 / 397.1 MB, free: 12.21 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.125e-06/2.758, allocations: 3.984 kB / 397.1 MB, free: 12.21 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004958/2.758, allocations: 323.4 kB / 397.4 MB, free: 11.87 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/2.758, allocations: 0 / 397.4 MB, free: 11.87 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.592e-05/2.758, allocations: 15.92 kB / 397.4 MB, free: 11.86 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/2.758, allocations: 0 / 397.4 MB, free: 11.86 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.078e-05/2.758, allocations: 192 / 397.4 MB, free: 11.86 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.554e-06/2.758, allocations: 8 kB / 397.4 MB, free: 11.85 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/2.758, allocations: 0 / 397.4 MB, free: 11.85 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000221/2.759, allocations: 169 kB / 397.6 MB, free: 11.68 MB / 330.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003841/2.759, allocations: 0.5414 MB / 398.1 MB, free: 11.13 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.207e-05/2.759, allocations: 85.02 kB / 398.2 MB, free: 11.03 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.949e-05/2.759, allocations: 7.625 kB / 398.2 MB, free: 11.02 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001055/2.759, allocations: 3.984 kB / 398.2 MB, free: 11.02 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.053e-05/2.759, allocations: 4 kB / 398.2 MB, free: 11.02 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.1e-05/2.759, allocations: 4 kB / 398.2 MB, free: 11.01 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.0001515/2.76, allocations: 126.3 kB / 398.3 MB, free: 10.9 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001256/2.761, allocations: 39.19 kB / 398.4 MB, free: 10.87 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.0008053/2.762, allocations: 280.2 kB / 398.6 MB, free: 10.64 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002491/2.762, allocations: 75.83 kB / 398.7 MB, free: 10.57 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/2.762, allocations: 0 / 398.7 MB, free: 10.57 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 9.201e-05/2.762, allocations: 15.94 kB / 398.7 MB, free: 10.56 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003597/2.762, allocations: 19.52 kB / 398.7 MB, free: 10.54 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004865/2.763, allocations: 129.2 kB / 398.9 MB, free: 10.4 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004547/2.763, allocations: 0.7222 MB / 399.6 MB, free: 9.656 MB / 330.7 MB Notification: Performance of SimCode: time 1.543e-06/2.763, allocations: 0 / 399.6 MB, free: 9.656 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test32_res.mat does not exist to compare? outputFormat=mat