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.001961/0.001961, allocations: 179.3 kB / 16.41 MB, free: 5.707 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.803/1.803, allocations: 205.4 MB / 222.5 MB, free: 9.109 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.0009652/0.0009654, allocations: 85.34 kB / 270.9 MB, free: 8.348 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3062/0.3062, allocations: 43.55 MB / 362.7 MB, free: 51.92 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003393/0.0003393, allocations: 12 kB / 431.4 MB, free: 5.918 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1463/0.1467, allocations: 58.85 MB / 490.2 MB, free: 10.98 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test25_usertab): time 0.003207/0.15, allocations: 1.267 MB / 491.5 MB, free: 9.703 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001084/0.1511, allocations: 331.7 kB / 491.8 MB, free: 9.375 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.229e-05/0.1512, allocations: 0 / 491.8 MB, free: 9.375 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002852/0.1515, allocations: 11.94 kB / 491.8 MB, free: 9.363 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002784/0.1518, allocations: 31.91 kB / 491.9 MB, free: 9.332 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004468/0.1523, allocations: 87.81 kB / 492 MB, free: 9.246 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.00018/0.1525, allocations: 51.84 kB / 492 MB, free: 9.195 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001293/0.1526, allocations: 12.17 kB / 492 MB, free: 9.184 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.127e-05/0.1527, allocations: 19.92 kB / 492 MB, free: 9.164 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.672e-05/0.1528, allocations: 23.84 kB / 492.1 MB, free: 9.141 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.302e-05/0.1529, allocations: 0 / 492.1 MB, free: 9.141 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001724/0.153, allocations: 43.98 kB / 492.1 MB, free: 9.098 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.821e-05/0.1531, allocations: 15.92 kB / 492.1 MB, free: 9.082 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3e-05/0.1531, allocations: 25.7 kB / 492.1 MB, free: 9.051 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001978/0.1534, allocations: 71.83 kB / 492.2 MB, free: 8.98 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.583e-06/0.1534, allocations: 0 / 492.2 MB, free: 8.98 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.1534, allocations: 0 / 492.2 MB, free: 8.98 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.682e-06/0.1534, allocations: 4 kB / 492.2 MB, free: 8.977 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.0006383/0.1541, allocations: 379.4 kB / 492.6 MB, free: 8.559 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.995e-05/0.1541, allocations: 8.031 kB / 492.6 MB, free: 8.551 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.341e-05/0.1542, allocations: 11.86 kB / 492.6 MB, free: 8.539 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002963/0.1545, allocations: 182.9 kB / 492.8 MB, free: 8.32 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.033e-05/0.1545, allocations: 7.984 kB / 492.8 MB, free: 8.312 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.752e-05/0.1546, allocations: 4 kB / 492.8 MB, free: 8.309 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002635/0.1549, allocations: 67.34 kB / 492.9 MB, free: 8.23 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.41e-05/0.1549, allocations: 0 / 492.9 MB, free: 8.23 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.884e-05/0.1549, allocations: 4 kB / 492.9 MB, free: 8.227 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.1549, allocations: 4 kB / 492.9 MB, free: 8.223 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001966/0.1552, allocations: 35.92 kB / 492.9 MB, free: 8.188 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000594/0.1558, allocations: 289 kB / 493.2 MB, free: 7.855 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001793/0.156, allocations: 42.5 kB / 493.2 MB, free: 7.805 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001022/0.1561, allocations: 20.94 kB / 493.3 MB, free: 7.781 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.379e-05/0.1561, allocations: 3.984 kB / 493.3 MB, free: 7.777 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.086e-05/0.1562, allocations: 38.56 kB / 493.3 MB, free: 7.73 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 2.554e-06/0.1562, allocations: 0 / 493.3 MB, free: 7.73 MB / 378.7 MB Notification: Performance of matching and sorting (n=6): time 0.001073/0.1573, allocations: 173.3 kB / 493.5 MB, free: 7.555 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.053e-05/0.1574, allocations: 81.11 kB / 493.5 MB, free: 7.457 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002124/0.1576, allocations: 129.7 kB / 493.7 MB, free: 7.32 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.41e-05/0.1577, allocations: 33.7 kB / 493.7 MB, free: 7.281 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.243e-05/0.1578, allocations: 92.06 kB / 493.8 MB, free: 7.188 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.561e-05/0.1578, allocations: 19.75 kB / 493.8 MB, free: 7.168 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.212e-06/0.1578, allocations: 3.938 kB / 493.8 MB, free: 7.164 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001499/0.158, allocations: 318.8 kB / 494.1 MB, free: 6.844 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001514/0.1582, allocations: 31.98 kB / 494.2 MB, free: 6.812 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001661/0.1583, allocations: 33.7 kB / 494.2 MB, free: 6.773 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001877/0.1586, allocations: 32.17 kB / 494.2 MB, free: 6.742 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.1586, allocations: 4.031 kB / 494.2 MB, free: 6.738 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004114/0.159, allocations: 105.5 kB / 494.3 MB, free: 6.629 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.33e-05/0.159, allocations: 4 kB / 494.3 MB, free: 6.625 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/0.1591, allocations: 3.953 kB / 494.3 MB, free: 6.621 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.1591, allocations: 0 / 494.3 MB, free: 6.621 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001653/0.1593, allocations: 15.98 kB / 494.4 MB, free: 6.605 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.1593, allocations: 4 kB / 494.4 MB, free: 6.602 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.03e-05/0.1594, allocations: 11.98 kB / 494.4 MB, free: 6.59 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.864e-05/0.1594, allocations: 0 / 494.4 MB, free: 6.59 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 () * Number of clocked 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 0.0001274/0.1596, allocations: 121.8 kB / 494.5 MB, free: 6.461 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.63e-05/0.1596, allocations: 7.906 kB / 494.5 MB, free: 6.453 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000451/0.1601, allocations: 114 kB / 494.6 MB, free: 6.34 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.12e-05/0.1601, allocations: 8.234 kB / 494.6 MB, free: 6.332 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/0.1602, allocations: 0 / 494.6 MB, free: 6.332 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.223e-06/0.1602, allocations: 3.984 kB / 494.6 MB, free: 6.328 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000809/0.161, allocations: 366.5 kB / 495 MB, free: 5.914 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.161, allocations: 0 / 495 MB, free: 5.914 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00012/0.1612, allocations: 19.94 kB / 495 MB, free: 5.895 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.444e-06/0.1612, allocations: 3.953 kB / 495 MB, free: 5.891 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.12e-05/0.1612, allocations: 0 / 495 MB, free: 5.891 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.771e-06/0.1612, allocations: 3.984 kB / 495 MB, free: 5.887 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.1612, allocations: 0 / 495 MB, free: 5.887 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004452/0.1617, allocations: 199.6 kB / 495.2 MB, free: 5.676 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.141e-05/0.1618, allocations: 85.02 kB / 495.3 MB, free: 5.574 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.293e-05/0.1618, allocations: 7.953 kB / 495.3 MB, free: 5.566 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001493/0.162, allocations: 11.98 kB / 495.3 MB, free: 5.555 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.267e-05/0.162, allocations: 0 / 495.3 MB, free: 5.555 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.314e-05/0.1621, allocations: 8 kB / 495.3 MB, free: 5.547 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001322/0.1622, allocations: 103.8 kB / 495.4 MB, free: 5.445 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.585e-06/0.1622, allocations: 0 / 495.4 MB, free: 5.445 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004761/0.1627, allocations: 27.94 kB / 495.4 MB, free: 5.418 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 () * Number of clocked 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.001588/0.1643, allocations: 456.4 kB / 495.9 MB, free: 5.016 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003859/0.1647, allocations: 63.95 kB / 495.9 MB, free: 4.953 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.1648, allocations: 0 / 495.9 MB, free: 4.953 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002018/0.165, allocations: 35.98 kB / 496 MB, free: 4.918 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005308/0.1655, allocations: 19.92 kB / 496 MB, free: 4.898 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006267/0.1662, allocations: 214.1 kB / 496.2 MB, free: 4.656 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003519/0.1665, allocations: 0.6887 MB / 496.9 MB, free: 3.941 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.142e-05/0.1667, allocations: 23.42 kB / 496.9 MB, free: 3.918 MB / 378.7 MB Notification: Performance of SimCode: time 5.21e-07/0.1667, allocations: 0 / 496.9 MB, free: 3.918 MB / 378.7 MB Notification: Performance of Templates: time 0.005533/0.1722, allocations: 1.688 MB / 498.6 MB, free: 2.23 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 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 3.2.3+maint.om/Resources/Data/Tables" -I"." -I"." -I"/var/lib/jenkins/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 In file included from OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test25_usertabCalcHelperMain.cpp:28: In file included from ./OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test25_usertabFunctions.cpp:5: In file included from /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Resources/Data/Tables/usertab.c:14: /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] {"TestTable_1D_Time", TestTable_1D_Time, 0, {6, 2}} ^ /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] ,{"TestTable_1D_a" , TestTable_1D_a, 1, {4, 2}} ^ /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] ,{"TestTable_1D_b" , TestTable_1D_b, 1, {5, 3}} ^ /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] ,{"TestTable_2D" , TestTable_2D, 2, {5, 4}} ^ In file included from OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test25_usertabCalcHelperMain.cpp:28: ./OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test25_usertabFunctions.cpp:279:18: error: no matching function for call to 'mydummyfunc' dummy_y__ext = mydummyfunc(ConstArray(dummy_u_).getData()); ^~~~~~~~~~~ ./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 double mydummyfunc(double* dummy_in) { ^ 4 warnings and 1 error generated. make: *** [: OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test25_usertabCalcHelperMain.o] Error 1