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.518/2.518, allocations: 234.9 MB / 250.1 MB, free: 9.938 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.383e-05/3.383e-05, allocations: 4 kB / 308 MB, free: 15.91 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3851/0.3851, allocations: 54.86 MB / 362.9 MB, free: 12.07 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test66_usertab): time 0.002602/0.3878, allocations: 1.366 MB / 364.2 MB, free: 10.92 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001636/0.3895, allocations: 0.6723 MB / 364.9 MB, free: 10.39 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001081/0.3896, allocations: 1.156 kB / 364.9 MB, free: 10.39 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002543/0.3899, allocations: 15.05 kB / 364.9 MB, free: 10.39 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001851/0.3901, allocations: 40.44 kB / 365 MB, free: 10.35 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002148/0.3903, allocations: 46.25 kB / 365 MB, free: 10.32 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001807/0.3905, allocations: 45.34 kB / 365 MB, free: 10.29 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.789e-05/0.3906, allocations: 6.469 kB / 365 MB, free: 10.28 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001049/0.3907, allocations: 32.7 kB / 365.1 MB, free: 10.26 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.475e-05/0.3908, allocations: 30.39 kB / 365.1 MB, free: 10.24 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000187/0.391, allocations: 44.95 kB / 365.2 MB, free: 10.23 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.104e-05/0.3911, allocations: 5.281 kB / 365.2 MB, free: 10.23 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.863e-05/0.3912, allocations: 20.36 kB / 365.2 MB, free: 10.21 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.153e-05/0.3912, allocations: 4.594 kB / 365.2 MB, free: 10.21 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002628/0.3915, allocations: 100.6 kB / 365.3 MB, free: 10.15 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.3915, allocations: 0 / 365.3 MB, free: 10.15 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.735e-06/0.3915, allocations: 0 / 365.3 MB, free: 10.15 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.075e-05/0.3915, allocations: 0.9375 kB / 365.3 MB, free: 10.15 MB / 298.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.0006359/0.3922, allocations: 436.8 kB / 365.7 MB, free: 9.684 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.831e-05/0.3922, allocations: 8.906 kB / 365.7 MB, free: 9.684 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.753e-05/0.3923, allocations: 8.531 kB / 365.7 MB, free: 9.68 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003114/0.3926, allocations: 209.1 kB / 365.9 MB, free: 9.449 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.447e-05/0.3927, allocations: 2.5 kB / 365.9 MB, free: 9.449 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.23e-05/0.3927, allocations: 7.594 kB / 365.9 MB, free: 9.445 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002492/0.393, allocations: 80.45 kB / 366 MB, free: 9.371 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.482e-05/0.393, allocations: 3.984 kB / 366 MB, free: 9.367 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.395e-05/0.393, allocations: 0.9688 kB / 366 MB, free: 9.367 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.795e-06/0.393, allocations: 5.172 kB / 366 MB, free: 9.363 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001236/0.3932, allocations: 22.95 kB / 366 MB, free: 9.355 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005025/0.3937, allocations: 309.7 kB / 366.4 MB, free: 9.027 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002316/0.3939, allocations: 63.05 kB / 366.4 MB, free: 8.98 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.1e-05/0.394, allocations: 1.281 kB / 366.4 MB, free: 8.98 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002218/0.3942, allocations: 75.11 kB / 366.5 MB, free: 8.91 MB / 298.7 MB Notification: Performance of pre-optimization done (n=7): time 2.785e-06/0.3942, allocations: 0 / 366.5 MB, free: 8.91 MB / 298.7 MB Notification: Performance of matching and sorting (n=9): time 0.0008292/0.3951, allocations: 193.5 kB / 366.7 MB, free: 8.797 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.489e-05/0.3951, allocations: 78.39 kB / 366.8 MB, free: 8.703 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001834/0.3953, allocations: 137.8 kB / 366.9 MB, free: 8.582 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.665e-05/0.3954, allocations: 27.86 kB / 366.9 MB, free: 8.551 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.925e-05/0.3955, allocations: 160.8 kB / 367.1 MB, free: 8.395 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.444e-05/0.3955, allocations: 27.89 kB / 367.1 MB, free: 8.371 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.012e-05/0.3956, allocations: 1.062 kB / 367.1 MB, free: 8.371 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001245/0.3957, allocations: 321.4 kB / 367.4 MB, free: 8.051 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001303/0.3958, allocations: 31.67 kB / 367.4 MB, free: 8.035 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001513/0.396, allocations: 59.14 kB / 367.5 MB, free: 7.992 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001687/0.3962, allocations: 70.78 kB / 367.6 MB, free: 7.938 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.3962, allocations: 0 / 367.6 MB, free: 7.938 MB / 298.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004318/0.3966, allocations: 160.7 kB / 367.7 MB, free: 7.828 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.95e-05/0.3967, allocations: 36.56 kB / 367.8 MB, free: 7.793 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.3967, allocations: 1.125 kB / 367.8 MB, free: 7.793 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.737e-05/0.3968, allocations: 5.594 kB / 367.8 MB, free: 7.789 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001636/0.3969, allocations: 18.12 kB / 367.8 MB, free: 7.785 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.877e-06/0.397, allocations: 5.062 kB / 367.8 MB, free: 7.781 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001147/0.3971, allocations: 20.08 kB / 367.8 MB, free: 7.766 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.049e-05/0.3971, allocations: 4.688 kB / 367.8 MB, free: 7.766 MB / 298.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.0001499/0.3973, allocations: 117.2 kB / 367.9 MB, free: 7.648 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.491e-05/0.3973, allocations: 11.67 kB / 367.9 MB, free: 7.641 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003992/0.3977, allocations: 115.9 kB / 368.1 MB, free: 7.566 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/0.3978, allocations: 5.469 kB / 368.1 MB, free: 7.562 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.3978, allocations: 0 / 368.1 MB, free: 7.562 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.3978, allocations: 1.469 kB / 368.1 MB, free: 7.562 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007534/0.3986, allocations: 403.1 kB / 368.5 MB, free: 7.172 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/0.3986, allocations: 1.469 kB / 368.5 MB, free: 7.172 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.607e-05/0.3987, allocations: 9.312 kB / 368.5 MB, free: 7.172 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.24e-06/0.3987, allocations: 3.938 kB / 368.5 MB, free: 7.168 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.886e-05/0.3987, allocations: 6.891 kB / 368.5 MB, free: 7.164 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.888e-06/0.3987, allocations: 4.031 kB / 368.5 MB, free: 7.16 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.788e-06/0.3987, allocations: 1.5 kB / 368.5 MB, free: 7.16 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003801/0.3991, allocations: 221.1 kB / 368.7 MB, free: 6.965 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.161e-05/0.3992, allocations: 93.59 kB / 368.8 MB, free: 6.859 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.565e-05/0.3993, allocations: 2.094 kB / 368.8 MB, free: 6.859 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001173/0.3994, allocations: 10.3 kB / 368.8 MB, free: 6.852 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.218e-05/0.3995, allocations: 11.41 kB / 368.8 MB, free: 6.844 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.054e-05/0.3995, allocations: 8.203 kB / 368.8 MB, free: 6.84 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001234/0.3996, allocations: 106 kB / 368.9 MB, free: 6.754 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.3996, allocations: 0 / 368.9 MB, free: 6.754 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004178/0.4001, allocations: 43.42 kB / 369 MB, free: 6.738 MB / 298.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.00152/0.4016, allocations: 0.4911 MB / 369.5 MB, free: 6.406 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004876/0.4021, allocations: 158.7 kB / 369.6 MB, free: 6.293 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.4022, allocations: 1 kB / 369.6 MB, free: 6.293 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001301/0.4023, allocations: 38.91 kB / 369.7 MB, free: 6.273 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003534/0.4027, allocations: 18.58 kB / 369.7 MB, free: 6.266 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006047/0.4033, allocations: 240.9 kB / 369.9 MB, free: 6.043 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003002/0.4036, allocations: 0.699 MB / 370.6 MB, free: 5.336 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.216e-05/0.4037, allocations: 16 kB / 370.6 MB, free: 5.328 MB / 298.7 MB Notification: Performance of SimCode: time 1.092e-06/0.4037, allocations: 0.9375 kB / 370.6 MB, free: 5.328 MB / 298.7 MB Notification: Performance of Templates: time 0.006606/0.4103, allocations: 2.258 MB / 372.9 MB, free: 3.438 MB / 298.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 -DENABLE_OMSI -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsi/" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsi/base" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsi/solver" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsicpp/" -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:29: 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:29: ./OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test66_usertabFunctions.cpp:205: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:30: ./OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test66_usertabInitialize.cpp:306:42: 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:309:15: warning: magnitude of floating-point constant too large for type 'double'; maximum is 1.7976931348623157E+308 [-Wliteral-range] tmp9 = 1.797693134862316e+308; ^ In file included from OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test66_usertabCalcHelperMain.cpp:36: ./OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.cpp:206: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:209:15: warning: magnitude of floating-point constant too large for type 'double'; maximum is 1.7976931348623157E+308 [-Wliteral-range] tmp18 = 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