Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.|d_t_new.y|realExpression.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test66_usertab") Notification: Performance of loadModel(ModelicaTest): time 2.488/2.488, allocations: 269 MB / 284.1 MB, free: 3.652 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.366e-05/3.36e-05, allocations: 7.984 kB / 349 MB, free: 10.77 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.131/0.1311, allocations: 61.9 MB / 410.9 MB, free: 12.86 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test66_usertab): time 0.002655/0.1338, allocations: 1.396 MB / 412.3 MB, free: 11.45 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001816/0.1357, allocations: 0.7452 MB / 413.1 MB, free: 10.7 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.778e-05/0.1358, allocations: 0 / 413.1 MB, free: 10.7 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002488/0.1361, allocations: 27.83 kB / 413.1 MB, free: 10.67 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001721/0.1363, allocations: 35.89 kB / 413.1 MB, free: 10.64 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003611/0.1367, allocations: 83.69 kB / 413.2 MB, free: 10.55 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001713/0.1368, allocations: 59.86 kB / 413.3 MB, free: 10.5 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.735e-05/0.1369, allocations: 8 kB / 413.3 MB, free: 10.49 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.981e-05/0.137, allocations: 31.91 kB / 413.3 MB, free: 10.46 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.335e-05/0.1371, allocations: 27.86 kB / 413.3 MB, free: 10.43 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001606/0.1373, allocations: 39.92 kB / 413.4 MB, free: 10.39 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.457e-05/0.1374, allocations: 8 kB / 413.4 MB, free: 10.38 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.311e-05/0.1374, allocations: 15.97 kB / 413.4 MB, free: 10.37 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.879e-05/0.1374, allocations: 4 kB / 413.4 MB, free: 10.36 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002355/0.1377, allocations: 92.08 kB / 413.5 MB, free: 10.27 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.1377, allocations: 0 / 413.5 MB, free: 10.27 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.1377, allocations: 3.938 kB / 413.5 MB, free: 10.27 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.338e-06/0.1377, allocations: 4 kB / 413.5 MB, free: 10.27 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006172/0.1384, allocations: 379.1 kB / 413.9 MB, free: 9.848 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.613e-05/0.1384, allocations: 12.03 kB / 413.9 MB, free: 9.836 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.827e-05/0.1385, allocations: 7.906 kB / 413.9 MB, free: 9.828 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003102/0.1388, allocations: 198.9 kB / 414.1 MB, free: 9.594 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.576e-05/0.1388, allocations: 7.953 kB / 414.1 MB, free: 9.586 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.052e-05/0.1389, allocations: 4 kB / 414.1 MB, free: 9.582 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002041/0.1391, allocations: 79.31 kB / 414.2 MB, free: 9.492 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.1391, allocations: 0 / 414.2 MB, free: 9.492 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.453e-05/0.1391, allocations: 0 / 414.2 MB, free: 9.492 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.149e-06/0.1392, allocations: 0 / 414.2 MB, free: 9.492 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001041/0.1393, allocations: 19.98 kB / 414.2 MB, free: 9.473 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003946/0.1397, allocations: 268.9 kB / 414.5 MB, free: 9.16 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000272/0.14, allocations: 74.53 kB / 414.5 MB, free: 9.078 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.753e-05/0.14, allocations: 4 kB / 414.5 MB, free: 9.074 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002111/0.1402, allocations: 71.5 kB / 414.6 MB, free: 8.992 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 2.284e-06/0.1402, allocations: 0 / 414.6 MB, free: 8.992 MB / 346.7 MB Notification: Performance of matching and sorting (n=10): time 0.0008044/0.1411, allocations: 197.2 kB / 414.8 MB, free: 8.793 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.209e-05/0.1411, allocations: 81.11 kB / 414.9 MB, free: 8.695 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001923/0.1413, allocations: 152.4 kB / 415 MB, free: 8.543 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.378e-05/0.1414, allocations: 25.7 kB / 415.1 MB, free: 8.512 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.584e-05/0.1415, allocations: 162.7 kB / 415.2 MB, free: 8.352 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.838e-05/0.1415, allocations: 27.64 kB / 415.2 MB, free: 8.324 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.091e-05/0.1415, allocations: 4 kB / 415.2 MB, free: 8.32 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001201/0.1417, allocations: 326.7 kB / 415.6 MB, free: 7.992 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001113/0.1418, allocations: 27.98 kB / 415.6 MB, free: 7.965 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001502/0.142, allocations: 54.56 kB / 415.6 MB, free: 7.902 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001251/0.1421, allocations: 35.98 kB / 415.7 MB, free: 7.867 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.1421, allocations: 0 / 415.7 MB, free: 7.867 MB / 346.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003388/0.1425, allocations: 117.5 kB / 415.8 MB, free: 7.746 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/0.1425, allocations: 6.812 kB / 415.8 MB, free: 7.742 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.1425, allocations: 0 / 415.8 MB, free: 7.742 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.81e-05/0.1425, allocations: 0 / 415.8 MB, free: 7.742 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001792/0.1427, allocations: 31.98 kB / 415.8 MB, free: 7.711 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/0.1427, allocations: 0 / 415.8 MB, free: 7.711 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.231e-05/0.1428, allocations: 8 kB / 415.8 MB, free: 7.703 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.436e-05/0.1429, allocations: 4 kB / 415.8 MB, free: 7.699 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.000128/0.143, allocations: 129.7 kB / 416 MB, free: 7.562 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.908e-05/0.143, allocations: 7.906 kB / 416 MB, free: 7.555 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.325e-05/0.1431, allocations: 16.72 kB / 416 MB, free: 7.535 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.53e-06/0.1431, allocations: 4 kB / 416 MB, free: 7.531 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.1431, allocations: 0 / 416 MB, free: 7.531 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.1432, allocations: 4 kB / 416 MB, free: 7.527 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007063/0.1439, allocations: 423.1 kB / 416.4 MB, free: 7.055 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.1439, allocations: 0 / 416.4 MB, free: 7.055 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.993e-05/0.144, allocations: 15.94 kB / 416.4 MB, free: 7.039 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.144, allocations: 0 / 416.4 MB, free: 7.039 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.156e-05/0.144, allocations: 11.98 kB / 416.4 MB, free: 7.027 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.144, allocations: 0 / 416.4 MB, free: 7.027 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.1441, allocations: 4.031 kB / 416.4 MB, free: 7.023 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004137/0.1445, allocations: 230 kB / 416.7 MB, free: 6.773 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.423e-05/0.1446, allocations: 89 kB / 416.8 MB, free: 6.668 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.862e-05/0.1446, allocations: 4 kB / 416.8 MB, free: 6.664 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00012/0.1447, allocations: 4 kB / 416.8 MB, free: 6.66 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.283e-05/0.1448, allocations: 15.94 kB / 416.8 MB, free: 6.645 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.649e-05/0.1448, allocations: 4 kB / 416.8 MB, free: 6.641 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001397/0.145, allocations: 115.8 kB / 416.9 MB, free: 6.527 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.145, allocations: 0 / 416.9 MB, free: 6.527 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003837/0.1454, allocations: 39.98 kB / 416.9 MB, free: 6.488 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001441/0.1468, allocations: 495.3 kB / 417.4 MB, free: 6.148 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003512/0.1472, allocations: 75.91 kB / 417.5 MB, free: 6.074 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.1472, allocations: 0 / 417.5 MB, free: 6.074 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001305/0.1474, allocations: 35.98 kB / 417.5 MB, free: 6.039 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003636/0.1477, allocations: 31.19 kB / 417.6 MB, free: 6.012 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006039/0.1484, allocations: 256.3 kB / 417.8 MB, free: 5.715 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003106/0.1487, allocations: 0.712 MB / 418.5 MB, free: 4.977 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.991e-05/0.1488, allocations: 19.42 kB / 418.5 MB, free: 4.957 MB / 346.7 MB Notification: Performance of SimCode: time 9.32e-07/0.1488, allocations: 0 / 418.5 MB, free: 4.957 MB / 346.7 MB Notification: Performance of Templates: time 0.006094/0.1549, allocations: 2.216 MB / 420.8 MB, free: 2.738 MB / 346.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test66_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.CombiTimeTable.Test66_usertabCalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test66_usertabCalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test66_usertabCalcHelperMain.cpp:29: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test66_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.CombiTimeTable.Test66_usertabCalcHelperMain.cpp:29: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test66_usertabFunctions.cpp:269:33: error: no matching function for call to 'ModelicaStandardTables_CombiTimeTable_init2' externalCombiTimeTable__ext = ModelicaStandardTables_CombiTimeTable_init2(fileName_.c_str(), tableName_.c_str(), tmp21.getData(), table_.getDim(1), table_.getDim(2), startTime__ext, ConstArray(columns_).getData(), columns_.getDim(1), smoothness__ext, extrapolation__ext, shiftTime__ext, timeEvents__ext, verboseRead__ext); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Resources/C-Sources/ModelicaStandardTables.h:142:23: note: candidate function not viable: 7th argument ('const int *') would lose const qualifier MODELICA_EXPORT void* ModelicaStandardTables_CombiTimeTable_init2(_In_z_ const char* fileName, ^ In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test66_usertabCalcHelperMain.cpp:29: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test66_usertabFunctions.cpp:393:18: error: no matching function for call to 'mydummyfunc' dummy_y__ext = mydummyfunc(ConstArray(dummy_u_).getData()); ^~~~~~~~~~~ ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test66_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.CombiTimeTable.Test66_usertabCalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test66_usertabCalcHelperMain.o] Error 1