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.001483/0.001483, allocations: 180.9 kB / 13.66 MB, free: 1.664 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.071/2.071, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001127/0.001126, allocations: 78.72 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3246/0.3246, allocations: 43.48 MB / 359.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 6.545e-05/6.566e-05, allocations: 4 kB / 425.4 MB, free: 23.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.122/0.1221, allocations: 58.85 MB / 484.2 MB, free: 12.37 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.504/0.6262, allocations: 86.5 MB / 0.5574 GB, free: 0.6406 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002501/0.6265, allocations: 78.36 kB / 0.5574 GB, free: 0.6016 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0153/0.6418, allocations: 3.587 MB / 0.5609 GB, free: 13.57 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.6419, allocations: 0 / 0.5609 GB, free: 13.57 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.68e-05/0.6419, allocations: 4 kB / 0.5609 GB, free: 13.57 MB / 378.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.0004975/0.6424, allocations: 374.8 kB / 0.5613 GB, free: 13.16 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.163e-05/0.6425, allocations: 8.031 kB / 0.5613 GB, free: 13.16 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.321e-05/0.6425, allocations: 34.55 kB / 0.5613 GB, free: 13.11 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.929e-05/0.6426, allocations: 11.91 kB / 0.5614 GB, free: 13.1 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002951/0.6429, allocations: 190.5 kB / 0.5615 GB, free: 12.88 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.086e-05/0.6429, allocations: 4 kB / 0.5615 GB, free: 12.88 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.444e-05/0.6429, allocations: 0 / 0.5615 GB, free: 12.88 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001694/0.6431, allocations: 59.09 kB / 0.5616 GB, free: 12.82 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.527e-05/0.6432, allocations: 4 kB / 0.5616 GB, free: 12.81 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.337e-05/0.6432, allocations: 3.875 kB / 0.5616 GB, free: 12.81 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.6432, allocations: 0 / 0.5616 GB, free: 12.81 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.32e-05/0.6433, allocations: 19.69 kB / 0.5616 GB, free: 12.8 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005124/0.6438, allocations: 288.1 kB / 0.5619 GB, free: 12.48 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.027e-05/0.6439, allocations: 38.38 kB / 0.5619 GB, free: 12.44 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.782e-05/0.644, allocations: 16.48 kB / 0.562 GB, free: 12.43 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.022e-05/0.644, allocations: 0 / 0.562 GB, free: 12.43 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.935e-05/0.6441, allocations: 42.5 kB / 0.562 GB, free: 12.38 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.854e-06/0.6441, allocations: 0 / 0.562 GB, free: 12.38 MB / 378.7 MB Notification: Performance of matching and sorting (n=6): time 0.0005627/0.6447, allocations: 121 kB / 0.5621 GB, free: 12.27 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.614e-05/0.6448, allocations: 84.94 kB / 0.5622 GB, free: 12.17 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000162/0.6449, allocations: 122.1 kB / 0.5623 GB, free: 12.05 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.495e-05/0.645, allocations: 33.2 kB / 0.5623 GB, free: 12.02 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.715e-05/0.6451, allocations: 154.4 kB / 0.5625 GB, free: 11.87 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.608e-05/0.6451, allocations: 27.64 kB / 0.5625 GB, free: 11.84 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.023e-06/0.6451, allocations: 3.5 kB / 0.5625 GB, free: 11.84 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001338/0.6453, allocations: 310.8 kB / 0.5628 GB, free: 11.53 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.903e-05/0.6453, allocations: 11.88 kB / 0.5628 GB, free: 11.52 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.957e-05/0.6454, allocations: 33.45 kB / 0.5629 GB, free: 11.49 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.546e-05/0.6455, allocations: 11.94 kB / 0.5629 GB, free: 11.48 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.6455, allocations: 0 / 0.5629 GB, free: 11.48 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001673/0.6457, allocations: 73.36 kB / 0.5629 GB, free: 11.41 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.868e-05/0.6457, allocations: 8.031 kB / 0.5629 GB, free: 11.41 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/0.6457, allocations: 4.062 kB / 0.5629 GB, free: 11.4 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/0.6457, allocations: 4 kB / 0.5629 GB, free: 11.4 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001721/0.6459, allocations: 19.92 kB / 0.563 GB, free: 11.38 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/0.6459, allocations: 0 / 0.563 GB, free: 11.38 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.412e-05/0.646, allocations: 11.89 kB / 0.563 GB, free: 11.37 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.09e-05/0.6461, allocations: 4 kB / 0.563 GB, free: 11.36 MB / 378.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 8.855e-05/0.6462, allocations: 110.4 kB / 0.5631 GB, free: 11.25 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.268e-05/0.6462, allocations: 8.047 kB / 0.5631 GB, free: 11.25 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002432/0.6465, allocations: 89.64 kB / 0.5632 GB, free: 11.17 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.6465, allocations: 0 / 0.5632 GB, free: 11.17 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.904e-06/0.6465, allocations: 0 / 0.5632 GB, free: 11.17 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.6465, allocations: 3.938 kB / 0.5632 GB, free: 11.17 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005195/0.6471, allocations: 345.2 kB / 0.5635 GB, free: 10.8 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.534e-06/0.6471, allocations: 0 / 0.5635 GB, free: 10.8 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001351/0.6472, allocations: 19.98 kB / 0.5635 GB, free: 10.79 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/0.6472, allocations: 0 / 0.5635 GB, free: 10.79 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.346e-05/0.6473, allocations: 4 kB / 0.5635 GB, free: 10.78 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.6473, allocations: 0 / 0.5635 GB, free: 10.78 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/0.6473, allocations: 3.953 kB / 0.5635 GB, free: 10.78 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002335/0.6475, allocations: 170.6 kB / 0.5637 GB, free: 10.61 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.728e-05/0.6476, allocations: 85 kB / 0.5638 GB, free: 10.51 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.561e-05/0.6477, allocations: 4 kB / 0.5638 GB, free: 10.5 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001145/0.6478, allocations: 15.86 kB / 0.5638 GB, free: 10.49 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.172e-05/0.6478, allocations: 8.141 kB / 0.5638 GB, free: 10.48 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.274e-05/0.6479, allocations: 4 kB / 0.5638 GB, free: 10.48 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001229/0.648, allocations: 107.6 kB / 0.5639 GB, free: 10.38 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.076e-06/0.648, allocations: 0 / 0.5639 GB, free: 10.38 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003498/0.6484, allocations: 31.88 kB / 0.5639 GB, free: 10.36 MB / 378.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.001714/0.6501, allocations: 1.005 MB / 0.5649 GB, free: 9.395 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001883/0.6503, allocations: 39.73 kB / 0.565 GB, free: 9.367 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.6504, allocations: 3.938 kB / 0.565 GB, free: 9.363 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.943e-05/0.6504, allocations: 31.62 kB / 0.565 GB, free: 9.34 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002936/0.6508, allocations: 15.97 kB / 0.565 GB, free: 9.324 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006573/0.6514, allocations: 194.8 kB / 0.5652 GB, free: 9.109 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003505/0.6518, allocations: 0.6965 MB / 0.5659 GB, free: 8.387 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001012/0.6519, allocations: 26.98 kB / 0.5659 GB, free: 8.367 MB / 378.7 MB Notification: Performance of SimCode: time 8.01e-07/0.6519, allocations: 3.938 kB / 0.5659 GB, free: 8.363 MB / 378.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