Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.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.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") [: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.00164/0.001641, allocations: 171.3 kB / 8.147 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.69/1.69, 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.001248/0.001248, allocations: 97.77 kB / 261.8 MB, free: 13.63 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.2562/0.2562, allocations: 43.49 MB / 353.2 MB, free: 2.043 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.024e-05/1.039e-05, allocations: 0 / 417.7 MB, free: 40.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2745/0.2745, allocations: 58.84 MB / 476.5 MB, free: 5.078 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1524/0.427, allocations: 85.68 MB / 0.549 GB, free: 13.41 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002663/0.4273, allocations: 67.47 kB / 0.5491 GB, free: 13.35 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01591/0.4432, allocations: 3.394 MB / 0.5524 GB, free: 9.957 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.61e-05/0.4433, allocations: 4 kB / 0.5524 GB, free: 9.953 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.0004988/0.4438, allocations: 374.2 kB / 0.5528 GB, free: 9.543 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.4439, allocations: 8.031 kB / 0.5528 GB, free: 9.535 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.021e-05/0.4439, allocations: 7.906 kB / 0.5528 GB, free: 9.527 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003054/0.4442, allocations: 198.8 kB / 0.553 GB, free: 9.293 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.167e-05/0.4443, allocations: 0 / 0.553 GB, free: 9.293 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.599e-05/0.4443, allocations: 4 kB / 0.553 GB, free: 9.289 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001187/0.4444, allocations: 16 kB / 0.553 GB, free: 9.273 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001501/0.4446, allocations: 75.33 kB / 0.5531 GB, free: 9.188 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.4446, allocations: 0 / 0.5531 GB, free: 9.188 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.4446, allocations: 0 / 0.5531 GB, free: 9.188 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-06/0.4447, allocations: 0 / 0.5531 GB, free: 9.188 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004672/0.4451, allocations: 265.4 kB / 0.5533 GB, free: 8.891 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001089/0.4453, allocations: 37.72 kB / 0.5534 GB, free: 8.848 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.358e-05/0.4453, allocations: 20.97 kB / 0.5534 GB, free: 8.824 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.261e-05/0.4454, allocations: 4.062 kB / 0.5534 GB, free: 8.82 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.472e-05/0.4454, allocations: 42.44 kB / 0.5534 GB, free: 8.77 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 1.713e-06/0.4454, allocations: 0 / 0.5534 GB, free: 8.77 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0006082/0.446, allocations: 121.3 kB / 0.5535 GB, free: 8.645 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.57e-05/0.4461, allocations: 81.11 kB / 0.5536 GB, free: 8.547 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001718/0.4463, allocations: 130.3 kB / 0.5537 GB, free: 8.414 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.494e-05/0.4463, allocations: 25.7 kB / 0.5538 GB, free: 8.383 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.211e-05/0.4464, allocations: 158.5 kB / 0.5539 GB, free: 8.227 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.409e-05/0.4465, allocations: 19.7 kB / 0.5539 GB, free: 8.207 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.301e-06/0.4465, allocations: 0 / 0.5539 GB, free: 8.207 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001405/0.4466, allocations: 314.8 kB / 0.5542 GB, free: 7.891 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.84e-05/0.4467, allocations: 12 kB / 0.5543 GB, free: 7.879 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.63e-05/0.4468, allocations: 29.72 kB / 0.5543 GB, free: 7.844 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.328e-05/0.4468, allocations: 20.05 kB / 0.5543 GB, free: 7.824 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.4469, allocations: 0 / 0.5543 GB, free: 7.824 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001877/0.447, allocations: 65.69 kB / 0.5544 GB, free: 7.754 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.4471, allocations: 7.281 kB / 0.5544 GB, free: 7.75 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.4471, allocations: 0 / 0.5544 GB, free: 7.75 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.964e-05/0.4471, allocations: 7.906 kB / 0.5544 GB, free: 7.742 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001897/0.4473, allocations: 20.02 kB / 0.5544 GB, free: 7.723 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/0.4473, allocations: 0 / 0.5544 GB, free: 7.723 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.264e-05/0.4474, allocations: 8 kB / 0.5544 GB, free: 7.715 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.92e-05/0.4475, allocations: 3.984 kB / 0.5544 GB, free: 7.711 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 (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 6.747e-05/0.4475, allocations: 35.05 kB / 0.5544 GB, free: 7.672 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.628e-05/0.4476, allocations: 7.906 kB / 0.5545 GB, free: 7.664 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002922/0.4479, allocations: 94.33 kB / 0.5545 GB, free: 7.566 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.195e-06/0.4479, allocations: 4 kB / 0.5545 GB, free: 7.562 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-06/0.4479, allocations: 4.094 kB / 0.5545 GB, free: 7.559 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.588e-06/0.448, allocations: 0 / 0.5545 GB, free: 7.559 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005382/0.4485, allocations: 335 kB / 0.5549 GB, free: 7.188 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.4485, allocations: 0 / 0.5549 GB, free: 7.188 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001469/0.4487, allocations: 15.98 kB / 0.5549 GB, free: 7.172 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.714e-06/0.4487, allocations: 3.906 kB / 0.5549 GB, free: 7.168 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.315e-05/0.4487, allocations: 8 kB / 0.5549 GB, free: 7.16 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-06/0.4487, allocations: 0 / 0.5549 GB, free: 7.16 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.333e-06/0.4487, allocations: 3.984 kB / 0.5549 GB, free: 7.156 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002413/0.449, allocations: 167.4 kB / 0.5551 GB, free: 6.977 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.906e-05/0.4491, allocations: 85.02 kB / 0.5551 GB, free: 6.875 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.92e-05/0.4491, allocations: 3.984 kB / 0.5551 GB, free: 6.871 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000132/0.4493, allocations: 8 kB / 0.5552 GB, free: 6.863 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.285e-05/0.4493, allocations: 7.984 kB / 0.5552 GB, free: 6.855 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.369e-05/0.4493, allocations: 4 kB / 0.5552 GB, free: 6.852 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001156/0.4495, allocations: 112.7 kB / 0.5553 GB, free: 6.742 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003213/0.4498, allocations: 24 kB / 0.5553 GB, free: 6.719 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 (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.0009978/0.4508, allocations: 356.3 kB / 0.5556 GB, free: 6.402 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001846/0.451, allocations: 39.97 kB / 0.5557 GB, free: 6.363 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.451, allocations: 0 / 0.5557 GB, free: 6.363 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 7.187e-05/0.4511, allocations: 27.94 kB / 0.5557 GB, free: 6.336 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003113/0.4514, allocations: 11.98 kB / 0.5557 GB, free: 6.324 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004662/0.4519, allocations: 137.2 kB / 0.5558 GB, free: 6.16 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004758/0.4524, allocations: 0.7153 MB / 0.5565 GB, free: 5.418 MB / 394.7 MB Notification: Performance of SimCode: time 9.61e-07/0.4524, allocations: 0 / 0.5565 GB, free: 5.418 MB / 394.7 MB Notification: Performance of Templates: time 0.005527/0.458, allocations: 1.801 MB / 0.5583 GB, free: 3.621 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=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.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 /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.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'