Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test5,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test5",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.898/1.898, allocations: 209.3 MB / 216.3 MB, free: 6.809 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2225/2.121, allocations: 51.04 MB / 267.3 MB, free: 5.152 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.122/2.243, allocations: 48.69 MB / 316 MB, free: 4.363 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3155/2.558, allocations: 75.3 MB / 391.3 MB, free: 1.398 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002549/2.559, allocations: 78.61 kB / 391.4 MB, free: 1.359 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.02017/2.579, allocations: 4.665 MB / 396 MB, free: 13.34 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.136e-05/2.579, allocations: 12 kB / 396 MB, free: 13.33 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.182e-05/2.579, allocations: 11.81 kB / 396.1 MB, free: 13.32 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003607/2.579, allocations: 204.3 kB / 396.3 MB, free: 13.08 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.795e-05/2.579, allocations: 3.906 kB / 396.3 MB, free: 13.08 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.345e-05/2.58, allocations: 4 kB / 396.3 MB, free: 13.07 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001316/2.58, allocations: 28.86 kB / 396.3 MB, free: 13.05 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001374/2.58, allocations: 63.41 kB / 396.3 MB, free: 12.99 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/2.58, allocations: 0 / 396.3 MB, free: 12.99 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.448e-05/2.58, allocations: 0 / 396.3 MB, free: 12.99 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.546e-06/2.58, allocations: 0 / 396.3 MB, free: 12.99 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005521/2.58, allocations: 312.1 kB / 396.7 MB, free: 12.68 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001249/2.581, allocations: 44.08 kB / 396.7 MB, free: 12.64 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.892e-05/2.581, allocations: 20.72 kB / 396.7 MB, free: 12.62 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.876e-05/2.581, allocations: 4 kB / 396.7 MB, free: 12.61 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001232/2.581, allocations: 62.88 kB / 396.8 MB, free: 12.55 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 2.024e-06/2.581, allocations: 4 kB / 396.8 MB, free: 12.54 MB / 330.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006254/2.581, allocations: 139.4 kB / 396.9 MB, free: 12.42 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.747e-05/2.582, allocations: 51.41 kB / 397 MB, free: 12.36 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003306/2.582, allocations: 211 kB / 397.2 MB, free: 12.17 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.131e-05/2.582, allocations: 29.64 kB / 397.2 MB, free: 12.13 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.832e-05/2.582, allocations: 101.8 kB / 397.3 MB, free: 12.03 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.077e-05/2.582, allocations: 26.2 kB / 397.3 MB, free: 12.01 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.287e-06/2.582, allocations: 0 / 397.3 MB, free: 12.01 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001719/2.582, allocations: 329.1 kB / 397.7 MB, free: 11.68 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.604e-05/2.582, allocations: 29.12 kB / 397.7 MB, free: 11.67 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.134e-05/2.582, allocations: 33.56 kB / 397.7 MB, free: 11.64 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001246/2.583, allocations: 34.89 kB / 397.7 MB, free: 11.62 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/2.583, allocations: 3.938 kB / 397.8 MB, free: 11.62 MB / 330.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003622/2.583, allocations: 120.1 kB / 397.9 MB, free: 11.52 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/2.583, allocations: 8 kB / 397.9 MB, free: 11.51 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/2.583, allocations: 3.906 kB / 397.9 MB, free: 11.5 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/2.583, allocations: 0 / 397.9 MB, free: 11.5 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001533/2.583, allocations: 15.98 kB / 397.9 MB, free: 11.49 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/2.583, allocations: 0 / 397.9 MB, free: 11.49 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.881e-05/2.583, allocations: 4 kB / 397.9 MB, free: 11.48 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.995e-05/2.583, allocations: 11.06 kB / 397.9 MB, free: 11.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 (10): * Single equations (assignments): 9 * 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.0001136/2.584, allocations: 112.9 kB / 398 MB, free: 11.36 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.078e-05/2.584, allocations: 11.81 kB / 398 MB, free: 11.35 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004139/2.584, allocations: 128.6 kB / 398.2 MB, free: 11.24 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/2.584, allocations: 0 / 398.2 MB, free: 11.24 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/2.584, allocations: 0 / 398.2 MB, free: 11.24 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/2.584, allocations: 0 / 398.2 MB, free: 11.24 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000638/2.585, allocations: 399.9 kB / 398.5 MB, free: 10.84 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/2.585, allocations: 0 / 398.5 MB, free: 10.84 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001211/2.585, allocations: 31.88 kB / 398.6 MB, free: 10.81 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.951e-06/2.585, allocations: 0 / 398.6 MB, free: 10.81 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.378e-05/2.585, allocations: 0 / 398.6 MB, free: 10.81 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/2.585, allocations: 0 / 398.6 MB, free: 10.81 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/2.585, allocations: 4 kB / 398.6 MB, free: 10.81 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003118/2.585, allocations: 197.2 kB / 398.8 MB, free: 10.62 MB / 330.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004569/2.586, allocations: 0.5713 MB / 399.3 MB, free: 10.04 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001064/2.586, allocations: 104.7 kB / 399.5 MB, free: 9.926 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.386e-05/2.586, allocations: 0 / 399.5 MB, free: 9.926 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001277/2.586, allocations: 0 / 399.5 MB, free: 9.926 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.354e-05/2.586, allocations: 7.984 kB / 399.5 MB, free: 9.918 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.733e-05/2.586, allocations: 4 kB / 399.5 MB, free: 9.914 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.0002532/2.586, allocations: 170.8 kB / 399.6 MB, free: 9.777 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.00128/2.588, allocations: 47.28 kB / 399.7 MB, free: 9.734 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 (10): * Single equations (assignments): 9 * 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.0008536/2.589, allocations: 281 kB / 399.9 MB, free: 9.5 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003107/2.589, allocations: 96.77 kB / 400 MB, free: 9.422 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/2.589, allocations: 0 / 400 MB, free: 9.422 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 9.617e-05/2.589, allocations: 38.92 kB / 400.1 MB, free: 9.391 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003728/2.589, allocations: 11.73 kB / 400.1 MB, free: 9.383 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006423/2.59, allocations: 196.8 kB / 400.3 MB, free: 9.184 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004348/2.59, allocations: 0.7493 MB / 401 MB, free: 8.414 MB / 330.7 MB Notification: Performance of SimCode: time 7.91e-07/2.591, allocations: 0 / 401 MB, free: 8.414 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat does not exist to compare? outputFormat=mat