Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test21,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test21",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.979/1.979, allocations: 209.3 MB / 216.3 MB, free: 6.797 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2585/2.238, allocations: 51.03 MB / 267.3 MB, free: 5.148 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1126/2.351, allocations: 48.7 MB / 316 MB, free: 4.355 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3445/2.695, allocations: 75.26 MB / 391.3 MB, free: 1.531 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002637/2.696, allocations: 69.62 kB / 391.3 MB, free: 1.5 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.01937/2.715, allocations: 4.046 MB / 395.4 MB, free: 14.05 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.541e-05/2.715, allocations: 11.94 kB / 395.4 MB, free: 14.04 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.452e-05/2.715, allocations: 7.906 kB / 395.4 MB, free: 14.03 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003758/2.715, allocations: 206.5 kB / 395.6 MB, free: 13.8 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.795e-05/2.715, allocations: 0 / 395.6 MB, free: 13.8 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.046e-05/2.716, allocations: 4 kB / 395.6 MB, free: 13.79 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.406e-05/2.716, allocations: 15.92 kB / 395.6 MB, free: 13.78 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001061/2.716, allocations: 44.88 kB / 395.7 MB, free: 13.73 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/2.716, allocations: 0 / 395.7 MB, free: 13.73 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.512e-05/2.716, allocations: 3.906 kB / 395.7 MB, free: 13.73 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/2.716, allocations: 0 / 395.7 MB, free: 13.73 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004881/2.716, allocations: 271.4 kB / 395.9 MB, free: 13.45 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002568/2.717, allocations: 44.36 kB / 396 MB, free: 13.4 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.4e-05/2.717, allocations: 12.86 kB / 396 MB, free: 13.39 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.318e-05/2.717, allocations: 0 / 396 MB, free: 13.39 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001046/2.717, allocations: 52.88 kB / 396 MB, free: 13.33 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.804e-06/2.717, allocations: 0 / 396 MB, free: 13.33 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.000474/2.717, allocations: 96.2 kB / 396.1 MB, free: 13.24 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.538e-05/2.717, allocations: 55.41 kB / 396.2 MB, free: 13.17 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002369/2.718, allocations: 149.6 kB / 396.3 MB, free: 13.04 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.937e-05/2.718, allocations: 29.7 kB / 396.4 MB, free: 13 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.552e-05/2.718, allocations: 103.8 kB / 396.5 MB, free: 12.9 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.563e-05/2.718, allocations: 7.812 kB / 396.5 MB, free: 12.89 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.985e-06/2.718, allocations: 0 / 396.5 MB, free: 12.89 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001491/2.718, allocations: 322.5 kB / 396.8 MB, free: 12.57 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.289e-05/2.718, allocations: 21.56 kB / 396.8 MB, free: 12.56 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.569e-05/2.718, allocations: 18.38 kB / 396.8 MB, free: 12.55 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.825e-05/2.718, allocations: 26.77 kB / 396.8 MB, free: 12.53 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/2.718, allocations: 0 / 396.8 MB, free: 12.53 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002693/2.718, allocations: 98.27 kB / 396.9 MB, free: 12.44 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.3e-05/2.719, allocations: 8 kB / 396.9 MB, free: 12.43 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/2.719, allocations: 0 / 396.9 MB, free: 12.43 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.785e-05/2.719, allocations: 4 kB / 396.9 MB, free: 12.43 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001006/2.719, allocations: 8 kB / 397 MB, free: 12.42 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.139e-06/2.719, allocations: 3.938 kB / 397 MB, free: 12.42 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.114e-05/2.719, allocations: 0 / 397 MB, free: 12.42 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.982e-05/2.719, allocations: 7.984 kB / 397 MB, free: 12.41 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.0001024/2.719, allocations: 112.8 kB / 397.1 MB, free: 12.3 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.665e-05/2.719, allocations: 3.906 kB / 397.1 MB, free: 12.29 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002974/2.719, allocations: 87.61 kB / 397.2 MB, free: 12.21 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.895e-06/2.719, allocations: 4 kB / 397.2 MB, free: 12.21 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/2.719, allocations: 0 / 397.2 MB, free: 12.21 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/2.719, allocations: 0 / 397.2 MB, free: 12.21 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005183/2.72, allocations: 319.1 kB / 397.5 MB, free: 11.88 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.556e-06/2.72, allocations: 0 / 397.5 MB, free: 11.88 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.384e-05/2.72, allocations: 11.94 kB / 397.5 MB, free: 11.86 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.783e-06/2.72, allocations: 144 / 397.5 MB, free: 11.86 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.361e-05/2.72, allocations: 4.188 kB / 397.5 MB, free: 11.86 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.568e-06/2.72, allocations: 4.094 kB / 397.5 MB, free: 11.86 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/2.72, allocations: 3.938 kB / 397.5 MB, free: 11.85 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002658/2.72, allocations: 174 kB / 397.7 MB, free: 11.68 MB / 330.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004442/2.721, allocations: 0.5417 MB / 398.2 MB, free: 11.13 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.32e-05/2.721, allocations: 96.56 kB / 398.3 MB, free: 11.02 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.917e-05/2.721, allocations: 0 / 398.3 MB, free: 11.02 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001281/2.721, allocations: 4 kB / 398.3 MB, free: 11.02 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.864e-05/2.721, allocations: 3.984 kB / 398.3 MB, free: 11.01 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.508e-05/2.721, allocations: 4 kB / 398.3 MB, free: 11.01 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.0002045/2.721, allocations: 122.1 kB / 398.4 MB, free: 10.9 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001262/2.723, allocations: 42.98 kB / 398.5 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.0008337/2.724, allocations: 279.2 kB / 398.8 MB, free: 10.64 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002632/2.724, allocations: 78.94 kB / 398.8 MB, free: 10.57 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/2.724, allocations: 4 kB / 398.8 MB, free: 10.56 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.491e-05/2.724, allocations: 19.31 kB / 398.9 MB, free: 10.55 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003634/2.724, allocations: 15.89 kB / 398.9 MB, free: 10.54 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005059/2.725, allocations: 130.3 kB / 399 MB, free: 10.39 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004036/2.725, allocations: 0.7146 MB / 399.7 MB, free: 9.656 MB / 330.7 MB Notification: Performance of SimCode: time 1.152e-06/2.725, allocations: 4 kB / 399.7 MB, free: 9.652 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test21_res.mat does not exist to compare? outputFormat=mat