Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.|d_t_new.y|realExpression.y",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test66_usertab") Notification: Performance of loadModel(ModelicaTest): time 2.207/2.207, allocations: 235 MB / 247.6 MB, free: 14.37 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.51e-05/3.56e-05, allocations: 4 kB / 304.9 MB, free: 5.668 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.328/0.328, allocations: 54.87 MB / 359.8 MB, free: 2.664 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.127/0.455, allocations: 82.15 MB / 441.9 MB, free: 14.84 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002282/0.4553, allocations: 71.95 kB / 442 MB, free: 14.77 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/jenkins/ws/OpenModelicaLibraryTestingWork/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/jenkins/ws/OpenModelicaLibraryTestingWork/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: Performance of FrontEnd - DAE generated: time 0.0186/0.4739, allocations: 4.359 MB / 446.4 MB, free: 10.45 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.435e-06/0.4739, allocations: 0 / 446.4 MB, free: 10.45 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.162e-05/0.474, allocations: 0 / 446.4 MB, free: 10.45 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006086/0.4746, allocations: 461.4 kB / 446.8 MB, free: 9.938 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/0.4746, allocations: 12.03 kB / 446.8 MB, free: 9.926 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.271e-05/0.4747, allocations: 7.906 kB / 446.8 MB, free: 9.918 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003262/0.475, allocations: 196.8 kB / 447 MB, free: 9.688 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.296e-05/0.4751, allocations: 4 kB / 447 MB, free: 9.684 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.545e-05/0.4751, allocations: 3.906 kB / 447 MB, free: 9.68 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001792/0.4753, allocations: 71.39 kB / 447.1 MB, free: 9.598 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.388e-05/0.4753, allocations: 3.938 kB / 447.1 MB, free: 9.594 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.886e-05/0.4754, allocations: 7.953 kB / 447.1 MB, free: 9.586 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.142e-06/0.4754, allocations: 4 kB / 447.1 MB, free: 9.582 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.466e-05/0.4755, allocations: 23.98 kB / 447.1 MB, free: 9.559 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004807/0.476, allocations: 308.8 kB / 447.4 MB, free: 9.207 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001634/0.4762, allocations: 54.56 kB / 447.5 MB, free: 9.145 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.221e-05/0.4762, allocations: 24.98 kB / 447.5 MB, free: 9.117 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.635e-05/0.4763, allocations: 6.672 kB / 447.5 MB, free: 9.113 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001659/0.4765, allocations: 78.03 kB / 447.6 MB, free: 9.027 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 2.941e-06/0.4765, allocations: 0 / 447.6 MB, free: 9.027 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.0005818/0.4771, allocations: 161.3 kB / 447.7 MB, free: 8.863 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.94e-05/0.4772, allocations: 77.11 kB / 447.8 MB, free: 8.77 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001822/0.4773, allocations: 139 kB / 448 MB, free: 8.625 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.023e-05/0.4774, allocations: 29.7 kB / 448 MB, free: 8.59 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.847e-05/0.4775, allocations: 166.5 kB / 448.2 MB, free: 8.426 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.893e-05/0.4776, allocations: 31.64 kB / 448.2 MB, free: 8.395 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.453e-06/0.4776, allocations: 0 / 448.2 MB, free: 8.395 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001643/0.4778, allocations: 318.8 kB / 448.5 MB, free: 8.074 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001045/0.4779, allocations: 28 kB / 448.5 MB, free: 8.047 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001144/0.478, allocations: 59.34 kB / 448.6 MB, free: 7.98 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001246/0.4781, allocations: 61.69 kB / 448.6 MB, free: 7.914 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.986e-06/0.4782, allocations: 3.953 kB / 448.6 MB, free: 7.91 MB / 378.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003466/0.4785, allocations: 167.2 kB / 448.8 MB, free: 7.734 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.883e-05/0.4786, allocations: 37.69 kB / 448.8 MB, free: 7.691 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.75e-06/0.4786, allocations: 0 / 448.8 MB, free: 7.691 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/0.4786, allocations: 0 / 448.8 MB, free: 7.691 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001386/0.4788, allocations: 23.92 kB / 448.9 MB, free: 7.668 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.299e-06/0.4788, allocations: 0 / 448.9 MB, free: 7.668 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.547e-05/0.4789, allocations: 8 kB / 448.9 MB, free: 7.66 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.812e-05/0.4789, allocations: 8 kB / 448.9 MB, free: 7.652 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 (12): * Single equations (assignments): 11 * 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.0001174/0.4791, allocations: 117.6 kB / 449 MB, free: 7.531 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.606e-05/0.4791, allocations: 12.8 kB / 449 MB, free: 7.52 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00033/0.4794, allocations: 118.9 kB / 449.1 MB, free: 7.398 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.35e-06/0.4795, allocations: 4 kB / 449.1 MB, free: 7.395 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.456e-06/0.4795, allocations: 0 / 449.1 MB, free: 7.395 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.987e-06/0.4795, allocations: 4.734 kB / 449.1 MB, free: 7.391 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006483/0.4802, allocations: 403.2 kB / 449.5 MB, free: 6.938 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.478e-06/0.4802, allocations: 1.062 kB / 449.5 MB, free: 6.938 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.338e-05/0.4803, allocations: 15.98 kB / 449.5 MB, free: 6.922 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.054e-05/0.4803, allocations: 4 kB / 449.5 MB, free: 6.918 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.664e-05/0.4803, allocations: 7.938 kB / 449.6 MB, free: 6.91 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.4e-06/0.4803, allocations: 0 / 449.6 MB, free: 6.91 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.735e-06/0.4803, allocations: 4 kB / 449.6 MB, free: 6.906 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003257/0.4807, allocations: 223.3 kB / 449.8 MB, free: 6.664 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001055/0.4808, allocations: 101 kB / 449.9 MB, free: 6.547 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.185e-05/0.4809, allocations: 0 / 449.9 MB, free: 6.547 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001229/0.481, allocations: 8 kB / 449.9 MB, free: 6.539 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.839e-05/0.481, allocations: 7.984 kB / 449.9 MB, free: 6.531 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.899e-05/0.4811, allocations: 4 kB / 449.9 MB, free: 6.527 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001294/0.4812, allocations: 118.5 kB / 450 MB, free: 6.414 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.82e-07/0.4812, allocations: 0 / 450 MB, free: 6.414 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004443/0.4817, allocations: 59.84 kB / 450.1 MB, free: 6.355 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 (10): * Single equations (assignments): 8 * 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.001771/0.4835, allocations: 0.4987 MB / 450.6 MB, free: 5.934 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003379/0.4838, allocations: 147.4 kB / 450.7 MB, free: 5.777 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.4838, allocations: 3.938 kB / 450.7 MB, free: 5.773 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.512e-05/0.4839, allocations: 39.98 kB / 450.8 MB, free: 5.734 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003134/0.4843, allocations: 23.16 kB / 450.8 MB, free: 5.715 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004499/0.4847, allocations: 161.4 kB / 450.9 MB, free: 5.523 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003906/0.4852, allocations: 0.7043 MB / 451.6 MB, free: 4.793 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.683e-05/0.4852, allocations: 15.44 kB / 451.7 MB, free: 4.781 MB / 378.7 MB Notification: Performance of SimCode: time 1.641e-06/0.4852, allocations: 0 / 451.7 MB, free: 4.781 MB / 378.7 MB Notification: Performance of Templates: time 0.005303/0.4906, allocations: 2.226 MB / 453.9 MB, free: 2.559 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.makefile clang++ -fopenmp=libomp -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=2 -DSUNDIALS_MINOR_VERSION=6 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. "-I/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Resources/Data/Tables" -I"." -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" "-I/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Resources/Data/Tables" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test66_usertabCalcHelperMain.o OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test66_usertabCalcHelperMain.cpp In file included from OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test66_usertabCalcHelperMain.cpp:28: In file included from ./OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test66_usertabFunctions.cpp:5: In file included from /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Resources/Data/Tables/usertab.c:14: /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Resources/Data/Tables/usertab.h:75:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"TestTable_1D_Time", TestTable_1D_Time, 0, {6, 2}} ^ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Resources/Data/Tables/usertab.h:76:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] ,{"TestTable_1D_a" , TestTable_1D_a, 1, {4, 2}} ^ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Resources/Data/Tables/usertab.h:77:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] ,{"TestTable_1D_b" , TestTable_1D_b, 1, {5, 3}} ^ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Resources/Data/Tables/usertab.h:78:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] ,{"TestTable_2D" , TestTable_2D, 2, {5, 4}} ^ In file included from OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test66_usertabCalcHelperMain.cpp:28: ./OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test66_usertabFunctions.cpp:364:18: error: no matching function for call to 'mydummyfunc' dummy_y__ext = mydummyfunc(ConstArray(dummy_u_).getData()); ^~~~~~~~~~~ ./OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test66_usertabFunctions.cpp:6:8: note: candidate function not viable: 1st argument ('const double *') would lose const qualifier double mydummyfunc(double* dummy_in) { ^ In file included from OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test66_usertabCalcHelperMain.cpp:29: ./OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test66_usertabInitialize.cpp:301:39: warning: magnitude of floating-point constant too large for type 'double'; maximum is 1.7976931348623157E+308 [-Wliteral-range] if (_t_new_P_nextTimeEventScaled_ < 1.797693134862316e+308) { ^ ./OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test66_usertabInitialize.cpp:304:13: warning: magnitude of floating-point constant too large for type 'double'; maximum is 1.7976931348623157E+308 [-Wliteral-range] tmp19 = 1.797693134862316e+308; ^ In file included from OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test66_usertabCalcHelperMain.cpp:33: ./OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.cpp:208:41: warning: magnitude of floating-point constant too large for type 'double'; maximum is 1.7976931348623157E+308 [-Wliteral-range] if (_t_new_P_nextTimeEventScaled_ < 1.797693134862316e+308) { ^ ./OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.cpp:211:14: warning: magnitude of floating-point constant too large for type 'double'; maximum is 1.7976931348623157E+308 [-Wliteral-range] tmp1 = 1.797693134862316e+308; ^ 8 warnings and 1 error generated. : recipe for target 'OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test66_usertabCalcHelperMain.o' failed make: *** [OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test66_usertabCalcHelperMain.o] Error 1