Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test54,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Tables_CombiTimeTable_Test54",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.448/2.448, allocations: 235.1 MB / 242 MB, free: 11.26 MB / 210.8 MB Notification: Performance of FrontEnd - loaded program: time 0.2977/2.745, allocations: 57.19 MB / 299.2 MB, free: 5.965 MB / 242.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.139/2.884, allocations: 54.87 MB / 354.1 MB, free: 14.99 MB / 306.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3693/3.254, allocations: 81.32 MB / 435.4 MB, free: 4.488 MB / 338.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003098/3.254, allocations: 69.53 kB / 435.5 MB, free: 4.48 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.02069/3.275, allocations: 4.808 MB / 440.3 MB, free: 1.074 MB / 338.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/3.275, allocations: 12 kB / 440.3 MB, free: 1.062 MB / 338.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.734e-05/3.275, allocations: 11.81 kB / 440.3 MB, free: 1.051 MB / 338.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003442/3.275, allocations: 221.5 kB / 440.5 MB, free: 0.8047 MB / 338.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.866e-05/3.275, allocations: 0 / 440.5 MB, free: 0.8047 MB / 338.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.793e-05/3.275, allocations: 4 kB / 440.5 MB, free: 0.8008 MB / 338.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.94e-05/3.275, allocations: 18.88 kB / 440.5 MB, free: 0.7891 MB / 338.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001113/3.276, allocations: 52.48 kB / 440.6 MB, free: 0.7383 MB / 338.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.568e-05/3.276, allocations: 3.906 kB / 440.6 MB, free: 0.7344 MB / 338.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.75e-05/3.276, allocations: 7.938 kB / 440.6 MB, free: 0.7266 MB / 338.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/3.276, allocations: 0 / 440.6 MB, free: 0.7266 MB / 338.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006475/3.276, allocations: 299.3 kB / 440.9 MB, free: 432 kB / 338.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002106/3.277, allocations: 50.56 kB / 440.9 MB, free: 384 kB / 338.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.072e-05/3.277, allocations: 19.98 kB / 441 MB, free: 364 kB / 338.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.178e-05/3.277, allocations: 0 / 441 MB, free: 364 kB / 338.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001722/3.277, allocations: 69.84 kB / 441 MB, free: 288 kB / 338.8 MB Notification: Performance of pre-optimization done (n=6): time 3.006e-06/3.277, allocations: 4 kB / 441 MB, free: 284 kB / 338.8 MB Notification: Performance of matching and sorting (n=8): time 0.0008033/3.278, allocations: 142 kB / 441.2 MB, free: 160 kB / 338.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.259e-05/3.278, allocations: 54.47 kB / 441.2 MB, free: 96 kB / 338.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004744/3.278, allocations: 196.1 kB / 441.4 MB, free: 15.92 MB / 354.8 MB Notification: Performance of collectPreVariables (initialization): time 4.75e-05/3.278, allocations: 28.7 kB / 441.4 MB, free: 15.89 MB / 354.8 MB Notification: Performance of collectInitialEqns (initialization): time 9.59e-05/3.279, allocations: 95.19 kB / 441.5 MB, free: 15.79 MB / 354.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.727e-05/3.279, allocations: 22.78 kB / 441.6 MB, free: 15.77 MB / 354.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.875e-05/3.279, allocations: 4 kB / 441.6 MB, free: 15.77 MB / 354.8 MB Notification: Performance of setup shared object (initialization): time 0.0002067/3.279, allocations: 325.3 kB / 441.9 MB, free: 15.45 MB / 354.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000155/3.279, allocations: 29.19 kB / 441.9 MB, free: 15.43 MB / 354.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001868/3.279, allocations: 54.33 kB / 442 MB, free: 15.39 MB / 354.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002089/3.279, allocations: 41.08 kB / 442 MB, free: 15.36 MB / 354.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/3.279, allocations: 3.938 kB / 442 MB, free: 15.36 MB / 354.8 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0007119/3.28, allocations: 130.1 kB / 442.1 MB, free: 15.25 MB / 354.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.803e-05/3.28, allocations: 8.031 kB / 442.1 MB, free: 15.24 MB / 354.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/3.28, allocations: 0 / 442.1 MB, free: 15.24 MB / 354.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.641e-05/3.28, allocations: 4 kB / 442.1 MB, free: 15.24 MB / 354.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002893/3.281, allocations: 27.27 kB / 442.2 MB, free: 15.21 MB / 354.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.145e-06/3.281, allocations: 0 / 442.2 MB, free: 15.21 MB / 354.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001882/3.281, allocations: 4 kB / 442.2 MB, free: 15.21 MB / 354.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.667e-05/3.281, allocations: 4 kB / 442.2 MB, free: 15.21 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.0001487/3.281, allocations: 109 kB / 442.3 MB, free: 15.09 MB / 354.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.374e-05/3.281, allocations: 11.81 kB / 442.3 MB, free: 15.08 MB / 354.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004752/3.282, allocations: 114.4 kB / 442.4 MB, free: 14.98 MB / 354.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/3.282, allocations: 0 / 442.4 MB, free: 14.98 MB / 354.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/3.282, allocations: 0 / 442.4 MB, free: 14.98 MB / 354.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.977e-06/3.282, allocations: 7.984 kB / 442.4 MB, free: 14.98 MB / 354.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009325/3.283, allocations: 381.4 kB / 442.8 MB, free: 14.6 MB / 354.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/3.283, allocations: 0 / 442.8 MB, free: 14.6 MB / 354.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001399/3.283, allocations: 11.98 kB / 442.8 MB, free: 14.59 MB / 354.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.646e-06/3.283, allocations: 4.031 kB / 442.8 MB, free: 14.58 MB / 354.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.499e-05/3.283, allocations: 4 kB / 442.8 MB, free: 14.58 MB / 354.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/3.283, allocations: 192 / 442.8 MB, free: 14.58 MB / 354.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.514e-06/3.283, allocations: 3.906 kB / 442.8 MB, free: 14.57 MB / 354.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005249/3.284, allocations: 209.9 kB / 443 MB, free: 14.36 MB / 354.8 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006972/3.284, allocations: 0.5809 MB / 443.6 MB, free: 13.77 MB / 354.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002001/3.285, allocations: 99.97 kB / 443.7 MB, free: 13.66 MB / 354.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.558e-05/3.285, allocations: 7.25 kB / 443.7 MB, free: 13.65 MB / 354.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002665/3.285, allocations: 3.984 kB / 443.7 MB, free: 13.65 MB / 354.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.61e-05/3.285, allocations: 4 kB / 443.7 MB, free: 13.64 MB / 354.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.29e-05/3.285, allocations: 8 kB / 443.7 MB, free: 13.64 MB / 354.8 MB Notification: Performance of sort global known variables: time 0.0002975/3.285, allocations: 161.5 kB / 443.9 MB, free: 13.5 MB / 354.8 MB Notification: Performance of remove unused functions: time 0.002437/3.288, allocations: 39.12 kB / 443.9 MB, free: 13.47 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.001812/3.29, allocations: 371.1 kB / 444.3 MB, free: 13.2 MB / 354.8 MB Notification: Performance of simCode: created initialization part: time 0.0005223/3.29, allocations: 112.7 kB / 444.4 MB, free: 13.12 MB / 354.8 MB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/3.29, allocations: 7.938 kB / 444.4 MB, free: 13.11 MB / 354.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001314/3.29, allocations: 22.69 kB / 444.4 MB, free: 13.1 MB / 354.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006097/3.291, allocations: 21.91 kB / 444.4 MB, free: 13.08 MB / 354.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009067/3.292, allocations: 191.8 kB / 444.6 MB, free: 12.89 MB / 354.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005818/3.293, allocations: 0.7347 MB / 445.4 MB, free: 12.13 MB / 354.8 MB Notification: Performance of SimCode: time 1.623e-06/3.293, allocations: 0 / 445.4 MB, free: 12.13 MB / 354.8 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Tables.CombiTimeTable.Test54_res.mat does not exist to compare? outputFormat=mat