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.0009919/0.0009919, allocations: 200.5 kB / 15.8 MB, free: 6.305 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.243/1.243, allocations: 226.5 MB / 243.1 MB, free: 12.39 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007608/0.0007611, allocations: 98.75 kB / 295.1 MB, free: 4.441 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.203/0.203, allocations: 44.83 MB / 392 MB, free: 11.36 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002411/0.0002411, allocations: 8 kB / 464.7 MB, free: 68.09 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09288/0.09313, allocations: 62.95 MB / 0.5153 GB, free: 5.117 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab): time 0.001377/0.09455, allocations: 1.295 MB / 0.5166 GB, free: 3.805 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006408/0.0952, allocations: 0.4992 MB / 0.5171 GB, free: 3.301 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.546e-05/0.09527, allocations: 0 / 0.5171 GB, free: 3.301 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001827/0.09547, allocations: 31.84 kB / 0.5171 GB, free: 3.27 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001622/0.09564, allocations: 55.83 kB / 0.5172 GB, free: 3.215 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002173/0.09586, allocations: 98.94 kB / 0.5173 GB, free: 3.121 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001012/0.09597, allocations: 59.77 kB / 0.5173 GB, free: 3.062 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.419e-05/0.09606, allocations: 19.98 kB / 0.5173 GB, free: 3.043 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.029e-05/0.09611, allocations: 15.92 kB / 0.5173 GB, free: 3.027 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.833e-05/0.09617, allocations: 31.83 kB / 0.5174 GB, free: 2.996 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.384e-05/0.0962, allocations: 4 kB / 0.5174 GB, free: 2.992 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001151/0.09632, allocations: 83.91 kB / 0.5175 GB, free: 2.91 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 2.85e-05/0.09635, allocations: 11.97 kB / 0.5175 GB, free: 2.898 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2e-05/0.09638, allocations: 37.64 kB / 0.5175 GB, free: 2.855 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001324/0.09652, allocations: 99.84 kB / 0.5176 GB, free: 2.758 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.09653, allocations: 0 / 0.5176 GB, free: 2.758 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.09653, allocations: 0 / 0.5176 GB, free: 2.758 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.395e-05/0.09656, allocations: 4 kB / 0.5176 GB, free: 2.754 MB / 346.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.0003459/0.09692, allocations: 391.4 kB / 0.518 GB, free: 2.324 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.968e-05/0.09695, allocations: 8.031 kB / 0.518 GB, free: 2.316 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.434e-05/0.09699, allocations: 7.906 kB / 0.518 GB, free: 2.309 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001468/0.09714, allocations: 198.8 kB / 0.5182 GB, free: 2.074 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.006e-05/0.09716, allocations: 8 kB / 0.5182 GB, free: 2.066 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.606e-05/0.09718, allocations: 3.938 kB / 0.5182 GB, free: 2.062 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001198/0.09731, allocations: 71.39 kB / 0.5183 GB, free: 1.98 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.09733, allocations: 0 / 0.5183 GB, free: 1.98 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.456e-06/0.09734, allocations: 0 / 0.5183 GB, free: 1.98 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.657e-06/0.09735, allocations: 0 / 0.5183 GB, free: 1.98 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.089e-05/0.09743, allocations: 27.98 kB / 0.5183 GB, free: 1.953 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003234/0.09776, allocations: 304.8 kB / 0.5186 GB, free: 1.605 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.786e-05/0.09786, allocations: 46.56 kB / 0.5186 GB, free: 1.551 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.009e-05/0.09792, allocations: 24.94 kB / 0.5187 GB, free: 1.523 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.949e-05/0.09795, allocations: 4 kB / 0.5187 GB, free: 1.52 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.498e-05/0.09797, allocations: 38.5 kB / 0.5187 GB, free: 1.473 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.613e-06/0.09798, allocations: 0 / 0.5187 GB, free: 1.473 MB / 346.7 MB Notification: Performance of matching and sorting (n=7): time 0.0005096/0.09849, allocations: 197.2 kB / 0.5189 GB, free: 1.273 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.67e-05/0.09853, allocations: 85.05 kB / 0.519 GB, free: 1.172 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.928e-05/0.09863, allocations: 147.8 kB / 0.5191 GB, free: 1.02 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.127e-06/0.09865, allocations: 25.7 kB / 0.5191 GB, free: 0.9883 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.756e-05/0.09868, allocations: 96.12 kB / 0.5192 GB, free: 0.8906 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.713e-05/0.0987, allocations: 27.56 kB / 0.5192 GB, free: 0.8633 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.637e-06/0.09871, allocations: 0 / 0.5192 GB, free: 0.8633 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 3.862e-05/0.09876, allocations: 322.8 kB / 0.5196 GB, free: 0.5391 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.762e-05/0.09884, allocations: 39.95 kB / 0.5196 GB, free: 0.5 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.553e-05/0.09892, allocations: 45.7 kB / 0.5196 GB, free: 460 kB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.825e-05/0.09901, allocations: 44 kB / 0.5197 GB, free: 416 kB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.09902, allocations: 0 / 0.5197 GB, free: 416 kB / 346.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001802/0.0992, allocations: 109.6 kB / 0.5198 GB, free: 300 kB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.044e-05/0.09922, allocations: 4 kB / 0.5198 GB, free: 296 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.09923, allocations: 320 / 0.5198 GB, free: 296 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.021e-05/0.09925, allocations: 0 / 0.5198 GB, free: 296 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.783e-05/0.09934, allocations: 27.92 kB / 0.5198 GB, free: 268 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.09935, allocations: 4 kB / 0.5198 GB, free: 264 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.387e-05/0.0994, allocations: 4 kB / 0.5198 GB, free: 260 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.254e-06/0.09941, allocations: 11.92 kB / 0.5198 GB, free: 248 kB / 346.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 5.654e-05/0.09948, allocations: 121.8 kB / 0.5199 GB, free: 116 kB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.78e-05/0.09951, allocations: 7.906 kB / 0.52 GB, free: 108 kB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002396/0.09975, allocations: 122.3 kB / 0.5201 GB, free: 15.98 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.09977, allocations: 0 / 0.5201 GB, free: 15.98 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.09977, allocations: 0 / 0.5201 GB, free: 15.98 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.09978, allocations: 0 / 0.5201 GB, free: 15.98 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004511/0.1002, allocations: 406.4 kB / 0.5205 GB, free: 15.53 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/0.1003, allocations: 4 kB / 0.5205 GB, free: 15.52 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.249e-05/0.1003, allocations: 16 kB / 0.5205 GB, free: 15.51 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.1003, allocations: 0 / 0.5205 GB, free: 15.51 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.067e-05/0.1003, allocations: 11.92 kB / 0.5205 GB, free: 15.5 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.1004, allocations: 0 / 0.5205 GB, free: 15.5 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.1004, allocations: 7.953 kB / 0.5205 GB, free: 15.49 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002436/0.1006, allocations: 203.7 kB / 0.5207 GB, free: 15.27 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.205e-05/0.1007, allocations: 88.94 kB / 0.5208 GB, free: 15.17 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.372e-05/0.1007, allocations: 8 kB / 0.5208 GB, free: 15.16 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.262e-05/0.1008, allocations: 11.98 kB / 0.5208 GB, free: 15.15 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.595e-05/0.1008, allocations: 11.94 kB / 0.5208 GB, free: 15.14 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.168e-06/0.1008, allocations: 3.938 kB / 0.5208 GB, free: 15.13 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.62e-05/0.1009, allocations: 113.3 kB / 0.5209 GB, free: 15.02 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1009, allocations: 0 / 0.5209 GB, free: 15.02 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002471/0.1012, allocations: 43.98 kB / 0.521 GB, free: 14.98 MB / 362.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.0008821/0.1021, allocations: 489.1 kB / 0.5214 GB, free: 14.66 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002075/0.1023, allocations: 83.88 kB / 0.5215 GB, free: 14.58 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1023, allocations: 0 / 0.5215 GB, free: 14.58 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.5e-05/0.1024, allocations: 39.92 kB / 0.5215 GB, free: 14.54 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000269/0.1027, allocations: 15.98 kB / 0.5216 GB, free: 14.52 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003555/0.103, allocations: 226.7 kB / 0.5218 GB, free: 14.27 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002144/0.1032, allocations: 0.6965 MB / 0.5225 GB, free: 13.55 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.788e-05/0.1033, allocations: 19.44 kB / 0.5225 GB, free: 13.53 MB / 362.7 MB Notification: Performance of SimCode: time 2.4e-07/0.1033, allocations: 4 kB / 0.5225 GB, free: 13.52 MB / 362.7 MB Notification: Performance of Templates: time 0.003307/0.1066, allocations: 2.104 MB / 0.5245 GB, free: 11.42 MB / 362.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++ -Winvalid-pch -O0 -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/jenkins/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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/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