Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test66_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.CombiTimeTable.Test66_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|realExpression.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test66_usertab") translateModel(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|realExpression.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test66_usertab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008699/0.0008698, allocations: 177.3 kB / 17.41 MB, free: 4.414 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.325/1.325, allocations: 205.4 MB / 223.6 MB, free: 9.043 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.0007744/0.0007745, allocations: 85.08 kB / 271.9 MB, free: 8.285 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.4261/0.4261, allocations: 43.56 MB / 363.7 MB, free: 52.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003874/0.0003875, allocations: 20 kB / 432.6 MB, free: 5.891 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1409/0.1413, allocations: 58.86 MB / 491.5 MB, free: 10.95 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4244/0.5657, allocations: 87.85 MB / 0.5657 GB, free: 14.59 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002626/0.566, allocations: 83.94 kB / 0.5658 GB, free: 14.5 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01512/0.5811, allocations: 5.237 MB / 0.5709 GB, free: 9.309 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.5812, allocations: 0 / 0.5709 GB, free: 9.309 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.519e-05/0.5812, allocations: 4 kB / 0.5709 GB, free: 9.305 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.0007095/0.5819, allocations: 410.1 kB / 0.5713 GB, free: 8.855 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.042e-05/0.582, allocations: 8.031 kB / 0.5713 GB, free: 8.848 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.525e-05/0.5821, allocations: 8.844 kB / 0.5713 GB, free: 8.84 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003724/0.5825, allocations: 223 kB / 0.5716 GB, free: 8.586 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.15e-05/0.5825, allocations: 4.375 kB / 0.5716 GB, free: 8.582 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.283e-05/0.5825, allocations: 384 / 0.5716 GB, free: 8.582 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002006/0.5827, allocations: 79.89 kB / 0.5716 GB, free: 8.492 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.313e-05/0.5828, allocations: 4.188 kB / 0.5716 GB, free: 8.488 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.547e-05/0.5828, allocations: 3.938 kB / 0.5716 GB, free: 8.484 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.5828, allocations: 0 / 0.5716 GB, free: 8.484 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.215e-05/0.5829, allocations: 27.97 kB / 0.5717 GB, free: 8.457 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004888/0.5834, allocations: 300.7 kB / 0.572 GB, free: 8.113 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001879/0.5836, allocations: 58.5 kB / 0.572 GB, free: 8.047 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.587e-05/0.5837, allocations: 28.97 kB / 0.572 GB, free: 8.016 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.998e-05/0.5837, allocations: 0 / 0.572 GB, free: 8.016 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001719/0.5839, allocations: 80 kB / 0.5721 GB, free: 7.926 MB / 394.7 MB Notification: Performance of pre-optimization done (n=7): time 1.483e-06/0.5839, allocations: 0 / 0.5721 GB, free: 7.926 MB / 394.7 MB Notification: Performance of matching and sorting (n=9): time 0.0006433/0.5845, allocations: 177.3 kB / 0.5723 GB, free: 7.746 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.824e-05/0.5846, allocations: 81.11 kB / 0.5724 GB, free: 7.648 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001755/0.5848, allocations: 163.7 kB / 0.5725 GB, free: 7.484 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.98e-05/0.5848, allocations: 25.7 kB / 0.5725 GB, free: 7.453 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.931e-05/0.5849, allocations: 100.1 kB / 0.5726 GB, free: 7.352 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.075e-05/0.5849, allocations: 27.56 kB / 0.5727 GB, free: 7.324 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.19e-06/0.585, allocations: 0 / 0.5727 GB, free: 7.324 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001505/0.5851, allocations: 326.8 kB / 0.573 GB, free: 6.996 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.328e-05/0.5852, allocations: 23.98 kB / 0.573 GB, free: 6.973 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.687e-05/0.5853, allocations: 46.56 kB / 0.573 GB, free: 6.918 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000171/0.5854, allocations: 66.67 kB / 0.5731 GB, free: 6.848 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.5855, allocations: 0 / 0.5731 GB, free: 6.848 MB / 394.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002128/0.5857, allocations: 109.5 kB / 0.5732 GB, free: 6.734 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.5857, allocations: 4 kB / 0.5732 GB, free: 6.73 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.5857, allocations: 4 kB / 0.5732 GB, free: 6.727 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.5857, allocations: 0 / 0.5732 GB, free: 6.727 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.975e-05/0.5858, allocations: 20.05 kB / 0.5732 GB, free: 6.707 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.999e-06/0.5859, allocations: 4 kB / 0.5732 GB, free: 6.703 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.759e-05/0.5859, allocations: 11.94 kB / 0.5733 GB, free: 6.691 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.227e-05/0.5859, allocations: 3.938 kB / 0.5733 GB, free: 6.688 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0001254/0.5861, allocations: 129.4 kB / 0.5734 GB, free: 6.555 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.184e-05/0.5861, allocations: 7.906 kB / 0.5734 GB, free: 6.547 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002893/0.5864, allocations: 130.3 kB / 0.5735 GB, free: 6.414 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.5864, allocations: 0 / 0.5735 GB, free: 6.414 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.5864, allocations: 4 kB / 0.5735 GB, free: 6.41 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.5864, allocations: 0 / 0.5735 GB, free: 6.41 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005321/0.587, allocations: 415.2 kB / 0.5739 GB, free: 5.945 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.587, allocations: 0 / 0.5739 GB, free: 5.945 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.785e-05/0.587, allocations: 11.94 kB / 0.5739 GB, free: 5.934 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.09e-06/0.587, allocations: 4 kB / 0.5739 GB, free: 5.93 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.471e-05/0.5871, allocations: 7.984 kB / 0.5739 GB, free: 5.922 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.5871, allocations: 0 / 0.5739 GB, free: 5.922 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/0.5871, allocations: 11.97 kB / 0.5739 GB, free: 5.91 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002654/0.5874, allocations: 208.4 kB / 0.5741 GB, free: 5.688 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.214e-05/0.5874, allocations: 93.09 kB / 0.5742 GB, free: 5.578 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.711e-05/0.5875, allocations: 3.938 kB / 0.5742 GB, free: 5.574 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.397e-05/0.5875, allocations: 8 kB / 0.5742 GB, free: 5.566 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.369e-05/0.5876, allocations: 11.92 kB / 0.5743 GB, free: 5.555 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.4e-05/0.5876, allocations: 11.98 kB / 0.5743 GB, free: 5.543 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001188/0.5877, allocations: 120.5 kB / 0.5744 GB, free: 5.426 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.5878, allocations: 0 / 0.5744 GB, free: 5.426 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003034/0.5881, allocations: 47.92 kB / 0.5744 GB, free: 5.379 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001217/0.5893, allocations: 0.5022 MB / 0.5749 GB, free: 4.973 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002288/0.5895, allocations: 67.84 kB / 0.575 GB, free: 4.906 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.5895, allocations: 4 kB / 0.575 GB, free: 4.902 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 8.264e-05/0.5896, allocations: 36.05 kB / 0.575 GB, free: 4.867 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003354/0.59, allocations: 31.91 kB / 0.575 GB, free: 4.836 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005218/0.5905, allocations: 257.9 kB / 0.5753 GB, free: 4.555 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003129/0.5908, allocations: 0.6926 MB / 0.576 GB, free: 3.836 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.825e-05/0.5909, allocations: 27.42 kB / 0.576 GB, free: 3.809 MB / 394.7 MB Notification: Performance of SimCode: time 2.4e-07/0.5909, allocations: 0 / 0.576 GB, free: 3.809 MB / 394.7 MB Notification: Performance of Templates: time 0.004815/0.5957, allocations: 2.138 MB / 0.5781 GB, free: 1.684 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.makefile make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test66_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/jenkins1/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/jenkins1/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.CombiTimeTable.Test66_usertabCalcHelperMain.o OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test66_usertabCalcHelperMain.cpp In file included from OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test66_usertabCalcHelperMain.cpp:28: In file included from ./OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test66_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.CombiTimeTable.Test66_usertabCalcHelperMain.cpp:28: ./OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test66_usertabFunctions.cpp:320:18: error: no matching function for call to 'mydummyfunc' dummy_y__ext = mydummyfunc(ConstArray(dummy_u_).getData()); ^~~~~~~~~~~ ./OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test66_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.CombiTimeTable.Test66_usertabCalcHelperMain.o] Error 1