Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test25_usertab.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1D.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|realExpression.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test25_usertab") translateModel(ModelicaTest.Tables.CombiTable1D.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|realExpression.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test25_usertab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002303/0.002303, allocations: 180.9 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.138/2.138, allocations: 205.2 MB / 219.4 MB, free: 14.29 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001083/0.001083, allocations: 94.58 kB / 267.5 MB, free: 14.11 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2822/0.2822, allocations: 43.48 MB / 359.1 MB, free: 12.26 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 4.343e-05/4.356e-05, allocations: 4 kB / 425.3 MB, free: 23.39 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.124/0.1241, allocations: 58.85 MB / 484.1 MB, free: 12.49 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5241/0.6483, allocations: 86.5 MB / 0.5573 GB, free: 1.117 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002584/0.6486, allocations: 72.31 kB / 0.5573 GB, free: 1.082 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01517/0.6638, allocations: 3.588 MB / 0.5608 GB, free: 14.05 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.6639, allocations: 0 / 0.5608 GB, free: 14.05 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.57e-05/0.6639, allocations: 3.984 kB / 0.5608 GB, free: 14.04 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004483/0.6643, allocations: 368.9 kB / 0.5612 GB, free: 13.64 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.08e-05/0.6644, allocations: 12.02 kB / 0.5612 GB, free: 13.63 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.923e-05/0.6645, allocations: 7.906 kB / 0.5612 GB, free: 13.62 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000263/0.6647, allocations: 190 kB / 0.5614 GB, free: 13.4 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.183e-05/0.6648, allocations: 0 / 0.5614 GB, free: 13.4 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.091e-05/0.6648, allocations: 11.84 kB / 0.5614 GB, free: 13.39 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001693/0.665, allocations: 65.84 kB / 0.5615 GB, free: 13.32 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.665, allocations: 0 / 0.5615 GB, free: 13.32 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.502e-05/0.665, allocations: 0 / 0.5615 GB, free: 13.32 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.309e-06/0.6651, allocations: 4 kB / 0.5615 GB, free: 13.32 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.415e-05/0.6652, allocations: 17.94 kB / 0.5615 GB, free: 13.31 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005222/0.6657, allocations: 291 kB / 0.5618 GB, free: 12.99 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.418e-05/0.6658, allocations: 37.12 kB / 0.5618 GB, free: 12.95 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.672e-05/0.6659, allocations: 16.23 kB / 0.5618 GB, free: 12.94 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.825e-05/0.6659, allocations: 11.98 kB / 0.5618 GB, free: 12.93 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.004e-05/0.666, allocations: 30.56 kB / 0.5619 GB, free: 12.89 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 2.044e-06/0.666, allocations: 0 / 0.5619 GB, free: 12.89 MB / 378.7 MB Notification: Performance of matching and sorting (n=6): time 0.0005748/0.6665, allocations: 120.2 kB / 0.562 GB, free: 12.78 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.774e-05/0.6666, allocations: 84.44 kB / 0.5621 GB, free: 12.68 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000157/0.6668, allocations: 118.9 kB / 0.5622 GB, free: 12.57 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.16e-05/0.6668, allocations: 29.7 kB / 0.5622 GB, free: 12.53 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.329e-05/0.6669, allocations: 160.3 kB / 0.5624 GB, free: 12.38 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.689e-05/0.667, allocations: 22.64 kB / 0.5624 GB, free: 12.36 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.543e-06/0.667, allocations: 3.938 kB / 0.5624 GB, free: 12.36 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001156/0.6671, allocations: 310.8 kB / 0.5627 GB, free: 12.04 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.168e-05/0.6672, allocations: 18.81 kB / 0.5627 GB, free: 12.03 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.345e-05/0.6673, allocations: 31.52 kB / 0.5627 GB, free: 12 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.652e-05/0.6674, allocations: 11.44 kB / 0.5627 GB, free: 11.99 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.6674, allocations: 0 / 0.5627 GB, free: 11.99 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001741/0.6676, allocations: 74.52 kB / 0.5628 GB, free: 11.93 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.981e-05/0.6676, allocations: 4 kB / 0.5628 GB, free: 11.92 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.6676, allocations: 0 / 0.5628 GB, free: 11.92 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/0.6676, allocations: 4 kB / 0.5628 GB, free: 11.92 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001676/0.6678, allocations: 16.23 kB / 0.5628 GB, free: 11.9 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.437e-06/0.6678, allocations: 0 / 0.5628 GB, free: 11.9 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.973e-05/0.6679, allocations: 15.89 kB / 0.5628 GB, free: 11.89 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.331e-05/0.668, allocations: 7.938 kB / 0.5628 GB, free: 11.88 MB / 378.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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.869e-05/0.6681, allocations: 107.5 kB / 0.563 GB, free: 11.77 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.287e-05/0.6681, allocations: 7.906 kB / 0.563 GB, free: 11.76 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002431/0.6684, allocations: 86.16 kB / 0.563 GB, free: 11.69 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.6684, allocations: 0 / 0.563 GB, free: 11.69 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.6684, allocations: 0 / 0.563 GB, free: 11.69 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.6684, allocations: 0 / 0.563 GB, free: 11.69 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005051/0.6689, allocations: 350.3 kB / 0.5634 GB, free: 11.32 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.227e-06/0.669, allocations: 4 kB / 0.5634 GB, free: 11.32 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001228/0.6691, allocations: 15.98 kB / 0.5634 GB, free: 11.3 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.6691, allocations: 0 / 0.5634 GB, free: 11.3 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.424e-05/0.6691, allocations: 4 kB / 0.5634 GB, free: 11.3 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.995e-06/0.6692, allocations: 3.938 kB / 0.5634 GB, free: 11.3 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.028e-06/0.6692, allocations: 3.953 kB / 0.5634 GB, free: 11.29 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002111/0.6694, allocations: 169.1 kB / 0.5636 GB, free: 11.12 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.944e-05/0.6695, allocations: 88.19 kB / 0.5637 GB, free: 11.02 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.567e-05/0.6695, allocations: 8 kB / 0.5637 GB, free: 11.02 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001108/0.6696, allocations: 4 kB / 0.5637 GB, free: 11.01 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.023e-05/0.6697, allocations: 7.984 kB / 0.5637 GB, free: 11 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.52e-05/0.6697, allocations: 4.094 kB / 0.5637 GB, free: 11 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001054/0.6698, allocations: 109.1 kB / 0.5638 GB, free: 10.9 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.41e-07/0.6698, allocations: 0 / 0.5638 GB, free: 10.9 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003524/0.6702, allocations: 33.69 kB / 0.5638 GB, free: 10.88 MB / 378.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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.001227/0.6714, allocations: 408.6 kB / 0.5642 GB, free: 10.52 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001797/0.6716, allocations: 41.48 kB / 0.5642 GB, free: 10.49 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.6717, allocations: 0 / 0.5642 GB, free: 10.49 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.153e-05/0.6717, allocations: 21.38 kB / 0.5643 GB, free: 10.48 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002949/0.672, allocations: 20.19 kB / 0.5643 GB, free: 10.46 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004136/0.6725, allocations: 144.3 kB / 0.5644 GB, free: 10.31 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000288/0.6728, allocations: 0.7003 MB / 0.5651 GB, free: 9.586 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.638e-05/0.6729, allocations: 19.42 kB / 0.5651 GB, free: 9.566 MB / 378.7 MB Notification: Performance of SimCode: time 8.41e-07/0.6729, allocations: 0 / 0.5651 GB, free: 9.566 MB / 378.7 MB Notification: Performance of Templates: time 0.005004/0.6779, allocations: 1.723 MB / 0.5668 GB, free: 7.848 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test25_usertab.makefile make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test25_usertab.makefile b'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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Resources/Data/Tables" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Resources/Data/Tables" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test25_usertabCalcHelperMain.o OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test25_usertabCalcHelperMain.cpp\nIn file included from OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test25_usertabCalcHelperMain.cpp:28:\nIn file included from ./OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test25_usertabFunctions.cpp:5:\nIn file included from /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Resources/Data/Tables/usertab.c:14:\n/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Resources/Data/Tables/usertab.h:75:13: warning: ISO C++11 does not allow conversion from string literal to \'char *\' [-Wwritable-strings]\n {"TestTable_1D_Time", TestTable_1D_Time, 0, {6, 2}}\n ^\n/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Resources/Data/Tables/usertab.h:76:13: warning: ISO C++11 does not allow conversion from string literal to \'char *\' [-Wwritable-strings]\n ,{"TestTable_1D_a" , TestTable_1D_a, 1, {4, 2}}\n ^\n/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Resources/Data/Tables/usertab.h:77:13: warning: ISO C++11 does not allow conversion from string literal to \'char *\' [-Wwritable-strings]\n ,{"TestTable_1D_b" , TestTable_1D_b, 1, {5, 3}}\n ^\n/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Resources/Data/Tables/usertab.h:78:13: warning: ISO C++11 does not allow conversion from string literal to \'char *\' [-Wwritable-strings]\n ,{"TestTable_2D" , TestTable_2D, 2, {5, 4}}\n ^\nIn file included from OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test25_usertabCalcHelperMain.cpp:28:\n./OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test25_usertabFunctions.cpp:300:18: error: no matching function for call to \'mydummyfunc\'\n dummy_y__ext = mydummyfunc(ConstArray(dummy_u_).getData());\n ^~~~~~~~~~~\n./OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test25_usertabFunctions.cpp:6:8: note: candidate function not viable: 1st argument (\'const double *\') would lose const qualifier\ndouble mydummyfunc(double* dummy_in) {\n ^\n4 warnings and 1 error generated.\n: recipe for target \'OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test25_usertabCalcHelperMain.o\' failed\nmake: *** [OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test25_usertabCalcHelperMain.o] Error 1\n'