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.0008362/0.0008364, allocations: 175.2 kB / 16.72 MB, free: 5.051 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.193/1.193, allocations: 205.4 MB / 222.9 MB, free: 9.027 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.0007153/0.0007153, allocations: 86.36 kB / 271.2 MB, free: 8.258 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.2788/0.2788, allocations: 43.56 MB / 363.1 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003385/0.0003386, allocations: 19.98 kB / 432 MB, free: 5.82 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09135/0.09171, allocations: 58.85 MB / 490.8 MB, free: 10.88 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test25_usertab): time 0.00155/0.0933, allocations: 1.271 MB / 492.1 MB, free: 9.602 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005424/0.09386, allocations: 323.7 kB / 492.4 MB, free: 9.281 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.617e-05/0.09392, allocations: 0 / 492.4 MB, free: 9.281 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001822/0.09411, allocations: 23.91 kB / 492.4 MB, free: 9.258 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001431/0.09426, allocations: 27.86 kB / 492.5 MB, free: 9.23 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002359/0.09451, allocations: 79.89 kB / 492.5 MB, free: 9.152 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001075/0.09462, allocations: 55.78 kB / 492.6 MB, free: 9.098 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.137e-05/0.09471, allocations: 12.16 kB / 492.6 MB, free: 9.086 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.141e-05/0.09476, allocations: 19.92 kB / 492.6 MB, free: 9.066 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.237e-05/0.09482, allocations: 23.86 kB / 492.7 MB, free: 9.043 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.44e-05/0.09484, allocations: 0 / 492.7 MB, free: 9.043 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.797e-05/0.09495, allocations: 51.97 kB / 492.7 MB, free: 8.992 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.516e-05/0.09499, allocations: 11.92 kB / 492.7 MB, free: 8.98 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.146e-05/0.09504, allocations: 41.58 kB / 492.8 MB, free: 8.934 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001211/0.09516, allocations: 63.89 kB / 492.8 MB, free: 8.871 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.09518, allocations: 4 kB / 492.8 MB, free: 8.867 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.09518, allocations: 0 / 492.8 MB, free: 8.867 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.296e-06/0.09519, allocations: 0 / 492.8 MB, free: 8.867 MB / 378.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.000387/0.09558, allocations: 375.5 kB / 493.2 MB, free: 8.453 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.539e-05/0.09562, allocations: 16.02 kB / 493.2 MB, free: 8.438 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.337e-05/0.09566, allocations: 12.84 kB / 493.2 MB, free: 8.426 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001638/0.09583, allocations: 180.2 kB / 493.4 MB, free: 8.211 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.106e-06/0.09585, allocations: 4.375 kB / 493.4 MB, free: 8.207 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.593e-05/0.09587, allocations: 384 / 493.4 MB, free: 8.207 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001435/0.09602, allocations: 75.27 kB / 493.5 MB, free: 8.121 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.09604, allocations: 4 kB / 493.5 MB, free: 8.117 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.107e-05/0.09606, allocations: 4 kB / 493.5 MB, free: 8.113 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.396e-06/0.09606, allocations: 0 / 493.5 MB, free: 8.113 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.476e-05/0.09617, allocations: 39.91 kB / 493.5 MB, free: 8.074 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003503/0.09653, allocations: 292.8 kB / 493.8 MB, free: 7.738 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.83e-05/0.09662, allocations: 42.5 kB / 493.8 MB, free: 7.688 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.932e-05/0.09668, allocations: 24.94 kB / 493.9 MB, free: 7.66 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.119e-05/0.09671, allocations: 4 kB / 493.9 MB, free: 7.656 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.869e-05/0.09674, allocations: 30.56 kB / 493.9 MB, free: 7.617 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.09674, allocations: 0 / 493.9 MB, free: 7.617 MB / 378.7 MB Notification: Performance of matching and sorting (n=6): time 0.0005392/0.09729, allocations: 169.6 kB / 494.1 MB, free: 7.445 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.704e-05/0.09733, allocations: 77.11 kB / 494.1 MB, free: 7.352 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001205/0.09746, allocations: 137.8 kB / 494.3 MB, free: 7.207 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.502e-05/0.09749, allocations: 29.7 kB / 494.3 MB, free: 7.172 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.279e-05/0.09753, allocations: 92.08 kB / 494.4 MB, free: 7.078 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.89e-05/0.09756, allocations: 27.64 kB / 494.4 MB, free: 7.051 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.957e-06/0.09757, allocations: 0 / 494.4 MB, free: 7.051 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.784e-05/0.09766, allocations: 322.8 kB / 494.7 MB, free: 6.727 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.517e-05/0.09774, allocations: 27.97 kB / 494.8 MB, free: 6.699 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.499e-05/0.09783, allocations: 45.77 kB / 494.8 MB, free: 6.648 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001388/0.09797, allocations: 60.83 kB / 494.9 MB, free: 6.586 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.09798, allocations: 3.938 kB / 494.9 MB, free: 6.582 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000186/0.09817, allocations: 101.6 kB / 495 MB, free: 6.477 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.0982, allocations: 8 kB / 495 MB, free: 6.469 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.09821, allocations: 3.984 kB / 495 MB, free: 6.465 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.438e-06/0.09822, allocations: 0 / 495 MB, free: 6.465 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.707e-05/0.09831, allocations: 15.98 kB / 495 MB, free: 6.449 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.09833, allocations: 0 / 495 MB, free: 6.449 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.531e-05/0.09838, allocations: 8 kB / 495 MB, free: 6.441 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.424e-05/0.0984, allocations: 11.92 kB / 495 MB, free: 6.43 MB / 378.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 7.519e-05/0.09848, allocations: 113.8 kB / 495.1 MB, free: 6.309 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.923e-05/0.09851, allocations: 7.906 kB / 495.1 MB, free: 6.301 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002357/0.09875, allocations: 114 kB / 495.3 MB, free: 6.184 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.09877, allocations: 4 kB / 495.3 MB, free: 6.18 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.09878, allocations: 0 / 495.3 MB, free: 6.18 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.09878, allocations: 0 / 495.3 MB, free: 6.18 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003913/0.09918, allocations: 370.4 kB / 495.6 MB, free: 5.762 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.09919, allocations: 3.984 kB / 495.6 MB, free: 5.758 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.887e-05/0.09926, allocations: 16.31 kB / 495.6 MB, free: 5.742 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.09927, allocations: 4 kB / 495.6 MB, free: 5.738 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.446e-06/0.09928, allocations: 4 kB / 495.6 MB, free: 5.734 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.09929, allocations: 7.938 kB / 495.7 MB, free: 5.727 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.0993, allocations: 0 / 495.7 MB, free: 5.727 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002228/0.09952, allocations: 195.4 kB / 495.8 MB, free: 5.52 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.247e-05/0.09957, allocations: 89 kB / 495.9 MB, free: 5.414 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.477e-05/0.0996, allocations: 3.938 kB / 495.9 MB, free: 5.41 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.05e-05/0.09967, allocations: 11.92 kB / 495.9 MB, free: 5.398 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.532e-05/0.09971, allocations: 11.94 kB / 496 MB, free: 5.387 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.651e-06/0.09973, allocations: 0 / 496 MB, free: 5.387 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.699e-05/0.0998, allocations: 107.2 kB / 496.1 MB, free: 5.281 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.734e-06/0.09981, allocations: 0 / 496.1 MB, free: 5.281 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000231/0.1, allocations: 31.94 kB / 496.1 MB, free: 5.25 MB / 378.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.0008237/0.1009, allocations: 446.3 kB / 496.5 MB, free: 4.855 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001932/0.1011, allocations: 67.95 kB / 496.6 MB, free: 4.789 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.1011, allocations: 0 / 496.6 MB, free: 4.789 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.152e-05/0.1012, allocations: 31.92 kB / 496.6 MB, free: 4.758 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002982/0.1015, allocations: 19.97 kB / 496.6 MB, free: 4.738 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003281/0.1018, allocations: 214.2 kB / 496.9 MB, free: 4.496 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002077/0.102, allocations: 0.6926 MB / 497.5 MB, free: 3.777 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.875e-05/0.1021, allocations: 19.42 kB / 497.6 MB, free: 3.762 MB / 378.7 MB Notification: Performance of SimCode: time 2.1e-07/0.1021, allocations: 0 / 497.6 MB, free: 3.762 MB / 378.7 MB Notification: Performance of Templates: time 0.002895/0.105, allocations: 1.688 MB / 499.3 MB, free: 2.074 MB / 378.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 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/jenkins/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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/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 In file included from OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test25_usertabCalcHelperMain.cpp:28: In file included from ./OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test25_usertabFunctions.cpp:5: In file included from /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Resources/Data/Tables/usertab.c:14: /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] {"TestTable_1D_Time", TestTable_1D_Time, 0, {6, 2}} ^ /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] ,{"TestTable_1D_a" , TestTable_1D_a, 1, {4, 2}} ^ /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] ,{"TestTable_1D_b" , TestTable_1D_b, 1, {5, 3}} ^ /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] ,{"TestTable_2D" , TestTable_2D, 2, {5, 4}} ^ In file included from OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test25_usertabCalcHelperMain.cpp:28: ./OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test25_usertabFunctions.cpp:279:18: error: no matching function for call to 'mydummyfunc' dummy_y__ext = mydummyfunc(ConstArray(dummy_u_).getData()); ^~~~~~~~~~~ ./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 double mydummyfunc(double* dummy_in) { ^ 4 warnings and 1 error generated. make: *** [: OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test25_usertabCalcHelperMain.o] Error 1