Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|realExpression.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|realExpression.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00156/0.001564, allocations: 186.3 kB / 16.4 MB, free: 5.75 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.966/1.966, 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.001126/0.001126, allocations: 95.22 kB / 270.9 MB, free: 8.375 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.5103/0.5103, allocations: 43.55 MB / 362.7 MB, free: 52.15 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004682/0.0004684, allocations: 16 kB / 431.4 MB, free: 6.176 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1264/0.1269, allocations: 58.86 MB / 490.2 MB, free: 11.24 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4619/0.5889, allocations: 86.49 MB / 0.5632 GB, free: 220 kB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002707/0.5892, allocations: 71.97 kB / 0.5633 GB, free: 148 kB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01694/0.6062, allocations: 3.762 MB / 0.5669 GB, free: 12.42 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.535e-06/0.6062, allocations: 0.6562 kB / 0.5669 GB, free: 12.42 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.494e-05/0.6062, allocations: 0 / 0.5669 GB, free: 12.42 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005744/0.6068, allocations: 386.6 kB / 0.5673 GB, free: 12 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.425e-05/0.6069, allocations: 8.031 kB / 0.5673 GB, free: 12 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.63e-05/0.6069, allocations: 7.906 kB / 0.5673 GB, free: 11.99 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002826/0.6072, allocations: 203.8 kB / 0.5675 GB, free: 11.75 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.224e-05/0.6073, allocations: 4 kB / 0.5675 GB, free: 11.75 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.846e-05/0.6073, allocations: 3.656 kB / 0.5675 GB, free: 11.75 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002382/0.6075, allocations: 79.33 kB / 0.5676 GB, free: 11.66 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.415e-05/0.6076, allocations: 4 kB / 0.5676 GB, free: 11.66 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.414e-05/0.6076, allocations: 4 kB / 0.5676 GB, free: 11.65 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.08e-05/0.6076, allocations: 3.984 kB / 0.5676 GB, free: 11.65 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000185/0.6078, allocations: 40.94 kB / 0.5677 GB, free: 11.61 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004923/0.6083, allocations: 292.8 kB / 0.5679 GB, free: 11.27 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002057/0.6085, allocations: 62.56 kB / 0.568 GB, free: 11.2 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.454e-05/0.6086, allocations: 0 / 0.568 GB, free: 11.2 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.201e-05/0.6086, allocations: 38.48 kB / 0.568 GB, free: 11.16 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 1.703e-06/0.6086, allocations: 0 / 0.568 GB, free: 11.16 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0009718/0.6096, allocations: 189.5 kB / 0.5682 GB, free: 10.96 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.041e-05/0.6097, allocations: 77.11 kB / 0.5683 GB, free: 10.87 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001919/0.6099, allocations: 132.9 kB / 0.5684 GB, free: 10.73 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.048e-05/0.6099, allocations: 25.7 kB / 0.5684 GB, free: 10.7 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.376e-05/0.6101, allocations: 158.5 kB / 0.5686 GB, free: 10.55 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.863e-05/0.6101, allocations: 31.64 kB / 0.5686 GB, free: 10.52 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.124e-06/0.6101, allocations: 0 / 0.5686 GB, free: 10.52 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001392/0.6103, allocations: 310.8 kB / 0.5689 GB, free: 10.2 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001657/0.6104, allocations: 31.98 kB / 0.5689 GB, free: 10.17 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001534/0.6106, allocations: 41.88 kB / 0.569 GB, free: 10.12 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001573/0.6108, allocations: 31.98 kB / 0.569 GB, free: 10.09 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.6108, allocations: 0 / 0.569 GB, free: 10.09 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003602/0.6112, allocations: 94.23 kB / 0.5691 GB, free: 9.996 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.994e-05/0.6112, allocations: 8.031 kB / 0.5691 GB, free: 9.988 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.6112, allocations: 0 / 0.5691 GB, free: 9.988 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.826e-05/0.6112, allocations: 4 kB / 0.5691 GB, free: 9.984 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001739/0.6114, allocations: 15.98 kB / 0.5691 GB, free: 9.969 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.6114, allocations: 0 / 0.5691 GB, free: 9.969 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.977e-05/0.6115, allocations: 11.98 kB / 0.5691 GB, free: 9.957 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.195e-05/0.6116, allocations: 3.953 kB / 0.5691 GB, free: 9.953 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 (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 prepare postOptimizeDAE: time 0.0001339/0.6117, allocations: 125.8 kB / 0.5693 GB, free: 9.82 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.466e-05/0.6118, allocations: 7.906 kB / 0.5693 GB, free: 9.812 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004546/0.6122, allocations: 122.2 kB / 0.5694 GB, free: 9.688 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.554e-06/0.6123, allocations: 4 kB / 0.5694 GB, free: 9.684 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.775e-06/0.6123, allocations: 0 / 0.5694 GB, free: 9.684 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.808e-06/0.6123, allocations: 3.938 kB / 0.5694 GB, free: 9.68 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007302/0.613, allocations: 382.5 kB / 0.5698 GB, free: 9.25 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.012e-06/0.6131, allocations: 4 kB / 0.5698 GB, free: 9.246 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001343/0.6132, allocations: 16.73 kB / 0.5698 GB, free: 9.23 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.152e-06/0.6132, allocations: 3.938 kB / 0.5698 GB, free: 9.227 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.325e-05/0.6133, allocations: 8 kB / 0.5698 GB, free: 9.219 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.6133, allocations: 0 / 0.5698 GB, free: 9.219 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.6133, allocations: 0 / 0.5698 GB, free: 9.219 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004184/0.6137, allocations: 203.4 kB / 0.57 GB, free: 9.004 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.786e-05/0.6138, allocations: 85 kB / 0.5701 GB, free: 8.902 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.831e-05/0.6138, allocations: 8.375 kB / 0.5701 GB, free: 8.895 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001134/0.614, allocations: 11.94 kB / 0.5701 GB, free: 8.883 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.591e-05/0.614, allocations: 11.98 kB / 0.5701 GB, free: 8.871 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.3e-05/0.614, allocations: 0 / 0.5701 GB, free: 8.871 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001306/0.6142, allocations: 112.9 kB / 0.5702 GB, free: 8.762 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.6142, allocations: 0 / 0.5702 GB, free: 8.762 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003997/0.6146, allocations: 28 kB / 0.5702 GB, free: 8.734 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 (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.001349/0.616, allocations: 474.4 kB / 0.5707 GB, free: 8.367 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000397/0.6164, allocations: 67.95 kB / 0.5708 GB, free: 8.301 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/0.6164, allocations: 0 / 0.5708 GB, free: 8.301 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001557/0.6166, allocations: 39.92 kB / 0.5708 GB, free: 8.262 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003003/0.6169, allocations: 11.98 kB / 0.5708 GB, free: 8.25 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005751/0.6175, allocations: 213.2 kB / 0.571 GB, free: 8.008 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003112/0.6178, allocations: 0.6965 MB / 0.5717 GB, free: 7.285 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.419e-05/0.6179, allocations: 19.44 kB / 0.5717 GB, free: 7.266 MB / 394.7 MB Notification: Performance of SimCode: time 9.02e-07/0.6179, allocations: 3.938 kB / 0.5717 GB, free: 7.262 MB / 394.7 MB Notification: Performance of Templates: time 0.005746/0.6237, allocations: 1.777 MB / 0.5734 GB, free: 5.484 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.makefile make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test25_usertabCalcHelperMain.o OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test25_usertabCalcHelperMain.cpp\nIn file included from OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test25_usertabCalcHelperMain.cpp:28:\nIn file included from ./OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test25_usertabCalcHelperMain.cpp:28:\n./OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.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.CombiTable1Ds.Test25_usertabCalcHelperMain.o\' failed\nmake: *** [OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test25_usertabCalcHelperMain.o] Error 1\n'