Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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",fileNamePrefix="ModelicaTest_trunk_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",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001014/0.001014, allocations: 199.5 kB / 16.78 MB, free: 5.016 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.255/1.255, allocations: 226.5 MB / 244.1 MB, free: 6.473 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008383/0.0008382, allocations: 104 kB / 296.1 MB, free: 6.691 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3549/0.3549, allocations: 44.83 MB / 393 MB, free: 35.67 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002707/0.0002707, allocations: 11.98 kB / 465.9 MB, free: 12.73 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3205/0.3208, allocations: 62.96 MB / 0.5165 GB, free: 37.26 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1082/0.429, allocations: 89.34 MB / 0.6037 GB, free: 64 kB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001864/0.4292, allocations: 76.03 kB / 0.6038 GB, free: 15.98 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01247/0.4417, allocations: 4.896 MB / 0.6086 GB, free: 11.09 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.4417, allocations: 0 / 0.6086 GB, free: 11.09 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.059e-05/0.4418, allocations: 4 kB / 0.6086 GB, free: 11.08 MB / 426.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.0003883/0.4421, allocations: 411.3 kB / 0.609 GB, free: 10.63 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/0.4422, allocations: 12.88 kB / 0.609 GB, free: 10.62 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.561e-05/0.4422, allocations: 8.844 kB / 0.609 GB, free: 10.61 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000235/0.4425, allocations: 207.1 kB / 0.6092 GB, free: 10.37 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.612e-06/0.4425, allocations: 384 / 0.6092 GB, free: 10.37 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.008e-05/0.4425, allocations: 4.375 kB / 0.6092 GB, free: 10.37 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001391/0.4427, allocations: 71.95 kB / 0.6093 GB, free: 10.29 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.4427, allocations: 192 / 0.6093 GB, free: 10.29 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.258e-05/0.4427, allocations: 7.938 kB / 0.6093 GB, free: 10.28 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.637e-06/0.4427, allocations: 0 / 0.6093 GB, free: 10.28 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.665e-05/0.4428, allocations: 35.91 kB / 0.6093 GB, free: 10.24 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003959/0.4432, allocations: 296.9 kB / 0.6096 GB, free: 9.902 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000115/0.4434, allocations: 58.48 kB / 0.6096 GB, free: 9.836 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.198e-05/0.4434, allocations: 36.91 kB / 0.6097 GB, free: 9.797 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.288e-05/0.4435, allocations: 7.984 kB / 0.6097 GB, free: 9.789 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.405e-05/0.4435, allocations: 30.56 kB / 0.6097 GB, free: 9.75 MB / 426.7 MB Notification: Performance of pre-optimization done (n=5): time 1.142e-06/0.4435, allocations: 0 / 0.6097 GB, free: 9.75 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006158/0.4441, allocations: 201.2 kB / 0.6099 GB, free: 9.547 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.559e-05/0.4442, allocations: 77.11 kB / 0.61 GB, free: 9.453 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001426/0.4443, allocations: 156.2 kB / 0.6101 GB, free: 9.289 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.594e-05/0.4444, allocations: 29.7 kB / 0.6102 GB, free: 9.254 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.02e-05/0.4444, allocations: 92.14 kB / 0.6102 GB, free: 9.16 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.666e-05/0.4444, allocations: 31.55 kB / 0.6103 GB, free: 9.129 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.23e-06/0.4444, allocations: 0 / 0.6103 GB, free: 9.129 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.469e-05/0.4445, allocations: 330.8 kB / 0.6106 GB, free: 8.797 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.31e-05/0.4446, allocations: 31.92 kB / 0.6106 GB, free: 8.766 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.639e-05/0.4447, allocations: 49.62 kB / 0.6107 GB, free: 8.711 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001555/0.4449, allocations: 84.8 kB / 0.6108 GB, free: 8.625 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.4449, allocations: 0 / 0.6108 GB, free: 8.625 MB / 426.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002166/0.4451, allocations: 121.5 kB / 0.6109 GB, free: 8.5 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/0.4451, allocations: 4 kB / 0.6109 GB, free: 8.496 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.4452, allocations: 4 kB / 0.6109 GB, free: 8.492 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.029e-05/0.4452, allocations: 0 / 0.6109 GB, free: 8.492 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001087/0.4453, allocations: 23.98 kB / 0.6109 GB, free: 8.469 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.4453, allocations: 0 / 0.6109 GB, free: 8.469 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.268e-05/0.4454, allocations: 8 kB / 0.6109 GB, free: 8.461 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.626e-05/0.4454, allocations: 4 kB / 0.6109 GB, free: 8.457 MB / 426.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 (9): * Single equations (assignments): 9 * 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 7.854e-05/0.4455, allocations: 121.8 kB / 0.611 GB, free: 8.328 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.214e-05/0.4455, allocations: 11.91 kB / 0.611 GB, free: 8.316 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002554/0.4458, allocations: 130.3 kB / 0.6112 GB, free: 8.184 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.4458, allocations: 0 / 0.6112 GB, free: 8.184 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.4458, allocations: 384 / 0.6112 GB, free: 8.184 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.4458, allocations: 0 / 0.6112 GB, free: 8.184 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004618/0.4463, allocations: 418.3 kB / 0.6116 GB, free: 7.719 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.4463, allocations: 4 kB / 0.6116 GB, free: 7.715 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.473e-05/0.4464, allocations: 19.98 kB / 0.6116 GB, free: 7.695 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.4464, allocations: 8 kB / 0.6116 GB, free: 7.688 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.734e-06/0.4464, allocations: 0 / 0.6116 GB, free: 7.688 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.4464, allocations: 0 / 0.6116 GB, free: 7.688 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.4464, allocations: 3.938 kB / 0.6116 GB, free: 7.684 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000235/0.4467, allocations: 204.5 kB / 0.6118 GB, free: 7.469 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.929e-05/0.4467, allocations: 97.28 kB / 0.6119 GB, free: 7.355 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.813e-05/0.4467, allocations: 0 / 0.6119 GB, free: 7.355 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.354e-05/0.4468, allocations: 4 kB / 0.6119 GB, free: 7.352 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.847e-05/0.4469, allocations: 15.86 kB / 0.6119 GB, free: 7.336 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.152e-06/0.4469, allocations: 4 kB / 0.6119 GB, free: 7.332 MB / 426.7 MB Notification: Performance of sorting global known variables: time 8.908e-05/0.447, allocations: 121 kB / 0.612 GB, free: 7.215 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.447, allocations: 0 / 0.612 GB, free: 7.215 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002801/0.4473, allocations: 47.94 kB / 0.6121 GB, free: 7.168 MB / 426.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 (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 Backend phase and start with SimCode phase: time 0.0009883/0.4483, allocations: 0.4981 MB / 0.6126 GB, free: 6.832 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002234/0.4485, allocations: 83.88 kB / 0.6126 GB, free: 6.75 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.4485, allocations: 0 / 0.6126 GB, free: 6.75 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000115/0.4486, allocations: 43.97 kB / 0.6127 GB, free: 6.707 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002626/0.4489, allocations: 12.19 kB / 0.6127 GB, free: 6.695 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003774/0.4493, allocations: 234.7 kB / 0.6129 GB, free: 6.43 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002223/0.4495, allocations: 0.7082 MB / 0.6136 GB, free: 5.695 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.948e-05/0.4496, allocations: 15.44 kB / 0.6136 GB, free: 5.684 MB / 426.7 MB Notification: Performance of SimCode: time 2.6e-07/0.4496, allocations: 0 / 0.6136 GB, free: 5.684 MB / 426.7 MB Notification: Performance of Templates: time 0.003458/0.453, allocations: 2.147 MB / 0.6157 GB, free: 3.535 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.makefile make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.makefile clang++ -std=c++14 -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -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 trunk/Resources/Data/Tables""-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Resources/Data/Tables" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test25_usertabCalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test25_usertabCalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test25_usertabCalcHelperMain.cpp:28: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test25_usertabFunctions.cpp:5: In file included from /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Resources/Data/Tables/usertab.c:14: /home/hudson/saved_omc/libraries/.openmodelica/libraries/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}} ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/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}} ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/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}} ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/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.CombiTable1Ds.Test25_usertabCalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test25_usertabFunctions.cpp:420:18: error: no matching function for call to 'mydummyfunc' dummy_y__ext = mydummyfunc(ConstArray(dummy_u_).getData()); ^~~~~~~~~~~ ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.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. make: *** [: OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test25_usertabCalcHelperMain.o] Error 1