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.001478/0.001478, allocations: 186.1 kB / 16.4 MB, free: 5.719 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.938/1.938, allocations: 205.4 MB / 222.5 MB, free: 9.125 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.001123/0.001122, allocations: 96.41 kB / 270.9 MB, free: 8.367 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.524/0.524, allocations: 43.54 MB / 362.7 MB, free: 52.2 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006227/0.0006227, allocations: 12 kB / 431.4 MB, free: 6.164 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1233/0.124, allocations: 58.84 MB / 490.2 MB, free: 11.23 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4567/0.5807, allocations: 86.59 MB / 0.5633 GB, free: 132 kB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000218/0.581, allocations: 75.95 kB / 0.5634 GB, free: 56 kB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01533/0.5964, allocations: 3.594 MB / 0.5669 GB, free: 12.5 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.5964, allocations: 0 / 0.5669 GB, free: 12.5 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.704e-05/0.5964, allocations: 4 kB / 0.5669 GB, free: 12.5 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.0004872/0.5969, allocations: 383.8 kB / 0.5672 GB, free: 12.08 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.388e-05/0.597, allocations: 8.031 kB / 0.5672 GB, free: 12.07 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.755e-05/0.597, allocations: 7.906 kB / 0.5673 GB, free: 12.06 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002549/0.5973, allocations: 198.4 kB / 0.5674 GB, free: 11.83 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.143e-05/0.5973, allocations: 7.938 kB / 0.5675 GB, free: 11.82 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.044e-05/0.5974, allocations: 0 / 0.5675 GB, free: 11.82 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002109/0.5976, allocations: 67.39 kB / 0.5675 GB, free: 11.75 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.5976, allocations: 0 / 0.5675 GB, free: 11.75 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.656e-05/0.5976, allocations: 4.656 kB / 0.5675 GB, free: 11.74 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.5976, allocations: 0 / 0.5675 GB, free: 11.74 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001728/0.5978, allocations: 41 kB / 0.5676 GB, free: 11.7 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005065/0.5984, allocations: 284.8 kB / 0.5678 GB, free: 11.38 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001368/0.5985, allocations: 42.56 kB / 0.5679 GB, free: 11.32 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.067e-05/0.5986, allocations: 4 kB / 0.5679 GB, free: 11.32 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.737e-05/0.5986, allocations: 34.56 kB / 0.5679 GB, free: 11.28 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 1.903e-06/0.5986, allocations: 3.375 kB / 0.5679 GB, free: 11.28 MB / 394.7 MB Notification: Performance of matching and sorting (n=6): time 0.000902/0.5995, allocations: 177.3 kB / 0.5681 GB, free: 11.1 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.188e-05/0.5996, allocations: 77.11 kB / 0.5682 GB, free: 11 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001776/0.5998, allocations: 128.3 kB / 0.5683 GB, free: 10.88 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.155e-05/0.5998, allocations: 25.7 kB / 0.5683 GB, free: 10.84 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.555e-05/0.5999, allocations: 162.5 kB / 0.5685 GB, free: 10.68 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.075e-05/0.6, allocations: 19.66 kB / 0.5685 GB, free: 10.66 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.099e-05/0.6, allocations: 0 / 0.5685 GB, free: 10.66 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001453/0.6001, allocations: 322.8 kB / 0.5688 GB, free: 10.34 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001433/0.6003, allocations: 31.97 kB / 0.5688 GB, free: 10.31 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001456/0.6005, allocations: 33.89 kB / 0.5688 GB, free: 10.27 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001507/0.6006, allocations: 39.95 kB / 0.5689 GB, free: 10.23 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.6006, allocations: 0 / 0.5689 GB, free: 10.23 MB / 394.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004246/0.6011, allocations: 89.66 kB / 0.569 GB, free: 10.14 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.29e-05/0.6011, allocations: 4 kB / 0.569 GB, free: 10.13 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.6011, allocations: 4 kB / 0.569 GB, free: 10.13 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.6012, allocations: 0 / 0.569 GB, free: 10.13 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001542/0.6013, allocations: 19.98 kB / 0.569 GB, free: 10.11 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-06/0.6013, allocations: 0 / 0.569 GB, free: 10.11 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.001e-05/0.6014, allocations: 4.875 kB / 0.569 GB, free: 10.11 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.319e-05/0.6015, allocations: 7.953 kB / 0.569 GB, free: 10.1 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.0001286/0.6016, allocations: 125.8 kB / 0.5691 GB, free: 9.965 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.541e-05/0.6017, allocations: 7.906 kB / 0.5691 GB, free: 9.957 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004464/0.6021, allocations: 114 kB / 0.5692 GB, free: 9.84 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.6021, allocations: 0 / 0.5692 GB, free: 9.84 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.6022, allocations: 320 / 0.5692 GB, free: 9.84 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.6022, allocations: 0 / 0.5692 GB, free: 9.84 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007056/0.6029, allocations: 382.4 kB / 0.5696 GB, free: 9.41 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.6029, allocations: 0 / 0.5696 GB, free: 9.41 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001213/0.603, allocations: 15.98 kB / 0.5696 GB, free: 9.395 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.694e-06/0.6031, allocations: 4 kB / 0.5696 GB, free: 9.391 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.012e-05/0.6031, allocations: 0 / 0.5696 GB, free: 9.391 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.6031, allocations: 0 / 0.5696 GB, free: 9.391 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.6031, allocations: 0 / 0.5696 GB, free: 9.391 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004002/0.6035, allocations: 203.4 kB / 0.5698 GB, free: 9.176 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.214e-05/0.6036, allocations: 89 kB / 0.5699 GB, free: 9.07 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.601e-05/0.6036, allocations: 4.969 kB / 0.5699 GB, free: 9.066 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000117/0.6037, allocations: 8 kB / 0.5699 GB, free: 9.059 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.37e-05/0.6038, allocations: 11.98 kB / 0.5699 GB, free: 9.047 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.275e-05/0.6038, allocations: 4 kB / 0.5699 GB, free: 9.043 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001174/0.6039, allocations: 103.2 kB / 0.57 GB, free: 8.941 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.604, allocations: 0 / 0.57 GB, free: 8.941 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003908/0.6044, allocations: 35.92 kB / 0.5701 GB, free: 8.906 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.001317/0.6057, allocations: 458.4 kB / 0.5705 GB, free: 8.551 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004441/0.6062, allocations: 67.95 kB / 0.5706 GB, free: 8.484 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.6062, allocations: 0 / 0.5706 GB, free: 8.484 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001528/0.6063, allocations: 35.92 kB / 0.5706 GB, free: 8.449 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002926/0.6067, allocations: 15.98 kB / 0.5706 GB, free: 8.434 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005166/0.6072, allocations: 204.6 kB / 0.5708 GB, free: 8.203 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002944/0.6075, allocations: 0.7004 MB / 0.5715 GB, free: 7.477 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.204e-05/0.6076, allocations: 11.44 kB / 0.5715 GB, free: 7.465 MB / 394.7 MB Notification: Performance of SimCode: time 8.02e-07/0.6076, allocations: 4 kB / 0.5715 GB, free: 7.461 MB / 394.7 MB Notification: Performance of Templates: time 0.005096/0.6127, allocations: 1.741 MB / 0.5732 GB, free: 5.719 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 b'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 -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/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\nIn file included from OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test25_usertabCalcHelperMain.cpp:28:\nIn file included from ./OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test25_usertabFunctions.cpp:5:\nIn file included from /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Resources/Data/Tables/usertab.c:14:\n/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]\n {"TestTable_1D_Time", TestTable_1D_Time, 0, {6, 2}}\n ^\n/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]\n ,{"TestTable_1D_a" , TestTable_1D_a, 1, {4, 2}}\n ^\n/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]\n ,{"TestTable_1D_b" , TestTable_1D_b, 1, {5, 3}}\n ^\n/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]\n ,{"TestTable_2D" , TestTable_2D, 2, {5, 4}}\n ^\nIn file included from OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test25_usertabCalcHelperMain.cpp:28:\n./OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test25_usertabFunctions.cpp:300:18: error: no matching function for call to \'mydummyfunc\'\n dummy_y__ext = mydummyfunc(ConstArray(dummy_u_).getData());\n ^~~~~~~~~~~\n./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\ndouble mydummyfunc(double* dummy_in) {\n ^\n4 warnings and 1 error generated.\n: recipe for target \'OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test25_usertabCalcHelperMain.o\' failed\nmake: *** [OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test25_usertabCalcHelperMain.o] Error 1\n'