Notification: Performance of loadModel(ModelicaTest): time 1.815/1.815, allocations: 234.4 MB / 240 MB, free: 7.754 MB / 200.6 MB Notification: Performance of FrontEnd - loaded program: time 7.383e-06/7.483e-06, allocations: 1.156 kB / 296.6 MB, free: 8.504 MB / 248.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08278/0.08281, allocations: 54.71 MB / 351.3 MB, free: 10.93 MB / 296.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1144/0.1972, allocations: 80.19 MB / 431.5 MB, free: 10.62 MB / 376.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002279/0.1975, allocations: 68.12 kB / 431.6 MB, free: 10.55 MB / 376.6 MB Notification: Performance of FrontEnd: time 0.0114/0.2089, allocations: 2.432 MB / 434 MB, free: 8.113 MB / 376.6 MB Notification: Performance of Transformations before backend: time 8.943e-06/0.209, allocations: 4 kB / 434 MB, free: 8.109 MB / 376.6 MB Notification: Performance of Generate backend data structure: time 0.0004591/0.2095, allocations: 395.9 kB / 434.4 MB, free: 7.672 MB / 376.6 MB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.2095, allocations: 8.031 kB / 434.4 MB, free: 7.664 MB / 376.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.442e-05/0.2096, allocations: 7.906 kB / 434.4 MB, free: 7.656 MB / 376.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002522/0.2098, allocations: 186.9 kB / 434.6 MB, free: 7.434 MB / 376.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.023e-05/0.2099, allocations: 0 / 434.6 MB, free: 7.434 MB / 376.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.423e-05/0.2099, allocations: 4 kB / 434.6 MB, free: 7.43 MB / 376.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.041e-05/0.21, allocations: 24 kB / 434.6 MB, free: 7.406 MB / 376.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001186/0.2101, allocations: 63.34 kB / 434.7 MB, free: 7.332 MB / 376.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.2102, allocations: 0 / 434.7 MB, free: 7.332 MB / 376.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.2102, allocations: 0 / 434.7 MB, free: 7.332 MB / 376.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.033e-06/0.2102, allocations: 0 / 434.7 MB, free: 7.332 MB / 376.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004636/0.2107, allocations: 265.4 kB / 434.9 MB, free: 7.035 MB / 376.6 MB Notification: Performance of preOpt comSubExp (simulation): time 7.872e-05/0.2108, allocations: 30.58 kB / 435 MB, free: 6.996 MB / 376.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.978e-05/0.2108, allocations: 20.94 kB / 435 MB, free: 6.973 MB / 376.6 MB Notification: Performance of preOpt evalFunc (simulation): time 2.416e-05/0.2109, allocations: 3.984 kB / 435 MB, free: 6.969 MB / 376.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.075e-05/0.2109, allocations: 34.47 kB / 435 MB, free: 6.926 MB / 376.6 MB Notification: Performance of pre-optimization done (n=4): time 3.692e-06/0.2109, allocations: 0 / 435 MB, free: 6.926 MB / 376.6 MB Notification: Performance of matching and sorting (n=6): time 0.0005202/0.2114, allocations: 129.3 kB / 435.1 MB, free: 6.793 MB / 376.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.359e-05/0.2115, allocations: 77.11 kB / 435.2 MB, free: 6.699 MB / 376.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00012/0.2116, allocations: 116.9 kB / 435.3 MB, free: 6.578 MB / 376.6 MB Notification: Performance of collectPreVariables (initialization): time 1.758e-05/0.2117, allocations: 25.7 kB / 435.4 MB, free: 6.547 MB / 376.6 MB Notification: Performance of collectInitialEqns (initialization): time 6.316e-05/0.2117, allocations: 150.6 kB / 435.5 MB, free: 6.398 MB / 376.6 MB Notification: Performance of collectInitialBindings (initialization): time 2.655e-05/0.2118, allocations: 23.66 kB / 435.5 MB, free: 6.375 MB / 376.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.831e-06/0.2118, allocations: 0 / 435.5 MB, free: 6.375 MB / 376.6 MB Notification: Performance of setup shared object (initialization): time 0.0001201/0.2119, allocations: 318.8 kB / 435.8 MB, free: 6.055 MB / 376.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.545e-05/0.212, allocations: 12 kB / 435.8 MB, free: 6.043 MB / 376.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.756e-05/0.212, allocations: 29.72 kB / 435.9 MB, free: 6.008 MB / 376.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.297e-05/0.2121, allocations: 25.36 kB / 435.9 MB, free: 5.984 MB / 376.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.346e-06/0.2121, allocations: 0 / 435.9 MB, free: 5.984 MB / 376.6 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001786/0.2123, allocations: 77.58 kB / 436 MB, free: 5.902 MB / 376.6 MB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.2123, allocations: 4 kB / 436 MB, free: 5.898 MB / 376.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.652e-06/0.2124, allocations: 0 / 436 MB, free: 5.898 MB / 376.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.2124, allocations: 4.031 kB / 436 MB, free: 5.895 MB / 376.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001388/0.2125, allocations: 16 kB / 436 MB, free: 5.879 MB / 376.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.706e-06/0.2125, allocations: 3.938 kB / 436 MB, free: 5.875 MB / 376.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.696e-05/0.2126, allocations: 7.984 kB / 436 MB, free: 5.867 MB / 376.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.809e-05/0.2126, allocations: 4 kB / 436 MB, free: 5.863 MB / 376.6 MB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.2127, allocations: 0 / 436 MB, free: 5.863 MB / 376.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.17e-05/0.2127, allocations: 11.91 kB / 436 MB, free: 5.852 MB / 376.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000232/0.213, allocations: 90.2 kB / 436.1 MB, free: 5.758 MB / 376.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.213, allocations: 0 / 436.1 MB, free: 5.758 MB / 376.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.08e-06/0.213, allocations: 3.984 kB / 436.1 MB, free: 5.754 MB / 376.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.111e-06/0.213, allocations: 3.906 kB / 436.1 MB, free: 5.75 MB / 376.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004542/0.2135, allocations: 307.2 kB / 436.4 MB, free: 5.406 MB / 376.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.581e-06/0.2135, allocations: 0 / 436.4 MB, free: 5.406 MB / 376.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001097/0.2136, allocations: 23.98 kB / 436.4 MB, free: 5.383 MB / 376.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.598e-06/0.2136, allocations: 4.125 kB / 436.5 MB, free: 5.379 MB / 376.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.148e-05/0.2137, allocations: 4 kB / 436.5 MB, free: 5.375 MB / 376.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.226e-06/0.2137, allocations: 3.906 kB / 436.5 MB, free: 5.371 MB / 376.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.2137, allocations: 0 / 436.5 MB, free: 5.371 MB / 376.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000201/0.2139, allocations: 167.5 kB / 436.6 MB, free: 5.191 MB / 376.6 MB Notification: Performance of postOpt removeConstants (simulation): time 5.727e-05/0.214, allocations: 89 kB / 436.7 MB, free: 5.086 MB / 376.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.314e-05/0.214, allocations: 0 / 436.7 MB, free: 5.086 MB / 376.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001151/0.2141, allocations: 8 kB / 436.7 MB, free: 5.078 MB / 376.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.536e-05/0.2142, allocations: 7.984 kB / 436.7 MB, free: 5.07 MB / 376.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.025e-05/0.2142, allocations: 0 / 436.7 MB, free: 5.07 MB / 376.6 MB Notification: Performance of sort global known variables: time 7.906e-05/0.2143, allocations: 99.27 kB / 436.8 MB, free: 4.973 MB / 376.6 MB Notification: Performance of remove unused functions: time 0.0003441/0.2146, allocations: 27.98 kB / 436.8 MB, free: 4.945 MB / 376.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0007299/0.2154, allocations: 303 kB / 437.1 MB, free: 4.738 MB / 376.6 MB Notification: Performance of simCode: created initialization part: time 0.000195/0.2156, allocations: 73.62 kB / 437.2 MB, free: 4.66 MB / 376.6 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.2156, allocations: 0 / 437.2 MB, free: 4.66 MB / 376.6 MB Notification: Performance of simCode: created simulation system equations: time 5.203e-05/0.2157, allocations: 19.94 kB / 437.2 MB, free: 4.641 MB / 376.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002556/0.2159, allocations: 11.94 kB / 437.2 MB, free: 4.629 MB / 376.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003851/0.2163, allocations: 133.6 kB / 437.4 MB, free: 4.465 MB / 376.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003881/0.2167, allocations: 0.7152 MB / 438.1 MB, free: 3.723 MB / 376.6 MB Notification: Performance of SimCode: time 9.17e-07/0.2168, allocations: 0 / 438.1 MB, free: 3.723 MB / 376.6 MB Notification: Performance of Templates: time 0.003978/0.2207, allocations: 1.613 MB / 439.7 MB, free: 2.109 MB / 376.6 MB make -j1 -f ModelicaTest_3.1_cpp_ModelicaTest.Tables.CombiTable1D.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=5 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/cpp/" -I. "-I/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Resources/Data/Tables" -I"." -I"." -I"." "-I/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Resources/Data/Tables" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelicaTest_3.1_cpp_ModelicaTest.Tables.CombiTable1D.Test25_usertabCalcHelperMain.o OMCppModelicaTest_3.1_cpp_ModelicaTest.Tables.CombiTable1D.Test25_usertabCalcHelperMain.cpp In file included from OMCppModelicaTest_3.1_cpp_ModelicaTest.Tables.CombiTable1D.Test25_usertabCalcHelperMain.cpp:28: In file included from ./OMCppModelicaTest_3.1_cpp_ModelicaTest.Tables.CombiTable1D.Test25_usertabFunctions.cpp:5: In file included from /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Resources/Data/Tables/usertab.c:14: /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/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/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/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/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/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/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/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.1_cpp_ModelicaTest.Tables.CombiTable1D.Test25_usertabCalcHelperMain.cpp:28: ./OMCppModelicaTest_3.1_cpp_ModelicaTest.Tables.CombiTable1D.Test25_usertabFunctions.cpp:276:18: error: no matching function for call to 'mydummyfunc' dummy_y__ext = mydummyfunc(ConstArray(dummy_u_).getData()); ^~~~~~~~~~~ ./OMCppModelicaTest_3.1_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. : recipe for target 'OMCppModelicaTest_3.1_cpp_ModelicaTest.Tables.CombiTable1D.Test25_usertabCalcHelperMain.o' failed make: *** [OMCppModelicaTest_3.1_cpp_ModelicaTest.Tables.CombiTable1D.Test25_usertabCalcHelperMain.o] Error 1