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.0008804/0.0008807, allocations: 181.9 kB / 17.42 MB, free: 4.375 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.242/1.242, allocations: 205.4 MB / 223.6 MB, free: 8.938 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.0007226/0.0007226, allocations: 78.44 kB / 271.9 MB, free: 8.246 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.3318/0.3318, allocations: 43.55 MB / 363.8 MB, free: 51.84 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003789/0.000379, allocations: 16 kB / 432.6 MB, free: 5.633 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1178/0.1182, allocations: 58.85 MB / 491.5 MB, free: 10.69 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3263/0.4446, allocations: 86.64 MB / 0.5645 GB, free: 15.6 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002709/0.4449, allocations: 74.75 kB / 0.5646 GB, free: 15.53 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009976/0.4549, allocations: 3.59 MB / 0.5681 GB, free: 11.97 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.455, allocations: 0 / 0.5681 GB, free: 11.97 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.071e-05/0.455, allocations: 3.562 kB / 0.5681 GB, free: 11.97 MB / 394.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.0004633/0.4554, allocations: 384.4 kB / 0.5685 GB, free: 11.55 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.587e-05/0.4555, allocations: 12.03 kB / 0.5685 GB, free: 11.54 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.325e-05/0.4556, allocations: 8.844 kB / 0.5685 GB, free: 11.53 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002442/0.4558, allocations: 188.3 kB / 0.5687 GB, free: 11.31 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.514e-05/0.4558, allocations: 4.359 kB / 0.5687 GB, free: 11.3 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.179e-05/0.4559, allocations: 4.375 kB / 0.5687 GB, free: 11.3 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001745/0.456, allocations: 67.91 kB / 0.5688 GB, free: 11.22 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.4561, allocations: 192 / 0.5688 GB, free: 11.22 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.547e-05/0.4561, allocations: 9 kB / 0.5688 GB, free: 11.21 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.568e-06/0.4561, allocations: 0 / 0.5688 GB, free: 11.21 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001066/0.4562, allocations: 35.97 kB / 0.5688 GB, free: 11.18 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004326/0.4566, allocations: 284.9 kB / 0.5691 GB, free: 10.85 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001038/0.4568, allocations: 50.44 kB / 0.5691 GB, free: 10.79 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.287e-05/0.4568, allocations: 20.94 kB / 0.5691 GB, free: 10.77 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.799e-05/0.4569, allocations: 8 kB / 0.5691 GB, free: 10.76 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.085e-05/0.4569, allocations: 34.55 kB / 0.5692 GB, free: 10.72 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.4569, allocations: 0 / 0.5692 GB, free: 10.72 MB / 394.7 MB Notification: Performance of matching and sorting (n=6): time 0.0006022/0.4575, allocations: 173.3 kB / 0.5693 GB, free: 10.54 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.146e-05/0.4576, allocations: 77.11 kB / 0.5694 GB, free: 10.45 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001265/0.4577, allocations: 129.8 kB / 0.5695 GB, free: 10.31 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.083e-05/0.4577, allocations: 33.7 kB / 0.5696 GB, free: 10.27 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.837e-05/0.4578, allocations: 96.03 kB / 0.5697 GB, free: 10.18 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.77e-05/0.4578, allocations: 23.73 kB / 0.5697 GB, free: 10.15 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.86e-06/0.4578, allocations: 3.938 kB / 0.5697 GB, free: 10.15 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001226/0.458, allocations: 319 kB / 0.57 GB, free: 9.828 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.448e-05/0.458, allocations: 31.97 kB / 0.57 GB, free: 9.797 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.09e-05/0.4581, allocations: 38.7 kB / 0.5701 GB, free: 9.754 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001425/0.4583, allocations: 68.77 kB / 0.5701 GB, free: 9.684 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.82e-07/0.4583, allocations: 0 / 0.5701 GB, free: 9.684 MB / 394.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001905/0.4585, allocations: 103.3 kB / 0.5702 GB, free: 9.578 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.4585, allocations: 4 kB / 0.5702 GB, free: 9.574 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.73e-06/0.4585, allocations: 0 / 0.5702 GB, free: 9.574 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.4585, allocations: 4 kB / 0.5702 GB, free: 9.57 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.565e-05/0.4586, allocations: 15.98 kB / 0.5703 GB, free: 9.555 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.4587, allocations: 0 / 0.5703 GB, free: 9.555 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.306e-05/0.4587, allocations: 7.984 kB / 0.5703 GB, free: 9.547 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.355e-05/0.4587, allocations: 8 kB / 0.5703 GB, free: 9.539 MB / 394.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.0001101/0.4589, allocations: 118.5 kB / 0.5704 GB, free: 9.414 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.153e-05/0.4589, allocations: 7.906 kB / 0.5704 GB, free: 9.406 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002618/0.4592, allocations: 114 kB / 0.5705 GB, free: 9.289 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.4592, allocations: 4 kB / 0.5705 GB, free: 9.285 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.4592, allocations: 0.875 kB / 0.5705 GB, free: 9.285 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.4592, allocations: 0 / 0.5705 GB, free: 9.285 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004645/0.4597, allocations: 370.4 kB / 0.5709 GB, free: 8.867 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.4597, allocations: 384 / 0.5709 GB, free: 8.867 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.143e-05/0.4597, allocations: 23.94 kB / 0.5709 GB, free: 8.844 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.4598, allocations: 0 / 0.5709 GB, free: 8.844 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.211e-05/0.4598, allocations: 11.98 kB / 0.5709 GB, free: 8.832 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.4598, allocations: 0 / 0.5709 GB, free: 8.832 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.074e-06/0.4598, allocations: 3.984 kB / 0.5709 GB, free: 8.828 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002391/0.46, allocations: 203.4 kB / 0.5711 GB, free: 8.613 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.238e-05/0.4601, allocations: 85.02 kB / 0.5712 GB, free: 8.512 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.754e-05/0.4601, allocations: 0 / 0.5712 GB, free: 8.512 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.11e-05/0.4602, allocations: 7.984 kB / 0.5712 GB, free: 8.504 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.065e-05/0.4603, allocations: 15.88 kB / 0.5712 GB, free: 8.488 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.71e-06/0.4603, allocations: 0 / 0.5712 GB, free: 8.488 MB / 394.7 MB Notification: Performance of sorting global known variables: time 7.963e-05/0.4604, allocations: 107.2 kB / 0.5713 GB, free: 8.383 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4604, allocations: 0 / 0.5713 GB, free: 8.383 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000266/0.4606, allocations: 35.94 kB / 0.5713 GB, free: 8.348 MB / 394.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.001039/0.4617, allocations: 455.8 kB / 0.5718 GB, free: 7.996 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002288/0.4619, allocations: 71.95 kB / 0.5718 GB, free: 7.926 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.4619, allocations: 0 / 0.5718 GB, free: 7.926 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001006/0.462, allocations: 31.92 kB / 0.5719 GB, free: 7.895 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002917/0.4623, allocations: 15.98 kB / 0.5719 GB, free: 7.879 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004857/0.4628, allocations: 204.6 kB / 0.5721 GB, free: 7.652 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003285/0.4632, allocations: 0.6926 MB / 0.5727 GB, free: 6.934 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.734e-05/0.4633, allocations: 15.42 kB / 0.5728 GB, free: 6.922 MB / 394.7 MB Notification: Performance of SimCode: time 2.4e-07/0.4633, allocations: 0 / 0.5728 GB, free: 6.922 MB / 394.7 MB Notification: Performance of Templates: time 0.004366/0.4676, allocations: 1.705 MB / 0.5744 GB, free: 5.223 MB / 394.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++ -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 3.2.3+maint.om/Resources/Data/Tables" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/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