Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test50,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test50",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.984/1.984, allocations: 209.3 MB / 216.3 MB, free: 6.785 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2408/2.225, allocations: 51.05 MB / 267.3 MB, free: 5.121 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1278/2.353, allocations: 48.69 MB / 316 MB, free: 4.34 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3198/2.673, allocations: 75.53 MB / 391.5 MB, free: 1.148 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002495/2.673, allocations: 75.25 kB / 391.6 MB, free: 1.113 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.03425/2.707, allocations: 6.77 MB / 398.4 MB, free: 11.68 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/2.707, allocations: 8 kB / 398.4 MB, free: 11.67 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.746e-05/2.707, allocations: 15.81 kB / 398.4 MB, free: 11.66 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003104/2.708, allocations: 199 kB / 398.6 MB, free: 11.43 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.47e-05/2.708, allocations: 0 / 398.6 MB, free: 11.43 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.29e-05/2.708, allocations: 7.984 kB / 398.6 MB, free: 11.42 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001204/2.708, allocations: 23.23 kB / 398.6 MB, free: 11.4 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001465/2.708, allocations: 66.48 kB / 398.7 MB, free: 11.33 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/2.708, allocations: 0 / 398.7 MB, free: 11.33 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.454e-05/2.708, allocations: 0 / 398.7 MB, free: 11.33 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/2.708, allocations: 0 / 398.7 MB, free: 11.33 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004669/2.708, allocations: 279.5 kB / 398.9 MB, free: 11.04 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001299/2.709, allocations: 45.27 kB / 399 MB, free: 11 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.516e-05/2.709, allocations: 16.55 kB / 399 MB, free: 10.98 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.793e-05/2.709, allocations: 0 / 399 MB, free: 10.98 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001335/2.709, allocations: 65.73 kB / 399.1 MB, free: 10.91 MB / 330.7 MB Notification: Performance of pre-optimization done (n=5): time 1.563e-06/2.709, allocations: 0 / 399.1 MB, free: 10.91 MB / 330.7 MB Notification: Performance of matching and sorting (n=6): time 0.0005597/2.709, allocations: 120.8 kB / 399.2 MB, free: 10.8 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.19e-05/2.71, allocations: 77.11 kB / 399.3 MB, free: 10.71 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001926/2.71, allocations: 142.9 kB / 399.4 MB, free: 10.57 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.002e-05/2.71, allocations: 31.45 kB / 399.4 MB, free: 10.54 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.008e-05/2.71, allocations: 84.02 kB / 399.5 MB, free: 10.46 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.474e-05/2.71, allocations: 19.05 kB / 399.5 MB, free: 10.44 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.176e-06/2.71, allocations: 0 / 399.5 MB, free: 10.44 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001387/2.71, allocations: 322.2 kB / 399.9 MB, free: 10.12 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.167e-05/2.71, allocations: 27.17 kB / 399.9 MB, free: 10.1 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.149e-05/2.71, allocations: 40.28 kB / 399.9 MB, free: 10.07 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001032/2.71, allocations: 27.05 kB / 399.9 MB, free: 10.05 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/2.71, allocations: 0 / 399.9 MB, free: 10.05 MB / 330.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000318/2.711, allocations: 107.4 kB / 400.1 MB, free: 9.953 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.928e-05/2.711, allocations: 9.781 kB / 400.1 MB, free: 9.945 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/2.711, allocations: 0 / 400.1 MB, free: 9.945 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/2.711, allocations: 0 / 400.1 MB, free: 9.945 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001322/2.711, allocations: 15.67 kB / 400.1 MB, free: 9.934 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/2.711, allocations: 8.031 kB / 400.1 MB, free: 9.926 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.718e-05/2.711, allocations: 0 / 400.1 MB, free: 9.926 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.741e-05/2.711, allocations: 4 kB / 400.1 MB, free: 9.922 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 (8): * Single equations (assignments): 7 * 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.373e-05/2.711, allocations: 101 kB / 400.2 MB, free: 9.816 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.808e-05/2.711, allocations: 7.906 kB / 400.2 MB, free: 9.809 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003327/2.712, allocations: 112.5 kB / 400.3 MB, free: 9.707 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/2.712, allocations: 0 / 400.3 MB, free: 9.707 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.653e-06/2.712, allocations: 8 kB / 400.3 MB, free: 9.699 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/2.712, allocations: 0 / 400.3 MB, free: 9.699 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005128/2.712, allocations: 340.3 kB / 400.6 MB, free: 9.352 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.04e-06/2.712, allocations: 7.938 kB / 400.7 MB, free: 9.344 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.375e-05/2.712, allocations: 19.97 kB / 400.7 MB, free: 9.324 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/2.712, allocations: 0 / 400.7 MB, free: 9.324 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.362e-05/2.712, allocations: 0 / 400.7 MB, free: 9.324 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/2.712, allocations: 0 / 400.7 MB, free: 9.324 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/2.712, allocations: 0 / 400.7 MB, free: 9.324 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002628/2.713, allocations: 184.8 kB / 400.9 MB, free: 9.141 MB / 330.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004169/2.713, allocations: 0.5638 MB / 401.4 MB, free: 8.574 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.788e-05/2.713, allocations: 85.02 kB / 401.5 MB, free: 8.473 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.136e-05/2.713, allocations: 7.859 kB / 401.5 MB, free: 8.469 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001136/2.713, allocations: 0 / 401.5 MB, free: 8.469 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.456e-05/2.713, allocations: 8 kB / 401.5 MB, free: 8.461 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.588e-05/2.713, allocations: 4 kB / 401.5 MB, free: 8.457 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.0001258/2.713, allocations: 117.9 kB / 401.6 MB, free: 8.352 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001316/2.715, allocations: 50.94 kB / 401.7 MB, free: 8.309 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 (8): * Single equations (assignments): 7 * 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.0009886/2.716, allocations: 357.2 kB / 402 MB, free: 8.004 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002697/2.716, allocations: 83.62 kB / 402.1 MB, free: 7.93 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/2.716, allocations: 4 kB / 402.1 MB, free: 7.926 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001004/2.716, allocations: 21.53 kB / 402.1 MB, free: 7.91 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003553/2.717, allocations: 23.88 kB / 402.2 MB, free: 7.891 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000474/2.717, allocations: 118.1 kB / 402.3 MB, free: 7.762 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004455/2.718, allocations: 0.7222 MB / 403 MB, free: 7.016 MB / 330.7 MB Notification: Performance of SimCode: time 8.81e-07/2.718, allocations: 0 / 403 MB, free: 7.016 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat does not exist to compare? outputFormat=mat