Running command: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab") Notification: Performance of loadModel(ModelicaTest): time 2.352/2.352, allocations: 269 MB / 284.1 MB, free: 3.641 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.855e-05/2.848e-05, allocations: 4 kB / 349 MB, free: 10.75 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1303/0.1304, allocations: 61.9 MB / 410.9 MB, free: 12.85 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab): time 0.002297/0.1327, allocations: 1.264 MB / 412.2 MB, free: 11.57 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009814/0.1338, allocations: 367.7 kB / 412.5 MB, free: 11.21 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.894e-05/0.1338, allocations: 0 / 412.5 MB, free: 11.21 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001722/0.134, allocations: 19.91 kB / 412.6 MB, free: 11.19 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001387/0.1342, allocations: 23.84 kB / 412.6 MB, free: 11.16 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003925/0.1346, allocations: 95.78 kB / 412.7 MB, free: 11.07 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001417/0.1348, allocations: 39.95 kB / 412.7 MB, free: 11.03 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.581e-05/0.1349, allocations: 8 kB / 412.7 MB, free: 11.02 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.414e-05/0.1349, allocations: 15.92 kB / 412.7 MB, free: 11.01 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.804e-05/0.135, allocations: 11.94 kB / 412.8 MB, free: 11 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001375/0.1351, allocations: 35.92 kB / 412.8 MB, free: 10.96 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.411e-05/0.1352, allocations: 4 kB / 412.8 MB, free: 10.96 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.3e-05/0.1352, allocations: 19.91 kB / 412.8 MB, free: 10.94 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 1.837e-05/0.1353, allocations: 0 / 412.8 MB, free: 10.94 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001828/0.1355, allocations: 67.84 kB / 412.9 MB, free: 10.87 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.1355, allocations: 0 / 412.9 MB, free: 10.87 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.1355, allocations: 0 / 412.9 MB, free: 10.87 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.11e-05/0.1355, allocations: 0 / 412.9 MB, free: 10.87 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.0004857/0.136, allocations: 367.5 kB / 413.2 MB, free: 10.46 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/0.136, allocations: 8.031 kB / 413.3 MB, free: 10.46 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.876e-05/0.1361, allocations: 7.906 kB / 413.3 MB, free: 10.45 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002413/0.1364, allocations: 186.9 kB / 413.4 MB, free: 10.23 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.429e-05/0.1364, allocations: 4 kB / 413.4 MB, free: 10.22 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.862e-05/0.1364, allocations: 8 kB / 413.5 MB, free: 10.21 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000202/0.1366, allocations: 59.36 kB / 413.5 MB, free: 10.14 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/0.1367, allocations: 3.938 kB / 413.5 MB, free: 10.14 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.454e-05/0.1367, allocations: 4 kB / 413.5 MB, free: 10.14 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.1367, allocations: 4 kB / 413.5 MB, free: 10.13 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001529/0.1369, allocations: 31.97 kB / 413.6 MB, free: 10.1 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005484/0.1374, allocations: 300.8 kB / 413.8 MB, free: 9.758 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001896/0.1376, allocations: 46.56 kB / 413.9 MB, free: 9.703 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.303e-05/0.1377, allocations: 8 kB / 413.9 MB, free: 9.695 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.053e-05/0.1377, allocations: 34.56 kB / 413.9 MB, free: 9.652 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 2.144e-06/0.1377, allocations: 0 / 413.9 MB, free: 9.652 MB / 346.7 MB Notification: Performance of matching and sorting (n=7): time 0.0009288/0.1387, allocations: 197.3 kB / 414.1 MB, free: 9.453 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.637e-05/0.1387, allocations: 85.05 kB / 414.2 MB, free: 9.352 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001646/0.1389, allocations: 125 kB / 414.3 MB, free: 9.223 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.901e-05/0.139, allocations: 25.7 kB / 414.4 MB, free: 9.191 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.776e-05/0.139, allocations: 154.6 kB / 414.5 MB, free: 9.039 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.543e-05/0.1391, allocations: 23.66 kB / 414.5 MB, free: 9.016 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.146e-06/0.1391, allocations: 0 / 414.5 MB, free: 9.016 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001192/0.1392, allocations: 326.8 kB / 414.9 MB, free: 8.688 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001436/0.1394, allocations: 27.98 kB / 414.9 MB, free: 8.66 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001628/0.1396, allocations: 53.67 kB / 414.9 MB, free: 8.602 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001638/0.1397, allocations: 40.02 kB / 415 MB, free: 8.562 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.1398, allocations: 3.953 kB / 415 MB, free: 8.559 MB / 346.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003806/0.1402, allocations: 105.6 kB / 415.1 MB, free: 8.449 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.129e-05/0.1402, allocations: 8 kB / 415.1 MB, free: 8.441 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.1402, allocations: 0 / 415.1 MB, free: 8.441 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.1402, allocations: 0 / 415.1 MB, free: 8.441 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001734/0.1404, allocations: 27.92 kB / 415.1 MB, free: 8.414 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.1404, allocations: 0 / 415.1 MB, free: 8.414 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.526e-05/0.1405, allocations: 8 kB / 415.1 MB, free: 8.406 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.432e-05/0.1406, allocations: 4 kB / 415.1 MB, free: 8.402 MB / 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 () * 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 0.0001113/0.1407, allocations: 117.8 kB / 415.2 MB, free: 8.277 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.536e-05/0.1407, allocations: 11.86 kB / 415.2 MB, free: 8.266 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004228/0.1412, allocations: 118 kB / 415.4 MB, free: 8.145 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.1412, allocations: 0 / 415.4 MB, free: 8.145 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.1412, allocations: 0 / 415.4 MB, free: 8.145 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.1412, allocations: 0 / 415.4 MB, free: 8.145 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007565/0.142, allocations: 406.3 kB / 415.8 MB, free: 7.691 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.536e-06/0.142, allocations: 0 / 415.8 MB, free: 7.691 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000127/0.1421, allocations: 15.94 kB / 415.8 MB, free: 7.676 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.085e-06/0.1421, allocations: 4 kB / 415.8 MB, free: 7.672 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.175e-05/0.1422, allocations: 3.984 kB / 415.8 MB, free: 7.668 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/0.1422, allocations: 0 / 415.8 MB, free: 7.668 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.1422, allocations: 4 kB / 415.8 MB, free: 7.664 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003948/0.1426, allocations: 211.8 kB / 416 MB, free: 7.441 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.006e-05/0.1427, allocations: 89.02 kB / 416.1 MB, free: 7.336 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.79e-05/0.1427, allocations: 3.984 kB / 416.1 MB, free: 7.332 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001144/0.1428, allocations: 8 kB / 416.1 MB, free: 7.324 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.186e-05/0.1429, allocations: 15.92 kB / 416.1 MB, free: 7.309 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.03e-05/0.1429, allocations: 4 kB / 416.1 MB, free: 7.305 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001083/0.143, allocations: 103.2 kB / 416.2 MB, free: 7.203 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.81e-07/0.1431, allocations: 0 / 416.2 MB, free: 7.203 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003429/0.1434, allocations: 28 kB / 416.2 MB, free: 7.176 MB / 346.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 (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.001231/0.1446, allocations: 421.5 kB / 416.7 MB, free: 6.887 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004035/0.1451, allocations: 83.92 kB / 416.7 MB, free: 6.805 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.1451, allocations: 0 / 416.7 MB, free: 6.805 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001545/0.1453, allocations: 39.92 kB / 416.8 MB, free: 6.766 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003075/0.1456, allocations: 20.25 kB / 416.8 MB, free: 6.746 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005524/0.1462, allocations: 231.2 kB / 417 MB, free: 6.48 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002863/0.1465, allocations: 0.6887 MB / 417.7 MB, free: 5.766 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.498e-05/0.1465, allocations: 19.42 kB / 417.7 MB, free: 5.746 MB / 346.7 MB Notification: Performance of SimCode: time 1.042e-06/0.1466, allocations: 4 kB / 417.7 MB, free: 5.742 MB / 346.7 MB Notification: Performance of Templates: time 0.005115/0.1517, allocations: 1.772 MB / 419.5 MB, free: 3.965 MB / 346.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.makefile 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 -DENABLE_OMSI -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsi/" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsi/base" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsi/solver" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsicpp/" -I. "-I/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Resources/Data/Tables""-I/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" "-I/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Resources/Data/Tables" "-I/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/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:29: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test25_usertabFunctions.cpp:5: In file included from /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Resources/Data/Tables/usertab.c:14: /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/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}} ^ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/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}} ^ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/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}} ^ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/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:29: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test25_usertabFunctions.cpp:219:31: error: no matching function for call to 'ModelicaStandardTables_CombiTable1D_init2' externalCombiTable1D__ext = ModelicaStandardTables_CombiTable1D_init2(fileName_.c_str(), tableName_.c_str(), tmp18.getData(), table_.getDim(1), table_.getDim(2), ConstArray(columns_).getData(), columns_.getDim(1), smoothness__ext, extrapolation__ext, verboseRead__ext); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Resources/C-Sources/ModelicaStandardTables.h:269:23: note: candidate function not viable: 6th argument ('const int *') would lose const qualifier MODELICA_EXPORT void* ModelicaStandardTables_CombiTable1D_init2(_In_z_ const char* fileName, ^ In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test25_usertabCalcHelperMain.cpp:29: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test25_usertabFunctions.cpp:343: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 2 errors generated. : recipe for target 'OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test25_usertabCalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test25_usertabCalcHelperMain.o] Error 1