Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test46,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test46",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.085/2.085, allocations: 209.3 MB / 216.3 MB, free: 6.793 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2471/2.332, allocations: 51.04 MB / 267.3 MB, free: 5.133 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1099/2.442, allocations: 48.69 MB / 316 MB, free: 4.348 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3295/2.771, allocations: 75.25 MB / 391.2 MB, free: 1.41 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002771/2.772, allocations: 73.55 kB / 391.3 MB, free: 1.375 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.02079/2.793, allocations: 4.369 MB / 395.7 MB, free: 13.61 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.645e-05/2.793, allocations: 12 kB / 395.7 MB, free: 13.6 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.421e-05/2.793, allocations: 11.81 kB / 395.7 MB, free: 13.59 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003559/2.793, allocations: 210.7 kB / 395.9 MB, free: 13.35 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.664e-05/2.793, allocations: 4 kB / 395.9 MB, free: 13.34 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.07e-05/2.793, allocations: 7.891 kB / 395.9 MB, free: 13.34 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.357e-05/2.793, allocations: 15.69 kB / 395.9 MB, free: 13.32 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001003/2.793, allocations: 44.88 kB / 396 MB, free: 13.28 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/2.793, allocations: 0 / 396 MB, free: 13.28 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.247e-05/2.793, allocations: 4 kB / 396 MB, free: 13.27 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/2.793, allocations: 3.984 kB / 396 MB, free: 13.27 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004712/2.794, allocations: 283.4 kB / 396.3 MB, free: 12.98 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002233/2.794, allocations: 36.77 kB / 396.3 MB, free: 12.94 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.057e-05/2.794, allocations: 12.73 kB / 396.3 MB, free: 12.93 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.409e-05/2.794, allocations: 3.984 kB / 396.3 MB, free: 12.93 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.948e-05/2.794, allocations: 58.75 kB / 396.4 MB, free: 12.86 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.994e-06/2.794, allocations: 0 / 396.4 MB, free: 12.86 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004478/2.795, allocations: 110.1 kB / 396.5 MB, free: 12.75 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.539e-05/2.795, allocations: 51.41 kB / 396.5 MB, free: 12.69 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003561/2.795, allocations: 215 kB / 396.8 MB, free: 12.5 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.812e-05/2.795, allocations: 29.7 kB / 396.8 MB, free: 12.46 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.748e-05/2.795, allocations: 99.31 kB / 396.9 MB, free: 12.37 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.825e-05/2.795, allocations: 11.81 kB / 396.9 MB, free: 12.36 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.614e-06/2.795, allocations: 4 kB / 396.9 MB, free: 12.36 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001326/2.796, allocations: 326 kB / 397.2 MB, free: 12.04 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.603e-05/2.796, allocations: 25.98 kB / 397.2 MB, free: 12.02 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.303e-05/2.796, allocations: 18.56 kB / 397.3 MB, free: 12 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.56e-05/2.796, allocations: 23.67 kB / 397.3 MB, free: 11.99 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/2.796, allocations: 0 / 397.3 MB, free: 11.99 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002723/2.796, allocations: 93.5 kB / 397.4 MB, free: 11.91 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.03e-05/2.796, allocations: 11.94 kB / 397.4 MB, free: 11.89 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/2.796, allocations: 0 / 397.4 MB, free: 11.89 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/2.796, allocations: 4 kB / 397.4 MB, free: 11.89 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.669e-05/2.796, allocations: 11.98 kB / 397.4 MB, free: 11.88 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.387e-06/2.796, allocations: 0 / 397.4 MB, free: 11.88 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.444e-05/2.796, allocations: 4 kB / 397.4 MB, free: 11.88 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.849e-05/2.796, allocations: 7.406 kB / 397.4 MB, free: 11.87 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 8.825e-05/2.797, allocations: 108.9 kB / 397.5 MB, free: 11.76 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.25e-05/2.797, allocations: 11.81 kB / 397.5 MB, free: 11.75 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000285/2.797, allocations: 89.64 kB / 397.6 MB, free: 11.67 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.616e-06/2.797, allocations: 3.938 kB / 397.6 MB, free: 11.66 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/2.797, allocations: 0 / 397.6 MB, free: 11.66 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.735e-06/2.797, allocations: 3.984 kB / 397.6 MB, free: 11.66 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005212/2.797, allocations: 349.5 kB / 398 MB, free: 11.3 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/2.797, allocations: 0 / 398 MB, free: 11.3 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.686e-05/2.798, allocations: 4 kB / 398 MB, free: 11.3 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/2.798, allocations: 0 / 398 MB, free: 11.3 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.157e-05/2.798, allocations: 4.188 kB / 398 MB, free: 11.3 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.468e-06/2.798, allocations: 4.094 kB / 398 MB, free: 11.29 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.1e-06/2.798, allocations: 11.92 kB / 398 MB, free: 11.28 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000228/2.798, allocations: 172.9 kB / 398.2 MB, free: 11.11 MB / 330.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003838/2.798, allocations: 0.5365 MB / 398.7 MB, free: 10.57 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.684e-05/2.798, allocations: 100.9 kB / 398.8 MB, free: 10.45 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.029e-05/2.798, allocations: 4 kB / 398.8 MB, free: 10.45 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000105/2.799, allocations: 0 / 398.8 MB, free: 10.45 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.81e-05/2.799, allocations: 11.55 kB / 398.8 MB, free: 10.44 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.239e-05/2.799, allocations: 4 kB / 398.8 MB, free: 10.43 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.0002371/2.799, allocations: 173.6 kB / 399 MB, free: 10.29 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001228/2.8, allocations: 46.47 kB / 399 MB, free: 10.25 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.0008587/2.801, allocations: 295.7 kB / 399.3 MB, free: 10.01 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002126/2.801, allocations: 68.2 kB / 399.4 MB, free: 9.949 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/2.801, allocations: 4 kB / 399.4 MB, free: 9.945 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 7.152e-05/2.801, allocations: 23.36 kB / 399.4 MB, free: 9.926 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003245/2.802, allocations: 11.5 kB / 399.4 MB, free: 9.914 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005654/2.802, allocations: 191.9 kB / 399.6 MB, free: 9.723 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004377/2.803, allocations: 0.7343 MB / 400.3 MB, free: 8.965 MB / 330.7 MB Notification: Performance of SimCode: time 1.002e-06/2.803, allocations: 0 / 400.3 MB, free: 8.965 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test46_res.mat does not exist to compare? outputFormat=mat