Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test48,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Tables_CombiTimeTable_Test48",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.422/2.422, allocations: 235.1 MB / 242 MB, free: 9.734 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1733/2.595, allocations: 57.2 MB / 299.2 MB, free: 424 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3138/2.909, allocations: 54.86 MB / 354.1 MB, free: 13.39 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1912/3.1, allocations: 81.33 MB / 435.4 MB, free: 11.95 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003212/3.101, allocations: 71.91 kB / 435.5 MB, free: 11.88 MB / 378.7 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.0311/3.132, allocations: 4.952 MB / 440.4 MB, free: 6.855 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.895e-05/3.132, allocations: 8 kB / 440.4 MB, free: 6.848 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001316/3.132, allocations: 15.81 kB / 440.5 MB, free: 6.832 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007012/3.133, allocations: 222.7 kB / 440.7 MB, free: 6.574 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.856e-05/3.133, allocations: 4 kB / 440.7 MB, free: 6.57 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.685e-05/3.133, allocations: 8 kB / 440.7 MB, free: 6.562 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000155/3.133, allocations: 19.98 kB / 440.7 MB, free: 6.543 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001959/3.133, allocations: 53.69 kB / 440.8 MB, free: 6.484 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.237e-05/3.133, allocations: 3.984 kB / 440.8 MB, free: 6.48 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.939e-05/3.133, allocations: 3.938 kB / 440.8 MB, free: 6.477 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.151e-06/3.133, allocations: 0 / 440.8 MB, free: 6.477 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009247/3.134, allocations: 301.4 kB / 441.1 MB, free: 6.145 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002595/3.134, allocations: 54.69 kB / 441.1 MB, free: 6.082 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001156/3.135, allocations: 24.89 kB / 441.1 MB, free: 6.055 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.075e-05/3.135, allocations: 3.984 kB / 441.1 MB, free: 6.051 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002291/3.135, allocations: 63.34 kB / 441.2 MB, free: 5.977 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 5.07e-06/3.135, allocations: 0 / 441.2 MB, free: 5.977 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.001071/3.136, allocations: 145.1 kB / 441.3 MB, free: 5.828 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.143e-05/3.136, allocations: 55.41 kB / 441.4 MB, free: 5.762 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005936/3.137, allocations: 218.9 kB / 441.6 MB, free: 5.539 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.134e-05/3.137, allocations: 29.7 kB / 441.6 MB, free: 5.504 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.31e-05/3.137, allocations: 96.03 kB / 441.7 MB, free: 5.406 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.667e-05/3.137, allocations: 27.64 kB / 441.8 MB, free: 5.379 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.761e-05/3.137, allocations: 4 kB / 441.8 MB, free: 5.375 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001771/3.137, allocations: 326.8 kB / 442.1 MB, free: 5.047 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001633/3.137, allocations: 28 kB / 442.1 MB, free: 5.02 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001815/3.138, allocations: 57.64 kB / 442.2 MB, free: 4.957 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000186/3.138, allocations: 35.98 kB / 442.2 MB, free: 4.922 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.03e-06/3.138, allocations: 0 / 442.2 MB, free: 4.922 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006523/3.138, allocations: 141.4 kB / 442.3 MB, free: 4.777 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.542e-05/3.139, allocations: 4.094 kB / 442.3 MB, free: 4.773 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.177e-06/3.139, allocations: 3.938 kB / 442.4 MB, free: 4.77 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.886e-05/3.139, allocations: 4 kB / 442.4 MB, free: 4.766 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002629/3.139, allocations: 19.92 kB / 442.4 MB, free: 4.746 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/3.139, allocations: 0 / 442.4 MB, free: 4.746 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001813/3.139, allocations: 8.031 kB / 442.4 MB, free: 4.738 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.542e-05/3.139, allocations: 4 kB / 442.4 MB, free: 4.734 MB / 378.7 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.0001591/3.139, allocations: 108.9 kB / 442.5 MB, free: 4.621 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.577e-05/3.139, allocations: 19.81 kB / 442.5 MB, free: 4.602 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005572/3.14, allocations: 107 kB / 442.6 MB, free: 4.496 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.652e-06/3.14, allocations: 0 / 442.6 MB, free: 4.496 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/3.14, allocations: 0 / 442.6 MB, free: 4.496 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/3.14, allocations: 0 / 442.6 MB, free: 4.496 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001052/3.141, allocations: 403.8 kB / 443 MB, free: 4.055 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/3.141, allocations: 0 / 443 MB, free: 4.055 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001479/3.141, allocations: 8 kB / 443 MB, free: 4.047 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-05/3.141, allocations: 4 kB / 443 MB, free: 4.043 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.111e-05/3.141, allocations: 0 / 443 MB, free: 4.043 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.506e-06/3.141, allocations: 4.172 kB / 443 MB, free: 4.039 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.761e-06/3.141, allocations: 0 / 443 MB, free: 4.039 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004958/3.142, allocations: 221.8 kB / 443.2 MB, free: 3.797 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0007094/3.143, allocations: 0.5842 MB / 443.8 MB, free: 3.184 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002342/3.143, allocations: 108.9 kB / 443.9 MB, free: 3.055 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.877e-05/3.143, allocations: 3.906 kB / 443.9 MB, free: 3.051 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002673/3.143, allocations: 4 kB / 443.9 MB, free: 3.047 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.17e-05/3.143, allocations: 4.266 kB / 443.9 MB, free: 3.043 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.095e-05/3.143, allocations: 4 kB / 444 MB, free: 3.039 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0004632/3.144, allocations: 187 kB / 444.1 MB, free: 2.855 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002341/3.146, allocations: 47.86 kB / 444.2 MB, free: 2.809 MB / 378.7 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.001798/3.148, allocations: 359.5 kB / 444.5 MB, free: 2.539 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000549/3.149, allocations: 113.6 kB / 444.6 MB, free: 2.422 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.53e-06/3.149, allocations: 3.938 kB / 444.6 MB, free: 2.418 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001543/3.149, allocations: 31.98 kB / 444.7 MB, free: 2.387 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006597/3.15, allocations: 20.3 kB / 444.7 MB, free: 2.363 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001081/3.151, allocations: 225.1 kB / 444.9 MB, free: 2.117 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008891/3.152, allocations: 0.7383 MB / 445.7 MB, free: 1.355 MB / 378.7 MB Notification: Performance of SimCode: time 1.944e-06/3.152, allocations: 0 / 445.7 MB, free: 1.355 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat does not exist to compare? outputFormat=mat