Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test25_usertab.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001794/0.001793, allocations: 171.3 kB / 8.149 MB, free: 2.223 MB / 5.871 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.706/1.706, allocations: 205.2 MB / 213.8 MB, free: 13.93 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001261/0.00126, allocations: 94.61 kB / 261.8 MB, free: 13.64 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.367/0.367, allocations: 43.49 MB / 353.2 MB, free: 2.047 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 8.516e-06/8.656e-06, allocations: 0 / 417.7 MB, free: 40.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3144/0.3145, allocations: 58.83 MB / 476.5 MB, free: 5.105 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2003/0.5149, allocations: 85.78 MB / 0.5491 GB, free: 13.3 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002946/0.5152, allocations: 71.95 kB / 0.5492 GB, free: 13.23 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01514/0.5304, allocations: 3.222 MB / 0.5524 GB, free: 10.02 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.296e-05/0.5304, allocations: 0 / 0.5524 GB, free: 10.02 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.0004771/0.5309, allocations: 378.2 kB / 0.5527 GB, free: 9.602 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/0.531, allocations: 8.031 kB / 0.5527 GB, free: 9.594 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.598e-05/0.531, allocations: 7.906 kB / 0.5527 GB, free: 9.586 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003277/0.5314, allocations: 186.9 kB / 0.5529 GB, free: 9.363 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.571e-05/0.5314, allocations: 4 kB / 0.5529 GB, free: 9.359 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.291e-05/0.5314, allocations: 3.906 kB / 0.5529 GB, free: 9.355 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001027/0.5316, allocations: 20 kB / 0.5529 GB, free: 9.336 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001455/0.5317, allocations: 67.38 kB / 0.553 GB, free: 9.258 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.5317, allocations: 0 / 0.553 GB, free: 9.258 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.298e-05/0.5318, allocations: 0 / 0.553 GB, free: 9.258 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.5318, allocations: 0 / 0.553 GB, free: 9.258 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005008/0.5323, allocations: 265.4 kB / 0.5533 GB, free: 8.961 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.03e-05/0.5324, allocations: 34.56 kB / 0.5533 GB, free: 8.918 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.483e-05/0.5324, allocations: 16.86 kB / 0.5533 GB, free: 8.898 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.958e-05/0.5325, allocations: 0 / 0.5533 GB, free: 8.898 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.167e-05/0.5325, allocations: 30.56 kB / 0.5533 GB, free: 8.859 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 1.463e-06/0.5325, allocations: 0 / 0.5533 GB, free: 8.859 MB / 394.7 MB Notification: Performance of matching and sorting (n=6): time 0.0006191/0.5332, allocations: 125.3 kB / 0.5534 GB, free: 8.73 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.155e-05/0.5332, allocations: 81.11 kB / 0.5535 GB, free: 8.633 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001619/0.5334, allocations: 121 kB / 0.5536 GB, free: 8.508 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.324e-05/0.5334, allocations: 25.7 kB / 0.5537 GB, free: 8.477 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.576e-05/0.5335, allocations: 150.6 kB / 0.5538 GB, free: 8.328 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.226e-05/0.5336, allocations: 19.7 kB / 0.5538 GB, free: 8.309 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.82e-06/0.5336, allocations: 0 / 0.5538 GB, free: 8.309 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001357/0.5337, allocations: 314.8 kB / 0.5541 GB, free: 7.992 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.703e-05/0.5338, allocations: 12 kB / 0.5541 GB, free: 7.98 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.105e-05/0.5339, allocations: 33.64 kB / 0.5542 GB, free: 7.941 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.697e-05/0.5339, allocations: 16.12 kB / 0.5542 GB, free: 7.926 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.494e-06/0.534, allocations: 4 kB / 0.5542 GB, free: 7.922 MB / 394.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001696/0.5341, allocations: 69.52 kB / 0.5543 GB, free: 7.848 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/0.5342, allocations: 10.81 kB / 0.5543 GB, free: 7.84 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.734e-06/0.5342, allocations: 4.188 kB / 0.5543 GB, free: 7.836 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.5342, allocations: 0 / 0.5543 GB, free: 7.836 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001657/0.5344, allocations: 20.03 kB / 0.5543 GB, free: 7.816 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.545e-06/0.5344, allocations: 3.984 kB / 0.5543 GB, free: 7.812 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.052e-05/0.5345, allocations: 8 kB / 0.5543 GB, free: 7.805 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.479e-05/0.5345, allocations: 0 / 0.5543 GB, free: 7.805 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 () * 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 6.255e-05/0.5346, allocations: 31.05 kB / 0.5543 GB, free: 7.77 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.786e-05/0.5346, allocations: 7.906 kB / 0.5543 GB, free: 7.762 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002629/0.5349, allocations: 90.03 kB / 0.5544 GB, free: 7.664 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.197e-06/0.5349, allocations: 3.984 kB / 0.5544 GB, free: 7.66 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/0.535, allocations: 11.84 kB / 0.5544 GB, free: 7.648 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/0.535, allocations: 0 / 0.5544 GB, free: 7.648 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005092/0.5355, allocations: 307.2 kB / 0.5547 GB, free: 7.305 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.5355, allocations: 3.984 kB / 0.5547 GB, free: 7.301 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001256/0.5356, allocations: 12 kB / 0.5547 GB, free: 7.289 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.5357, allocations: 0 / 0.5547 GB, free: 7.289 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.205e-05/0.5357, allocations: 7.906 kB / 0.5548 GB, free: 7.281 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.5357, allocations: 0 / 0.5548 GB, free: 7.281 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.264e-06/0.5357, allocations: 7.984 kB / 0.5548 GB, free: 7.273 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002252/0.5359, allocations: 171.4 kB / 0.5549 GB, free: 7.09 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.419e-05/0.536, allocations: 89 kB / 0.555 GB, free: 6.984 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.539e-05/0.5361, allocations: 0 / 0.555 GB, free: 6.984 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001305/0.5362, allocations: 8 kB / 0.555 GB, free: 6.977 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.963e-05/0.5363, allocations: 7.984 kB / 0.555 GB, free: 6.969 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.014e-05/0.5363, allocations: 192 / 0.555 GB, free: 6.969 MB / 394.7 MB Notification: Performance of sort global known variables: time 9.904e-05/0.5364, allocations: 104.2 kB / 0.5551 GB, free: 6.867 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.00033/0.5367, allocations: 31.92 kB / 0.5552 GB, free: 6.836 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 () * 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.0009762/0.5377, allocations: 346.4 kB / 0.5555 GB, free: 6.531 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001789/0.5379, allocations: 43.92 kB / 0.5555 GB, free: 6.488 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.5379, allocations: 0 / 0.5555 GB, free: 6.488 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.92e-05/0.538, allocations: 16 kB / 0.5555 GB, free: 6.473 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003024/0.5383, allocations: 23.88 kB / 0.5556 GB, free: 6.449 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004453/0.5388, allocations: 133.5 kB / 0.5557 GB, free: 6.285 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004435/0.5392, allocations: 0.7153 MB / 0.5564 GB, free: 5.543 MB / 394.7 MB Notification: Performance of SimCode: time 7.01e-07/0.5392, allocations: 0 / 0.5564 GB, free: 5.543 MB / 394.7 MB Notification: Performance of Templates: time 0.005508/0.5448, allocations: 1.754 MB / 0.5581 GB, free: 3.793 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=7 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/include/omc/cpp/" -I. "-I/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Resources/Data/Tables" -I"." -I"." -I"." "-I/var/lib/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 /var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Resources/Data/Tables/usertab.c:14:\n/var/lib/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/var/lib/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/var/lib/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/var/lib/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'