Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001457/0.001457, allocations: 199.2 kB / 16.78 MB, free: 5.035 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.323/1.323, allocations: 226.5 MB / 244.1 MB, free: 8.098 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007988/0.0007988, allocations: 108.7 kB / 296.1 MB, free: 6.875 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2974/0.2974, allocations: 44.82 MB / 393 MB, free: 35.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002566/0.0002566, allocations: 8 kB / 465.9 MB, free: 12.72 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.29/0.2903, allocations: 62.95 MB / 0.5165 GB, free: 37.04 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1069/0.3972, allocations: 89.45 MB / 0.6038 GB, free: 15.94 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002198/0.3975, allocations: 71.97 kB / 0.6039 GB, free: 15.87 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01218/0.4097, allocations: 4.728 MB / 0.6085 GB, free: 11.13 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.4097, allocations: 0 / 0.6085 GB, free: 11.13 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.193e-05/0.4097, allocations: 0 / 0.6085 GB, free: 11.13 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004223/0.4101, allocations: 415.4 kB / 0.6089 GB, free: 10.67 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.659e-05/0.4102, allocations: 8.875 kB / 0.6089 GB, free: 10.66 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.018e-05/0.4102, allocations: 8.844 kB / 0.6089 GB, free: 10.66 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002301/0.4105, allocations: 196.2 kB / 0.6091 GB, free: 10.43 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.556e-05/0.4105, allocations: 4.375 kB / 0.6091 GB, free: 10.42 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.996e-05/0.4105, allocations: 8.25 kB / 0.6091 GB, free: 10.41 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001416/0.4107, allocations: 67.97 kB / 0.6092 GB, free: 10.34 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.719e-06/0.4107, allocations: 192 / 0.6092 GB, free: 10.34 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.261e-05/0.4107, allocations: 3.938 kB / 0.6092 GB, free: 10.33 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.291e-06/0.4107, allocations: 4 kB / 0.6092 GB, free: 10.33 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.521e-05/0.4108, allocations: 27.97 kB / 0.6092 GB, free: 10.3 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004111/0.4113, allocations: 300.8 kB / 0.6095 GB, free: 9.957 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001082/0.4114, allocations: 58.48 kB / 0.6096 GB, free: 9.891 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.716e-05/0.4114, allocations: 24.94 kB / 0.6096 GB, free: 9.863 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.452e-05/0.4115, allocations: 0 / 0.6096 GB, free: 9.863 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.414e-05/0.4115, allocations: 38.5 kB / 0.6096 GB, free: 9.816 MB / 426.7 MB Notification: Performance of pre-optimization done (n=4): time 8.12e-07/0.4115, allocations: 0 / 0.6096 GB, free: 9.816 MB / 426.7 MB Notification: Performance of matching and sorting (n=7): time 0.0005987/0.4121, allocations: 197.2 kB / 0.6098 GB, free: 9.617 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.033e-05/0.4122, allocations: 77.11 kB / 0.6099 GB, free: 9.523 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001376/0.4123, allocations: 148.3 kB / 0.61 GB, free: 9.371 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.308e-05/0.4124, allocations: 33.7 kB / 0.6101 GB, free: 9.332 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.979e-05/0.4124, allocations: 84.14 kB / 0.6101 GB, free: 9.246 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.545e-05/0.4125, allocations: 27.64 kB / 0.6102 GB, free: 9.219 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.578e-06/0.4125, allocations: 0 / 0.6102 GB, free: 9.219 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001028/0.4126, allocations: 326.8 kB / 0.6105 GB, free: 8.891 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.389e-05/0.4127, allocations: 35.98 kB / 0.6105 GB, free: 8.855 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.75e-05/0.4128, allocations: 49.67 kB / 0.6106 GB, free: 8.801 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001579/0.4129, allocations: 81.08 kB / 0.6106 GB, free: 8.719 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.4129, allocations: 0 / 0.6106 GB, free: 8.719 MB / 426.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002248/0.4132, allocations: 117.5 kB / 0.6107 GB, free: 8.598 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.4132, allocations: 4 kB / 0.6108 GB, free: 8.594 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.4132, allocations: 0 / 0.6108 GB, free: 8.594 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.036e-05/0.4132, allocations: 4 kB / 0.6108 GB, free: 8.59 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.602e-05/0.4133, allocations: 19.98 kB / 0.6108 GB, free: 8.57 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.4133, allocations: 0 / 0.6108 GB, free: 8.57 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.898e-05/0.4134, allocations: 8 kB / 0.6108 GB, free: 8.562 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.519e-05/0.4134, allocations: 4 kB / 0.6108 GB, free: 8.559 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * 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 7.921e-05/0.4135, allocations: 125.8 kB / 0.6109 GB, free: 8.426 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.175e-05/0.4135, allocations: 11.91 kB / 0.6109 GB, free: 8.414 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002546/0.4138, allocations: 122.3 kB / 0.611 GB, free: 8.289 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.4138, allocations: 0 / 0.611 GB, free: 8.289 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.4138, allocations: 3.938 kB / 0.611 GB, free: 8.285 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.4138, allocations: 0 / 0.611 GB, free: 8.285 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004767/0.4143, allocations: 414.3 kB / 0.6114 GB, free: 7.824 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.4143, allocations: 288 / 0.6114 GB, free: 7.824 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.293e-05/0.4144, allocations: 16 kB / 0.6114 GB, free: 7.809 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.4144, allocations: 0 / 0.6114 GB, free: 7.809 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.447e-06/0.4144, allocations: 7.922 kB / 0.6115 GB, free: 7.801 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.4144, allocations: 7.938 kB / 0.6115 GB, free: 7.793 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.4144, allocations: 0 / 0.6115 GB, free: 7.793 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002419/0.4147, allocations: 211.3 kB / 0.6117 GB, free: 7.57 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.492e-05/0.4148, allocations: 93 kB / 0.6118 GB, free: 7.461 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.81e-05/0.4148, allocations: 4 kB / 0.6118 GB, free: 7.457 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.626e-05/0.4149, allocations: 7.938 kB / 0.6118 GB, free: 7.449 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.549e-05/0.4149, allocations: 7.984 kB / 0.6118 GB, free: 7.441 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.479e-06/0.4149, allocations: 0 / 0.6118 GB, free: 7.441 MB / 426.7 MB Notification: Performance of sorting global known variables: time 8.96e-05/0.415, allocations: 115.3 kB / 0.6119 GB, free: 7.328 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.415, allocations: 0 / 0.6119 GB, free: 7.328 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002858/0.4153, allocations: 51.92 kB / 0.6119 GB, free: 7.277 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.001012/0.4163, allocations: 0.4999 MB / 0.6124 GB, free: 6.945 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002282/0.4166, allocations: 83.83 kB / 0.6125 GB, free: 6.863 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.4166, allocations: 0 / 0.6125 GB, free: 6.863 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.912e-05/0.4167, allocations: 39.97 kB / 0.6125 GB, free: 6.824 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002885/0.417, allocations: 12 kB / 0.6126 GB, free: 6.812 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004198/0.4174, allocations: 230.8 kB / 0.6128 GB, free: 6.555 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002635/0.4177, allocations: 0.6965 MB / 0.6135 GB, free: 5.832 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.589e-05/0.4177, allocations: 19.44 kB / 0.6135 GB, free: 5.812 MB / 426.7 MB Notification: Performance of SimCode: time 3e-07/0.4178, allocations: 0 / 0.6135 GB, free: 5.812 MB / 426.7 MB Notification: Performance of Templates: time 0.00386/0.4216, allocations: 2.107 MB / 0.6155 GB, free: 3.711 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.makefile make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.makefile clang++ -std=c++14 -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Resources/Data/Tables""-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Resources/Data/Tables" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test25_usertabCalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test25_usertabCalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test25_usertabCalcHelperMain.cpp:28: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test25_usertabFunctions.cpp:5: In file included from /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Resources/Data/Tables/usertab.c:14: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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}} ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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}} ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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}} ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test25_usertabCalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test25_usertabFunctions.cpp:420:18: error: no matching function for call to 'mydummyfunc' dummy_y__ext = mydummyfunc(ConstArray(dummy_u_).getData()); ^~~~~~~~~~~ ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test25_usertabFunctions.cpp:6:8: note: candidate function not viable: 1st argument ('const double *') would lose const qualifier double mydummyfunc(double* dummy_in) { ^ 4 warnings and 1 error generated. make: *** [: OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test25_usertabCalcHelperMain.o] Error 1