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.002254/0.002254, allocations: 180.1 kB / 8.365 MB, free: 0.7109 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.05/2.05, allocations: 205.3 MB / 214.1 MB, free: 14.13 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001096/0.001096, allocations: 89.44 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3007/0.3007, allocations: 43.49 MB / 353.6 MB, free: 2.273 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.137e-05/2.147e-05, allocations: 4 kB / 418.2 MB, free: 41.05 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3949/0.3949, allocations: 58.85 MB / 477.1 MB, free: 5.262 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1582/0.5532, allocations: 85.85 MB / 0.5497 GB, free: 13.46 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000287/0.5536, allocations: 75.45 kB / 0.5498 GB, free: 13.39 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.01587/0.5694, allocations: 3.555 MB / 0.5533 GB, free: 9.84 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.963e-06/0.5695, allocations: 4 kB / 0.5533 GB, free: 9.836 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.309e-05/0.5695, allocations: 0 / 0.5533 GB, free: 9.836 MB / 395.1 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.000498/0.57, allocations: 370.3 kB / 0.5536 GB, free: 9.43 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.999e-05/0.5701, allocations: 8.031 kB / 0.5536 GB, free: 9.422 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.583e-05/0.5702, allocations: 7.906 kB / 0.5536 GB, free: 9.414 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002981/0.5705, allocations: 194.8 kB / 0.5538 GB, free: 9.184 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.458e-05/0.5705, allocations: 4 kB / 0.5538 GB, free: 9.18 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.946e-05/0.5705, allocations: 0 / 0.5538 GB, free: 9.18 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001008/0.5706, allocations: 23.98 kB / 0.5539 GB, free: 9.156 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001395/0.5708, allocations: 59.39 kB / 0.5539 GB, free: 9.086 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.5708, allocations: 0 / 0.5539 GB, free: 9.086 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.337e-05/0.5708, allocations: 4 kB / 0.5539 GB, free: 9.082 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.5709, allocations: 3.938 kB / 0.5539 GB, free: 9.078 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005066/0.5714, allocations: 261.4 kB / 0.5542 GB, free: 8.785 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.28e-05/0.5715, allocations: 34.56 kB / 0.5542 GB, free: 8.742 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.929e-05/0.5715, allocations: 12.86 kB / 0.5542 GB, free: 8.727 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.715e-05/0.5716, allocations: 8 kB / 0.5542 GB, free: 8.719 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.559e-05/0.5716, allocations: 30.56 kB / 0.5543 GB, free: 8.68 MB / 395.1 MB Notification: Performance of pre-optimization done (n=4): time 1.693e-06/0.5716, allocations: 0 / 0.5543 GB, free: 8.68 MB / 395.1 MB Notification: Performance of matching and sorting (n=6): time 0.0005729/0.5722, allocations: 117.3 kB / 0.5544 GB, free: 8.559 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.842e-05/0.5723, allocations: 77.11 kB / 0.5544 GB, free: 8.465 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001697/0.5725, allocations: 125 kB / 0.5546 GB, free: 8.336 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.17e-05/0.5725, allocations: 25.7 kB / 0.5546 GB, free: 8.305 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.167e-05/0.5726, allocations: 162.5 kB / 0.5547 GB, free: 8.145 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.021e-05/0.5726, allocations: 19.66 kB / 0.5548 GB, free: 8.125 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.701e-06/0.5727, allocations: 0 / 0.5548 GB, free: 8.125 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001559/0.5728, allocations: 318.8 kB / 0.5551 GB, free: 7.805 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.294e-05/0.5729, allocations: 12 kB / 0.5551 GB, free: 7.793 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.974e-05/0.573, allocations: 25.7 kB / 0.5551 GB, free: 7.762 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.945e-05/0.573, allocations: 24.11 kB / 0.5551 GB, free: 7.738 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.5731, allocations: 4.031 kB / 0.5551 GB, free: 7.734 MB / 395.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001576/0.5732, allocations: 61.62 kB / 0.5552 GB, free: 7.668 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/0.5733, allocations: 4 kB / 0.5552 GB, free: 7.664 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.5733, allocations: 4 kB / 0.5552 GB, free: 7.66 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.5733, allocations: 0 / 0.5552 GB, free: 7.66 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001667/0.5735, allocations: 16.23 kB / 0.5552 GB, free: 7.645 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.02e-06/0.5735, allocations: 0 / 0.5552 GB, free: 7.645 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.164e-05/0.5736, allocations: 11.94 kB / 0.5552 GB, free: 7.633 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.097e-05/0.5736, allocations: 4 kB / 0.5552 GB, free: 7.629 MB / 395.1 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 9.681e-05/0.5737, allocations: 108.9 kB / 0.5553 GB, free: 7.516 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.285e-05/0.5738, allocations: 7.906 kB / 0.5553 GB, free: 7.508 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002391/0.574, allocations: 86.22 kB / 0.5554 GB, free: 7.422 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.747e-06/0.5741, allocations: 4 kB / 0.5554 GB, free: 7.418 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.5741, allocations: 0 / 0.5554 GB, free: 7.418 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.5741, allocations: 0 / 0.5554 GB, free: 7.418 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004871/0.5746, allocations: 311.1 kB / 0.5557 GB, free: 7.07 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.558e-06/0.5746, allocations: 8 kB / 0.5557 GB, free: 7.062 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001283/0.5747, allocations: 16 kB / 0.5557 GB, free: 7.047 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.368e-06/0.5748, allocations: 3.984 kB / 0.5557 GB, free: 7.043 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.027e-05/0.5748, allocations: 3.938 kB / 0.5557 GB, free: 7.039 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.5748, allocations: 0 / 0.5557 GB, free: 7.039 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.5748, allocations: 0 / 0.5557 GB, free: 7.039 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000213/0.575, allocations: 167.4 kB / 0.5559 GB, free: 6.859 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.481e-05/0.5751, allocations: 89 kB / 0.556 GB, free: 6.754 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.676e-05/0.5752, allocations: 7.938 kB / 0.556 GB, free: 6.746 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001144/0.5753, allocations: 4 kB / 0.556 GB, free: 6.742 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.105e-05/0.5753, allocations: 3.984 kB / 0.556 GB, free: 6.738 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.013e-05/0.5754, allocations: 4 kB / 0.556 GB, free: 6.734 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0001032/0.5755, allocations: 107.3 kB / 0.5561 GB, free: 6.629 MB / 395.1 MB Notification: Performance of sort global known variables: time 2.395e-06/0.5755, allocations: 0 / 0.5561 GB, free: 6.629 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0003826/0.5759, allocations: 31.94 kB / 0.5561 GB, free: 6.598 MB / 395.1 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.001149/0.577, allocations: 392.8 kB / 0.5565 GB, free: 6.254 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0001778/0.5772, allocations: 39.98 kB / 0.5566 GB, free: 6.215 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.5773, allocations: 0 / 0.5566 GB, free: 6.215 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 6.166e-05/0.5773, allocations: 23.94 kB / 0.5566 GB, free: 6.191 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002999/0.5776, allocations: 19.8 kB / 0.5566 GB, free: 6.172 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004043/0.5781, allocations: 129.5 kB / 0.5567 GB, free: 6.016 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003435/0.5784, allocations: 0.704 MB / 0.5574 GB, free: 5.285 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.464e-05/0.5785, allocations: 15.44 kB / 0.5574 GB, free: 5.27 MB / 395.1 MB Notification: Performance of SimCode: time 7.31e-07/0.5785, allocations: 0 / 0.5574 GB, free: 5.27 MB / 395.1 MB Notification: Performance of Templates: time 0.005281/0.5838, allocations: 1.714 MB / 0.5591 GB, free: 3.559 MB / 395.1 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/OMCompiler/build/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/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'