Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test18,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test18",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.932/1.932, allocations: 209.3 MB / 216.3 MB, free: 6.801 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2695/2.201, allocations: 51.05 MB / 267.3 MB, free: 5.129 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1138/2.315, allocations: 48.68 MB / 316 MB, free: 4.352 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3473/2.663, allocations: 75.26 MB / 391.2 MB, free: 1.523 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002706/2.663, allocations: 74.09 kB / 391.3 MB, free: 1.488 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.0176/2.681, allocations: 3.998 MB / 395.3 MB, free: 14.08 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.489e-05/2.681, allocations: 15.94 kB / 395.3 MB, free: 14.07 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.421e-05/2.681, allocations: 11.81 kB / 395.3 MB, free: 14.05 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002829/2.681, allocations: 186.8 kB / 395.5 MB, free: 13.84 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.448e-05/2.681, allocations: 0 / 395.5 MB, free: 13.84 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.088e-05/2.681, allocations: 7.938 kB / 395.5 MB, free: 13.83 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.683e-05/2.681, allocations: 19.23 kB / 395.6 MB, free: 13.81 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001001/2.681, allocations: 40.94 kB / 395.6 MB, free: 13.77 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/2.681, allocations: 4 kB / 395.6 MB, free: 13.77 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.237e-05/2.681, allocations: 0 / 395.6 MB, free: 13.77 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/2.681, allocations: 4 kB / 395.6 MB, free: 13.76 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004484/2.682, allocations: 263.4 kB / 395.9 MB, free: 13.48 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00024/2.682, allocations: 44.52 kB / 395.9 MB, free: 13.44 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.172e-05/2.682, allocations: 16.48 kB / 395.9 MB, free: 13.43 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.328e-05/2.682, allocations: 0 / 395.9 MB, free: 13.43 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001072/2.682, allocations: 58.41 kB / 396 MB, free: 13.36 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 4.148e-06/2.682, allocations: 3.984 kB / 396 MB, free: 13.36 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004812/2.683, allocations: 96.03 kB / 396.1 MB, free: 13.27 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.568e-05/2.683, allocations: 63.25 kB / 396.1 MB, free: 13.19 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002348/2.683, allocations: 142.7 kB / 396.3 MB, free: 13.06 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.591e-05/2.683, allocations: 25.7 kB / 396.3 MB, free: 13.03 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.812e-05/2.683, allocations: 91.06 kB / 396.4 MB, free: 12.94 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.74e-05/2.683, allocations: 14.62 kB / 396.4 MB, free: 12.93 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.075e-05/2.683, allocations: 4 kB / 396.4 MB, free: 12.92 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001308/2.683, allocations: 317.9 kB / 396.7 MB, free: 12.61 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.843e-05/2.683, allocations: 20.5 kB / 396.7 MB, free: 12.59 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.428e-05/2.684, allocations: 17.81 kB / 396.8 MB, free: 12.58 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.116e-05/2.684, allocations: 24.67 kB / 396.8 MB, free: 12.57 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/2.684, allocations: 0 / 396.8 MB, free: 12.57 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002589/2.684, allocations: 93.36 kB / 396.9 MB, free: 12.48 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/2.684, allocations: 4 kB / 396.9 MB, free: 12.48 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/2.684, allocations: 4.078 kB / 396.9 MB, free: 12.48 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/2.684, allocations: 4 kB / 396.9 MB, free: 12.47 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001045/2.684, allocations: 11.98 kB / 396.9 MB, free: 12.46 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.598e-06/2.684, allocations: 11.83 kB / 396.9 MB, free: 12.45 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.051e-05/2.684, allocations: 0 / 396.9 MB, free: 12.45 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.713e-05/2.684, allocations: 4 kB / 396.9 MB, free: 12.45 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.455e-05/2.684, allocations: 107.5 kB / 397 MB, free: 12.34 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.688e-05/2.684, allocations: 7.906 kB / 397 MB, free: 12.33 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003022/2.685, allocations: 83.7 kB / 397.1 MB, free: 12.25 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.171e-06/2.685, allocations: 7.922 kB / 397.1 MB, free: 12.24 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.857e-06/2.685, allocations: 7.906 kB / 397.1 MB, free: 12.23 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/2.685, allocations: 0 / 397.1 MB, free: 12.23 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004391/2.685, allocations: 309 kB / 397.4 MB, free: 11.91 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/2.685, allocations: 0 / 397.4 MB, free: 11.91 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.406e-05/2.685, allocations: 11.98 kB / 397.4 MB, free: 11.9 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.42e-06/2.685, allocations: 0 / 397.4 MB, free: 11.9 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.782e-05/2.685, allocations: 3.906 kB / 397.4 MB, free: 11.9 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.04e-06/2.685, allocations: 11.94 kB / 397.4 MB, free: 11.89 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/2.685, allocations: 192 / 397.4 MB, free: 11.89 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002203/2.686, allocations: 166.1 kB / 397.6 MB, free: 11.72 MB / 330.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003572/2.686, allocations: 0.537 MB / 398.1 MB, free: 11.18 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.979e-05/2.686, allocations: 85.02 kB / 398.2 MB, free: 11.07 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.328e-05/2.686, allocations: 4 kB / 398.2 MB, free: 11.07 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001119/2.686, allocations: 4 kB / 398.2 MB, free: 11.07 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.213e-05/2.686, allocations: 7.109 kB / 398.2 MB, free: 11.06 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.361e-05/2.686, allocations: 4 kB / 398.2 MB, free: 11.06 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.0001389/2.686, allocations: 120.6 kB / 398.4 MB, free: 10.95 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001348/2.688, allocations: 38.89 kB / 398.4 MB, free: 10.92 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.0007974/2.689, allocations: 291.7 kB / 398.7 MB, free: 10.68 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002364/2.689, allocations: 73.5 kB / 398.8 MB, free: 10.61 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/2.689, allocations: 4 kB / 398.8 MB, free: 10.61 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.431e-05/2.689, allocations: 19.31 kB / 398.8 MB, free: 10.59 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003532/2.689, allocations: 19.67 kB / 398.8 MB, free: 10.58 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000457/2.69, allocations: 121.8 kB / 398.9 MB, free: 10.45 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003794/2.69, allocations: 0.7114 MB / 399.6 MB, free: 9.707 MB / 330.7 MB Notification: Performance of SimCode: time 7.21e-07/2.69, allocations: 0 / 399.6 MB, free: 9.707 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat does not exist to compare? outputFormat=mat