Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.|d_t_new.y|realExpression.y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test66_usertab") Notification: Performance of loadModel(ModelicaTest): time 1.892/1.892, allocations: 209.3 MB / 224.9 MB, free: 200 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004394/0.0004395, allocations: 16 kB / 282.6 MB, free: 9.586 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2908/0.2913, allocations: 48.7 MB / 331.3 MB, free: 6.492 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1128/0.4042, allocations: 75.97 MB / 407.3 MB, free: 2.477 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002407/0.4044, allocations: 71.97 kB / 407.3 MB, free: 2.406 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01666/0.4211, allocations: 3.882 MB / 411.2 MB, free: 14.52 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.386e-06/0.4212, allocations: 0 / 411.2 MB, free: 14.52 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.212e-05/0.4212, allocations: 0 / 411.2 MB, free: 14.52 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005814/0.4218, allocations: 420.7 kB / 411.6 MB, free: 14.06 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/0.4218, allocations: 8.031 kB / 411.6 MB, free: 14.05 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.571e-05/0.4219, allocations: 11.91 kB / 411.6 MB, free: 14.04 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002717/0.4222, allocations: 194.9 kB / 411.8 MB, free: 13.81 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.436e-05/0.4222, allocations: 0 / 411.8 MB, free: 13.81 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.513e-05/0.4222, allocations: 4 kB / 411.8 MB, free: 13.8 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001585/0.4224, allocations: 63.39 kB / 411.9 MB, free: 13.73 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.4224, allocations: 0 / 411.9 MB, free: 13.73 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.171e-05/0.4225, allocations: 0 / 411.9 MB, free: 13.73 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.332e-06/0.4225, allocations: 0 / 411.9 MB, free: 13.73 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.051e-05/0.4226, allocations: 23.92 kB / 411.9 MB, free: 13.71 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004685/0.423, allocations: 296.9 kB / 412.2 MB, free: 13.37 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.604e-05/0.4232, allocations: 42.55 kB / 412.2 MB, free: 13.32 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.099e-05/0.4232, allocations: 0 / 412.2 MB, free: 13.32 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001455/0.4234, allocations: 63.42 kB / 412.3 MB, free: 13.24 MB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 2.281e-06/0.4234, allocations: 0 / 412.3 MB, free: 13.24 MB / 346.7 MB Notification: Performance of matching and sorting (n=6): time 0.0005088/0.4239, allocations: 129.3 kB / 412.4 MB, free: 13.11 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.31e-05/0.424, allocations: 81.05 kB / 412.5 MB, free: 13.01 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001755/0.4242, allocations: 131.1 kB / 412.6 MB, free: 12.88 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.805e-05/0.4242, allocations: 25.7 kB / 412.7 MB, free: 12.85 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001119/0.4243, allocations: 158.6 kB / 412.8 MB, free: 12.69 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.123e-05/0.4244, allocations: 23.67 kB / 412.8 MB, free: 12.67 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.947e-06/0.4244, allocations: 0 / 412.8 MB, free: 12.67 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001634/0.4246, allocations: 322.8 kB / 413.2 MB, free: 12.34 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.165e-05/0.4247, allocations: 27.98 kB / 413.2 MB, free: 12.32 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.992e-05/0.4248, allocations: 33.7 kB / 413.2 MB, free: 12.28 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001001/0.4249, allocations: 53.73 kB / 413.3 MB, free: 12.22 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.699e-06/0.4249, allocations: 0 / 413.3 MB, free: 12.22 MB / 346.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002673/0.4252, allocations: 127.7 kB / 413.4 MB, free: 12.08 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.58e-05/0.4252, allocations: 34.64 kB / 413.4 MB, free: 12.04 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.583e-06/0.4252, allocations: 0 / 413.4 MB, free: 12.04 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.113e-05/0.4253, allocations: 0 / 413.4 MB, free: 12.04 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.208e-05/0.4254, allocations: 15.98 kB / 413.4 MB, free: 12.03 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.382e-06/0.4254, allocations: 8.031 kB / 413.5 MB, free: 12.02 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.473e-05/0.4255, allocations: 4 kB / 413.5 MB, free: 12.02 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.598e-05/0.4255, allocations: 4 kB / 413.5 MB, free: 12.01 MB / 346.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: 3 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 1 * 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.0001304/0.4256, allocations: 125.7 kB / 413.6 MB, free: 11.88 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.828e-05/0.4257, allocations: 7.906 kB / 413.6 MB, free: 11.87 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002665/0.426, allocations: 94.03 kB / 413.7 MB, free: 11.78 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.31e-06/0.426, allocations: 0 / 413.7 MB, free: 11.78 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.916e-06/0.426, allocations: 0 / 413.7 MB, free: 11.78 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.366e-06/0.426, allocations: 4 kB / 413.7 MB, free: 11.77 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005013/0.4265, allocations: 358.5 kB / 414 MB, free: 11.37 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.601e-06/0.4266, allocations: 4 kB / 414 MB, free: 11.36 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.481e-05/0.4266, allocations: 4 kB / 414 MB, free: 11.36 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.115e-06/0.4266, allocations: 4 kB / 414.1 MB, free: 11.36 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.112e-05/0.4267, allocations: 0 / 414.1 MB, free: 11.36 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.377e-06/0.4267, allocations: 0 / 414.1 MB, free: 11.36 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.518e-06/0.4267, allocations: 3.984 kB / 414.1 MB, free: 11.35 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002589/0.4269, allocations: 187.7 kB / 414.2 MB, free: 11.15 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.386e-05/0.427, allocations: 92.94 kB / 414.3 MB, free: 11.04 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.011e-05/0.4271, allocations: 4 kB / 414.3 MB, free: 11.04 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.643e-05/0.4272, allocations: 0 / 414.3 MB, free: 11.04 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.88e-05/0.4272, allocations: 4 kB / 414.3 MB, free: 11.04 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.068e-05/0.4273, allocations: 11.98 kB / 414.3 MB, free: 11.02 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001191/0.4274, allocations: 99.83 kB / 414.4 MB, free: 10.93 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.875e-06/0.4274, allocations: 4 kB / 414.5 MB, free: 10.92 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004089/0.4278, allocations: 59.75 kB / 414.5 MB, free: 10.86 MB / 346.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: 2 ($whenCondition1,t_new.nextTimeEvent) * Number of discrete states: 1 (t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.001492/0.4293, allocations: 461 kB / 415 MB, free: 10.49 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002512/0.4296, allocations: 107.4 kB / 415.1 MB, free: 10.38 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.15e-06/0.4296, allocations: 3.938 kB / 415.1 MB, free: 10.37 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 7.233e-05/0.4297, allocations: 23.98 kB / 415.1 MB, free: 10.35 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002697/0.43, allocations: 15.92 kB / 415.1 MB, free: 10.33 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004954/0.4305, allocations: 207.5 kB / 415.3 MB, free: 10.09 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003845/0.4309, allocations: 0.6965 MB / 416 MB, free: 9.371 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.118e-05/0.431, allocations: 15.44 kB / 416 MB, free: 9.355 MB / 346.7 MB Notification: Performance of SimCode: time 1.597e-06/0.431, allocations: 0 / 416 MB, free: 9.355 MB / 346.7 MB Notification: Performance of Templates: time 0.004952/0.436, allocations: 2.021 MB / 418 MB, free: 7.34 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test66_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/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. "-I/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Resources/Data/Tables" -I"." -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/include/omc/c/sundials" "-I/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Resources/Data/Tables" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test66_usertabCalcHelperMain.o OMCppModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test66_usertabCalcHelperMain.cpp\nIn file included from OMCppModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test66_usertabCalcHelperMain.cpp:28:\nIn file included from ./OMCppModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test66_usertabFunctions.cpp:5:\nIn file included from /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Resources/Data/Tables/usertab.c:14:\n/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/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/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/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/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/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/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/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.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test66_usertabCalcHelperMain.cpp:28:\n./OMCppModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test66_usertabFunctions.cpp:364:18: error: no matching function for call to \'mydummyfunc\'\n dummy_y__ext = mydummyfunc(ConstArray(dummy_u_).getData());\n ^~~~~~~~~~~\n./OMCppModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test66_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.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test66_usertabCalcHelperMain.o\' failed\nmake: *** [OMCppModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test66_usertabCalcHelperMain.o] Error 1\n'