Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test29,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test29",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.987/1.987, allocations: 209.3 MB / 216.3 MB, free: 6.809 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2636/2.251, allocations: 51.04 MB / 267.3 MB, free: 5.152 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1132/2.364, allocations: 48.69 MB / 316 MB, free: 4.363 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3359/2.7, allocations: 75.26 MB / 391.2 MB, free: 1.445 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002544/2.7, allocations: 73.56 kB / 391.3 MB, free: 1.414 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.02529/2.726, allocations: 4.057 MB / 395.4 MB, free: 13.95 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.611e-05/2.726, allocations: 8 kB / 395.4 MB, free: 13.94 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.632e-05/2.726, allocations: 11.84 kB / 395.4 MB, free: 13.93 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003499/2.726, allocations: 197.4 kB / 395.6 MB, free: 13.7 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.471e-05/2.726, allocations: 4 kB / 395.6 MB, free: 13.7 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.464e-05/2.726, allocations: 4 kB / 395.6 MB, free: 13.7 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.743e-05/2.726, allocations: 19.8 kB / 395.6 MB, free: 13.68 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001043/2.726, allocations: 40.81 kB / 395.7 MB, free: 13.64 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.434e-05/2.726, allocations: 3.938 kB / 395.7 MB, free: 13.63 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.46e-05/2.726, allocations: 3.906 kB / 395.7 MB, free: 13.63 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/2.726, allocations: 0 / 395.7 MB, free: 13.63 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004494/2.727, allocations: 269.2 kB / 395.9 MB, free: 13.35 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002393/2.727, allocations: 44.92 kB / 396 MB, free: 13.3 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.211e-05/2.727, allocations: 12.61 kB / 396 MB, free: 13.29 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.293e-05/2.727, allocations: 0 / 396 MB, free: 13.29 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001017/2.727, allocations: 50.75 kB / 396 MB, free: 13.23 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.754e-06/2.727, allocations: 0 / 396 MB, free: 13.23 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004465/2.728, allocations: 98.45 kB / 396.1 MB, free: 13.14 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.475e-05/2.728, allocations: 55.34 kB / 396.2 MB, free: 13.07 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002198/2.728, allocations: 154.8 kB / 396.3 MB, free: 12.93 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.581e-05/2.728, allocations: 25.7 kB / 396.4 MB, free: 12.9 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.618e-05/2.728, allocations: 95.19 kB / 396.4 MB, free: 12.8 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.977e-05/2.728, allocations: 15.25 kB / 396.5 MB, free: 12.79 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.945e-06/2.728, allocations: 0 / 396.5 MB, free: 12.79 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001382/2.728, allocations: 321.8 kB / 396.8 MB, free: 12.47 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.779e-05/2.728, allocations: 19.12 kB / 396.8 MB, free: 12.46 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.907e-05/2.729, allocations: 22.55 kB / 396.8 MB, free: 12.45 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.798e-05/2.729, allocations: 29.72 kB / 396.8 MB, free: 12.43 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/2.729, allocations: 4 kB / 396.9 MB, free: 12.42 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002631/2.729, allocations: 91.08 kB / 396.9 MB, free: 12.34 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.918e-05/2.729, allocations: 4 kB / 396.9 MB, free: 12.34 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/2.729, allocations: 0 / 396.9 MB, free: 12.34 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/2.729, allocations: 0 / 396.9 MB, free: 12.34 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.641e-05/2.729, allocations: 8 kB / 397 MB, free: 12.33 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.197e-06/2.729, allocations: 7.938 kB / 397 MB, free: 12.32 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.168e-05/2.729, allocations: 7.922 kB / 397 MB, free: 12.31 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.811e-05/2.729, allocations: 7.562 kB / 397 MB, free: 12.31 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.757e-05/2.729, allocations: 108.9 kB / 397.1 MB, free: 12.2 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.975e-05/2.729, allocations: 7.906 kB / 397.1 MB, free: 12.19 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002704/2.73, allocations: 84.12 kB / 397.2 MB, free: 12.11 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.469e-06/2.73, allocations: 0 / 397.2 MB, free: 12.11 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/2.73, allocations: 0 / 397.2 MB, free: 12.11 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.066e-05/2.73, allocations: 4 kB / 397.2 MB, free: 12.11 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005098/2.73, allocations: 328.2 kB / 397.5 MB, free: 11.77 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/2.73, allocations: 4 kB / 397.5 MB, free: 11.76 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.859e-05/2.73, allocations: 4.094 kB / 397.5 MB, free: 11.76 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.283e-06/2.73, allocations: 11.92 kB / 397.5 MB, free: 11.75 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.416e-05/2.73, allocations: 3.984 kB / 397.5 MB, free: 11.74 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/2.73, allocations: 0 / 397.5 MB, free: 11.74 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/2.73, allocations: 0 / 397.5 MB, free: 11.74 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002265/2.731, allocations: 169.7 kB / 397.7 MB, free: 11.57 MB / 330.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000349/2.731, allocations: 0.5492 MB / 398.2 MB, free: 11.02 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.2e-05/2.731, allocations: 87.95 kB / 398.3 MB, free: 10.91 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.592e-05/2.731, allocations: 0 / 398.3 MB, free: 10.91 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001154/2.731, allocations: 4 kB / 398.3 MB, free: 10.91 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.196e-05/2.731, allocations: 3.984 kB / 398.3 MB, free: 10.91 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.37e-05/2.731, allocations: 4 kB / 398.3 MB, free: 10.9 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.0001486/2.731, allocations: 123.1 kB / 398.5 MB, free: 10.8 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001255/2.733, allocations: 45.23 kB / 398.5 MB, free: 10.76 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.0008019/2.734, allocations: 272.6 kB / 398.8 MB, free: 10.53 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002468/2.734, allocations: 76.38 kB / 398.8 MB, free: 10.46 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/2.734, allocations: 0 / 398.8 MB, free: 10.46 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.437e-05/2.734, allocations: 22.94 kB / 398.9 MB, free: 10.45 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003524/2.734, allocations: 11.89 kB / 398.9 MB, free: 10.44 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004745/2.735, allocations: 141.5 kB / 399 MB, free: 10.29 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003722/2.735, allocations: 0.7153 MB / 399.7 MB, free: 9.547 MB / 330.7 MB Notification: Performance of SimCode: time 7.72e-07/2.735, allocations: 0 / 399.7 MB, free: 9.547 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat does not exist to compare? outputFormat=mat