Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test25_usertab,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test25_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test25_usertab,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test25_usertab",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001431/0.001431, allocations: 185.5 kB / 16.41 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.031/2.031, allocations: 205.4 MB / 222.5 MB, free: 9.129 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.001777/0.001776, allocations: 104 kB / 270.9 MB, free: 8.383 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.5326/0.5326, allocations: 43.55 MB / 362.7 MB, free: 51.91 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004789/0.0004788, allocations: 16 kB / 431.5 MB, free: 5.832 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.131/0.1316, allocations: 58.84 MB / 490.3 MB, free: 10.91 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4766/0.6083, allocations: 86.6 MB / 0.5634 GB, free: 15.8 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003072/0.6086, allocations: 71.91 kB / 0.5635 GB, free: 15.73 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01639/0.625, allocations: 3.592 MB / 0.567 GB, free: 12.18 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.853e-06/0.6251, allocations: 3.938 kB / 0.567 GB, free: 12.17 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.768e-05/0.6251, allocations: 4 kB / 0.567 GB, free: 12.17 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.0005778/0.6257, allocations: 384 kB / 0.5673 GB, free: 11.75 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.066e-05/0.6258, allocations: 8.031 kB / 0.5673 GB, free: 11.74 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.416e-05/0.6258, allocations: 38.56 kB / 0.5674 GB, free: 11.7 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.257e-05/0.6259, allocations: 11.34 kB / 0.5674 GB, free: 11.69 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002946/0.6262, allocations: 196.4 kB / 0.5676 GB, free: 11.46 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.142e-05/0.6262, allocations: 0 / 0.5676 GB, free: 11.46 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.328e-05/0.6262, allocations: 4 kB / 0.5676 GB, free: 11.45 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002348/0.6265, allocations: 70.52 kB / 0.5677 GB, free: 11.38 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.6265, allocations: 0 / 0.5677 GB, free: 11.38 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.223e-05/0.6265, allocations: 0 / 0.5677 GB, free: 11.38 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.6266, allocations: 0 / 0.5677 GB, free: 11.38 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001759/0.6267, allocations: 44.94 kB / 0.5677 GB, free: 11.33 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005484/0.6273, allocations: 284.9 kB / 0.568 GB, free: 11 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001488/0.6275, allocations: 42.56 kB / 0.568 GB, free: 10.95 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.356e-05/0.6275, allocations: 4 kB / 0.568 GB, free: 10.95 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.753e-05/0.6276, allocations: 30.56 kB / 0.568 GB, free: 10.91 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 1.763e-06/0.6276, allocations: 0 / 0.568 GB, free: 10.91 MB / 394.7 MB Notification: Performance of matching and sorting (n=6): time 0.0009435/0.6286, allocations: 181.3 kB / 0.5682 GB, free: 10.73 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.424e-05/0.6286, allocations: 85.06 kB / 0.5683 GB, free: 10.62 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001763/0.6288, allocations: 117 kB / 0.5684 GB, free: 10.5 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.595e-05/0.6289, allocations: 29.7 kB / 0.5684 GB, free: 10.47 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.477e-05/0.629, allocations: 158.5 kB / 0.5686 GB, free: 10.31 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.748e-05/0.629, allocations: 27.59 kB / 0.5686 GB, free: 10.29 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.232e-06/0.629, allocations: 0 / 0.5686 GB, free: 10.29 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000161/0.6292, allocations: 318.8 kB / 0.5689 GB, free: 9.965 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001343/0.6294, allocations: 31.91 kB / 0.5689 GB, free: 9.934 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001567/0.6295, allocations: 37.89 kB / 0.569 GB, free: 9.891 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001466/0.6297, allocations: 32.02 kB / 0.569 GB, free: 9.859 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.6297, allocations: 0 / 0.569 GB, free: 9.859 MB / 394.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003608/0.6301, allocations: 93.66 kB / 0.5691 GB, free: 9.762 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.149e-05/0.6301, allocations: 4 kB / 0.5691 GB, free: 9.758 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.6301, allocations: 0 / 0.5691 GB, free: 9.758 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/0.6302, allocations: 0 / 0.5691 GB, free: 9.758 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000153/0.6303, allocations: 19.98 kB / 0.5691 GB, free: 9.738 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.132e-05/0.6303, allocations: 7.938 kB / 0.5691 GB, free: 9.73 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.061e-05/0.6304, allocations: 7.953 kB / 0.5691 GB, free: 9.723 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.977e-05/0.6305, allocations: 0 / 0.5691 GB, free: 9.723 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 () * Number of clocked 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 0.0001346/0.6306, allocations: 121.8 kB / 0.5693 GB, free: 9.594 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.463e-05/0.6307, allocations: 7.906 kB / 0.5693 GB, free: 9.586 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000437/0.6311, allocations: 118.3 kB / 0.5694 GB, free: 9.465 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.813e-06/0.6311, allocations: 7.938 kB / 0.5694 GB, free: 9.457 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.6311, allocations: 0 / 0.5694 GB, free: 9.457 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.6312, allocations: 0 / 0.5694 GB, free: 9.457 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007569/0.6319, allocations: 378.4 kB / 0.5697 GB, free: 9.031 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.6319, allocations: 0 / 0.5697 GB, free: 9.031 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001183/0.6321, allocations: 15.98 kB / 0.5698 GB, free: 9.016 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.2e-06/0.6321, allocations: 0 / 0.5698 GB, free: 9.016 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.104e-05/0.6321, allocations: 0 / 0.5698 GB, free: 9.016 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/0.6321, allocations: 0 / 0.5698 GB, free: 9.016 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.155e-06/0.6321, allocations: 7.953 kB / 0.5698 GB, free: 9.008 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004148/0.6326, allocations: 203.4 kB / 0.57 GB, free: 8.793 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.135e-05/0.6326, allocations: 85 kB / 0.57 GB, free: 8.691 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.753e-05/0.6327, allocations: 4 kB / 0.57 GB, free: 8.688 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001148/0.6328, allocations: 12 kB / 0.5701 GB, free: 8.676 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.582e-05/0.6329, allocations: 7.984 kB / 0.5701 GB, free: 8.668 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.354e-05/0.6329, allocations: 3.953 kB / 0.5701 GB, free: 8.664 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001243/0.633, allocations: 106.5 kB / 0.5702 GB, free: 8.562 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.515e-06/0.633, allocations: 0 / 0.5702 GB, free: 8.562 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003699/0.6334, allocations: 35.92 kB / 0.5702 GB, free: 8.527 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 () * Number of clocked 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.002019/0.6354, allocations: 1.081 MB / 0.5713 GB, free: 7.523 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000434/0.6359, allocations: 67.95 kB / 0.5713 GB, free: 7.457 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/0.6359, allocations: 0 / 0.5713 GB, free: 7.457 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001521/0.6361, allocations: 31.92 kB / 0.5714 GB, free: 7.426 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002987/0.6364, allocations: 20.23 kB / 0.5714 GB, free: 7.406 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001538/0.638, allocations: 0.5889 MB / 0.572 GB, free: 6.766 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003414/0.6383, allocations: 0.6926 MB / 0.5726 GB, free: 6.047 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001046/0.6385, allocations: 31.42 kB / 0.5727 GB, free: 6.02 MB / 394.7 MB Notification: Performance of SimCode: time 1.704e-06/0.6385, allocations: 3.938 kB / 0.5727 GB, free: 6.016 MB / 394.7 MB Error: Error building simulator. Build log: clang++ -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DSUNDIALS_MAJOR_VERSION=2 -DSUNDIALS_MINOR_VERSION=6 -DPMC_USE_SUNDIALS -DFMU_BUILD -DRUNTIME_STATIC_LINKING -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp" -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -I"." "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Resources/Data/Tables" -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 In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test25_usertabCalcHelperMain.cpp:28: In file included from ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test25_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_CombiTable1D_Test25_usertabCalcHelperMain.cpp:28: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test25_usertabFunctions.cpp:300:18: error: no matching function for call to 'mydummyfunc' dummy_y__ext = mydummyfunc(ConstArray(dummy_u_).getData()); ^~~~~~~~~~~ ./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 double mydummyfunc(double* dummy_in) { ^ In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test25_usertabCalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test25_usertabFMU.cpp:11: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/FMU2/FMU2Wrapper.cpp:93:11: warning: 6 enumeration values not handled in switch: 'LC_INIT', 'LC_LS', 'LC_SOLVER'... [-Wswitch] switch (cat) { ^ 5 warnings and 1 error generated. : recipe for target 'OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test25_usertabCalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test25_usertabCalcHelperMain.o] Error 1