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.001425/0.001425, allocations: 179.4 kB / 8.363 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.153/2.153, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001511/0.001511, allocations: 89.94 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4089/0.4089, allocations: 43.49 MB / 353.6 MB, free: 2.254 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.628e-05/2.645e-05, allocations: 4.219 kB / 418.2 MB, free: 41.05 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4642/0.4643, allocations: 58.85 MB / 477.1 MB, free: 5.27 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.164/0.6284, allocations: 85.75 MB / 0.5496 GB, free: 13.57 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002902/0.6287, allocations: 71.97 kB / 0.5497 GB, free: 13.5 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.01648/0.6452, allocations: 3.728 MB / 0.5534 GB, free: 9.77 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.6453, allocations: 0 / 0.5534 GB, free: 9.77 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.906e-05/0.6453, allocations: 8 kB / 0.5534 GB, free: 9.762 MB / 395.1 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.0005009/0.6458, allocations: 366.4 kB / 0.5537 GB, free: 9.359 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.544e-05/0.6459, allocations: 8.031 kB / 0.5537 GB, free: 9.352 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.404e-05/0.646, allocations: 7.938 kB / 0.5537 GB, free: 9.344 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003155/0.6463, allocations: 194.8 kB / 0.5539 GB, free: 9.113 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.202e-05/0.6463, allocations: 0 / 0.5539 GB, free: 9.113 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.46e-05/0.6464, allocations: 4 kB / 0.5539 GB, free: 9.109 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001191/0.6465, allocations: 23.98 kB / 0.5539 GB, free: 9.086 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000148/0.6466, allocations: 63.41 kB / 0.554 GB, free: 9.012 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/0.6467, allocations: 3.938 kB / 0.554 GB, free: 9.008 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.571e-05/0.6467, allocations: 4 kB / 0.554 GB, free: 9.004 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.116e-05/0.6467, allocations: 3.938 kB / 0.554 GB, free: 9 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004754/0.6472, allocations: 277.2 kB / 0.5543 GB, free: 8.691 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001367/0.6474, allocations: 42.56 kB / 0.5543 GB, free: 8.641 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.724e-05/0.6474, allocations: 20.98 kB / 0.5543 GB, free: 8.617 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.369e-05/0.6475, allocations: 4 kB / 0.5543 GB, free: 8.613 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.073e-05/0.6475, allocations: 34.56 kB / 0.5544 GB, free: 8.57 MB / 395.1 MB Notification: Performance of pre-optimization done (n=5): time 1.843e-06/0.6475, allocations: 0 / 0.5544 GB, free: 8.57 MB / 395.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006013/0.6481, allocations: 113.4 kB / 0.5545 GB, free: 8.453 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.26e-05/0.6482, allocations: 81.11 kB / 0.5546 GB, free: 8.355 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001781/0.6484, allocations: 132.9 kB / 0.5547 GB, free: 8.219 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.499e-05/0.6484, allocations: 25.7 kB / 0.5547 GB, free: 8.188 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.655e-05/0.6485, allocations: 158.5 kB / 0.5549 GB, free: 8.031 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.558e-05/0.6486, allocations: 19.72 kB / 0.5549 GB, free: 8.012 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.721e-06/0.6486, allocations: 0 / 0.5549 GB, free: 8.012 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001528/0.6488, allocations: 318.8 kB / 0.5552 GB, free: 7.691 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.458e-05/0.6488, allocations: 12 kB / 0.5552 GB, free: 7.68 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.081e-05/0.6489, allocations: 29.72 kB / 0.5552 GB, free: 7.645 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.071e-05/0.649, allocations: 24.08 kB / 0.5552 GB, free: 7.621 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.649, allocations: 0 / 0.5552 GB, free: 7.621 MB / 395.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001726/0.6492, allocations: 65.75 kB / 0.5553 GB, free: 7.551 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.6492, allocations: 4 kB / 0.5553 GB, free: 7.547 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.6492, allocations: 0 / 0.5553 GB, free: 7.547 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.6492, allocations: 4 kB / 0.5553 GB, free: 7.543 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001809/0.6494, allocations: 15.98 kB / 0.5553 GB, free: 7.527 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.6494, allocations: 0 / 0.5553 GB, free: 7.527 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.519e-05/0.6495, allocations: 12 kB / 0.5553 GB, free: 7.516 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.083e-05/0.6496, allocations: 4 kB / 0.5553 GB, free: 7.512 MB / 395.1 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 () * 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.0001011/0.6497, allocations: 116.8 kB / 0.5555 GB, free: 7.391 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.35e-05/0.6497, allocations: 7.906 kB / 0.5555 GB, free: 7.383 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002667/0.65, allocations: 90.56 kB / 0.5556 GB, free: 7.293 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.65, allocations: 0 / 0.5556 GB, free: 7.293 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.65, allocations: 192 / 0.5556 GB, free: 7.293 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.719e-06/0.6501, allocations: 4 kB / 0.5556 GB, free: 7.289 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00054/0.6506, allocations: 339 kB / 0.5559 GB, free: 6.914 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.6506, allocations: 0 / 0.5559 GB, free: 6.914 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001443/0.6508, allocations: 15.98 kB / 0.5559 GB, free: 6.898 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.6508, allocations: 0 / 0.5559 GB, free: 6.898 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.394e-05/0.6508, allocations: 4 kB / 0.5559 GB, free: 6.895 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.434e-06/0.6508, allocations: 0 / 0.5559 GB, free: 6.895 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.6508, allocations: 0 / 0.5559 GB, free: 6.895 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002333/0.6511, allocations: 175.4 kB / 0.5561 GB, free: 6.707 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.49e-05/0.6512, allocations: 89.02 kB / 0.5562 GB, free: 6.602 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.343e-05/0.6512, allocations: 3.938 kB / 0.5562 GB, free: 6.598 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001242/0.6513, allocations: 7.984 kB / 0.5562 GB, free: 6.59 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.124e-05/0.6514, allocations: 4 kB / 0.5562 GB, free: 6.586 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.155e-05/0.6514, allocations: 0 / 0.5562 GB, free: 6.586 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0001136/0.6515, allocations: 107.3 kB / 0.5563 GB, free: 6.48 MB / 395.1 MB Notification: Performance of sort global known variables: time 3.376e-06/0.6516, allocations: 0 / 0.5563 GB, free: 6.48 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0003862/0.652, allocations: 35.92 kB / 0.5563 GB, free: 6.445 MB / 395.1 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 () * 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.001211/0.6532, allocations: 386.8 kB / 0.5567 GB, free: 6.098 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0002307/0.6534, allocations: 39.98 kB / 0.5567 GB, free: 6.059 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.6535, allocations: 0 / 0.5567 GB, free: 6.059 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 6.95e-05/0.6535, allocations: 27.92 kB / 0.5567 GB, free: 6.031 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003254/0.6539, allocations: 15.81 kB / 0.5568 GB, free: 6.016 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004601/0.6543, allocations: 150 kB / 0.5569 GB, free: 5.84 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003667/0.6547, allocations: 0.7001 MB / 0.5576 GB, free: 5.113 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.849e-05/0.6548, allocations: 19.42 kB / 0.5576 GB, free: 5.094 MB / 395.1 MB Notification: Performance of SimCode: time 9.52e-07/0.6548, allocations: 0 / 0.5576 GB, free: 5.094 MB / 395.1 MB Notification: Performance of Templates: time 0.005542/0.6604, allocations: 1.776 MB / 0.5593 GB, free: 3.32 MB / 395.1 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/OMCompiler/build/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/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'