Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test60,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Tables_CombiTimeTable_Test60",fmuType="cs",version="2.0",platforms={"dynamic"}) [: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 2.375/2.375, allocations: 235.1 MB / 242 MB, free: 11.25 MB / 210.8 MB Notification: Performance of FrontEnd - loaded program: time 0.344/2.72, allocations: 57.2 MB / 299.2 MB, free: 5.957 MB / 242.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1281/2.848, allocations: 54.87 MB / 354.1 MB, free: 14.98 MB / 306.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3568/3.205, allocations: 81.56 MB / 435.7 MB, free: 4.559 MB / 338.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000294/3.205, allocations: 70.84 kB / 435.7 MB, free: 4.551 MB / 338.8 MB [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2312:7-2313:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableValue. [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2358:7-2359:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableTimeTmin. [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2369:7-2370:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableTimeTmax. Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.03386/3.239, allocations: 7.066 MB / 442.8 MB, free: 15.47 MB / 354.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.784e-05/3.239, allocations: 8 kB / 442.8 MB, free: 15.46 MB / 354.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.415e-05/3.239, allocations: 15.81 kB / 442.8 MB, free: 15.45 MB / 354.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004294/3.239, allocations: 206.5 kB / 443 MB, free: 15.21 MB / 354.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.959e-05/3.239, allocations: 0 / 443 MB, free: 15.21 MB / 354.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.12e-05/3.239, allocations: 4 kB / 443 MB, free: 15.21 MB / 354.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001164/3.24, allocations: 21.92 kB / 443 MB, free: 15.19 MB / 354.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001602/3.24, allocations: 68.83 kB / 443.1 MB, free: 15.12 MB / 354.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/3.24, allocations: 4 kB / 443.1 MB, free: 15.12 MB / 354.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.691e-05/3.24, allocations: 0 / 443.1 MB, free: 15.12 MB / 354.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.787e-06/3.24, allocations: 4 kB / 443.1 MB, free: 15.11 MB / 354.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005441/3.24, allocations: 274.8 kB / 443.4 MB, free: 14.83 MB / 354.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001682/3.241, allocations: 52.69 kB / 443.4 MB, free: 14.78 MB / 354.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.05e-05/3.241, allocations: 24.02 kB / 443.5 MB, free: 14.75 MB / 354.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.814e-05/3.241, allocations: 7.438 kB / 443.5 MB, free: 14.75 MB / 354.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001353/3.241, allocations: 57.84 kB / 443.5 MB, free: 14.69 MB / 354.8 MB Notification: Performance of pre-optimization done (n=6): time 2.294e-06/3.241, allocations: 4 kB / 443.5 MB, free: 14.68 MB / 354.8 MB Notification: Performance of matching and sorting (n=8): time 0.0006525/3.242, allocations: 127.1 kB / 443.6 MB, free: 14.57 MB / 354.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.001e-05/3.242, allocations: 88.98 kB / 443.7 MB, free: 14.47 MB / 354.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002301/3.242, allocations: 135 kB / 443.9 MB, free: 14.34 MB / 354.8 MB Notification: Performance of collectPreVariables (initialization): time 2.892e-05/3.242, allocations: 28.7 kB / 443.9 MB, free: 14.31 MB / 354.8 MB Notification: Performance of collectInitialEqns (initialization): time 5.865e-05/3.242, allocations: 99.28 kB / 444 MB, free: 14.21 MB / 354.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.393e-05/3.242, allocations: 22.97 kB / 444 MB, free: 14.2 MB / 354.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.005e-05/3.242, allocations: 0 / 444 MB, free: 14.2 MB / 354.8 MB Notification: Performance of setup shared object (initialization): time 0.0001479/3.242, allocations: 322.2 kB / 444.3 MB, free: 13.88 MB / 354.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.798e-05/3.242, allocations: 25.75 kB / 444.4 MB, free: 13.86 MB / 354.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001259/3.242, allocations: 48.38 kB / 444.4 MB, free: 13.82 MB / 354.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000131/3.243, allocations: 38.52 kB / 444.4 MB, free: 13.79 MB / 354.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/3.243, allocations: 0 / 444.4 MB, free: 13.79 MB / 354.8 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003639/3.243, allocations: 120.6 kB / 444.6 MB, free: 13.69 MB / 354.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.27e-05/3.243, allocations: 8 kB / 444.6 MB, free: 13.68 MB / 354.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/3.243, allocations: 3.938 kB / 444.6 MB, free: 13.68 MB / 354.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/3.243, allocations: 0 / 444.6 MB, free: 13.68 MB / 354.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001828/3.243, allocations: 12 kB / 444.6 MB, free: 13.66 MB / 354.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.007e-06/3.243, allocations: 4 kB / 444.6 MB, free: 13.66 MB / 354.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001074/3.243, allocations: 7.891 kB / 444.6 MB, free: 13.65 MB / 354.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.055e-05/3.243, allocations: 8.031 kB / 444.6 MB, free: 13.64 MB / 354.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * 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.0001142/3.244, allocations: 116.4 kB / 444.7 MB, free: 13.53 MB / 354.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.372e-05/3.244, allocations: 7.906 kB / 444.7 MB, free: 13.52 MB / 354.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003482/3.244, allocations: 99.48 kB / 444.8 MB, free: 13.43 MB / 354.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.189e-05/3.244, allocations: 7.984 kB / 444.8 MB, free: 13.43 MB / 354.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/3.244, allocations: 3.938 kB / 444.8 MB, free: 13.42 MB / 354.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.184e-06/3.244, allocations: 3.906 kB / 444.8 MB, free: 13.42 MB / 354.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006076/3.245, allocations: 351.7 kB / 445.2 MB, free: 13.06 MB / 354.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/3.245, allocations: 0 / 445.2 MB, free: 13.06 MB / 354.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.454e-05/3.245, allocations: 23.08 kB / 445.2 MB, free: 13.04 MB / 354.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/3.245, allocations: 0 / 445.2 MB, free: 13.04 MB / 354.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.694e-05/3.245, allocations: 4 kB / 445.2 MB, free: 13.04 MB / 354.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/3.245, allocations: 0 / 445.2 MB, free: 13.04 MB / 354.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/3.245, allocations: 192 / 445.2 MB, free: 13.04 MB / 354.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003191/3.245, allocations: 214.3 kB / 445.4 MB, free: 12.82 MB / 354.8 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004848/3.246, allocations: 0.5674 MB / 446 MB, free: 12.25 MB / 354.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001217/3.246, allocations: 96.53 kB / 446.1 MB, free: 12.14 MB / 354.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.477e-05/3.246, allocations: 4.188 kB / 446.1 MB, free: 12.13 MB / 354.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001765/3.246, allocations: 19.92 kB / 446.1 MB, free: 12.11 MB / 354.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.448e-05/3.246, allocations: 3 kB / 446.1 MB, free: 12.11 MB / 354.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.658e-05/3.246, allocations: 4 kB / 446.1 MB, free: 12.11 MB / 354.8 MB Notification: Performance of sort global known variables: time 0.0001309/3.246, allocations: 112.6 kB / 446.2 MB, free: 12.01 MB / 354.8 MB Notification: Performance of remove unused functions: time 0.001483/3.248, allocations: 54.92 kB / 446.3 MB, free: 11.96 MB / 354.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001383/3.249, allocations: 426.2 kB / 446.7 MB, free: 11.64 MB / 354.8 MB Notification: Performance of simCode: created initialization part: time 0.0003551/3.25, allocations: 103.2 kB / 446.8 MB, free: 11.56 MB / 354.8 MB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/3.25, allocations: 0 / 446.8 MB, free: 11.56 MB / 354.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001526/3.25, allocations: 36.31 kB / 446.8 MB, free: 11.54 MB / 354.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006212/3.25, allocations: 15.22 kB / 446.8 MB, free: 11.52 MB / 354.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007272/3.251, allocations: 128.9 kB / 447 MB, free: 11.38 MB / 354.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005684/3.252, allocations: 0.7271 MB / 447.7 MB, free: 10.63 MB / 354.8 MB Notification: Performance of SimCode: time 1.453e-06/3.252, allocations: 0 / 447.7 MB, free: 10.63 MB / 354.8 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat does not exist to compare? outputFormat=mat