Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test25_usertab,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_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.001532/0.001537, allocations: 179.3 kB / 13.66 MB, free: 1.66 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.15/2.15, 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.0011/0.001099, allocations: 90.36 kB / 267.5 MB, free: 14.05 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.2885/0.2885, allocations: 43.49 MB / 359.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.519e-05/3.53e-05, allocations: 4 kB / 425.4 MB, free: 23.28 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1272/0.1272, allocations: 58.87 MB / 484.2 MB, free: 12.37 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5026/0.6299, allocations: 86.4 MB / 0.5573 GB, free: 0.7539 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003634/0.6303, allocations: 75.66 kB / 0.5573 GB, free: 0.7148 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01674/0.6471, allocations: 3.756 MB / 0.561 GB, free: 13.54 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.724e-06/0.6471, allocations: 0 / 0.561 GB, free: 13.54 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.504e-05/0.6472, allocations: 4 kB / 0.561 GB, free: 13.54 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005306/0.6477, allocations: 370.2 kB / 0.5614 GB, free: 13.14 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.363e-05/0.6478, allocations: 16.03 kB / 0.5614 GB, free: 13.12 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.186e-05/0.6479, allocations: 30.56 kB / 0.5614 GB, free: 13.08 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.487e-05/0.6479, allocations: 7.906 kB / 0.5614 GB, free: 13.07 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002897/0.6482, allocations: 194 kB / 0.5616 GB, free: 12.85 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.397e-05/0.6482, allocations: 4 kB / 0.5616 GB, free: 12.85 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.052e-05/0.6483, allocations: 0 / 0.5616 GB, free: 12.85 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000187/0.6485, allocations: 73.52 kB / 0.5617 GB, free: 12.77 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.795e-05/0.6485, allocations: 0 / 0.5617 GB, free: 12.77 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.263e-05/0.6485, allocations: 3.938 kB / 0.5617 GB, free: 12.77 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.6485, allocations: 4 kB / 0.5617 GB, free: 12.77 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001038/0.6487, allocations: 26.92 kB / 0.5617 GB, free: 12.75 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005114/0.6492, allocations: 291.8 kB / 0.562 GB, free: 12.43 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001569/0.6494, allocations: 55.75 kB / 0.562 GB, free: 12.38 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.797e-05/0.6494, allocations: 24.28 kB / 0.5621 GB, free: 12.36 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.311e-05/0.6495, allocations: 4 kB / 0.5621 GB, free: 12.35 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.511e-05/0.6495, allocations: 37.19 kB / 0.5621 GB, free: 12.31 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.884e-06/0.6495, allocations: 0 / 0.5621 GB, free: 12.31 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0005961/0.6501, allocations: 126.8 kB / 0.5622 GB, free: 12.2 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.922e-05/0.6502, allocations: 81.14 kB / 0.5623 GB, free: 12.1 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001797/0.6504, allocations: 131.6 kB / 0.5624 GB, free: 11.98 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.634e-05/0.6505, allocations: 25.7 kB / 0.5625 GB, free: 11.95 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.066e-05/0.6506, allocations: 171.9 kB / 0.5626 GB, free: 11.78 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.291e-05/0.6506, allocations: 18.78 kB / 0.5626 GB, free: 11.77 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.483e-06/0.6506, allocations: 0 / 0.5626 GB, free: 11.77 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001471/0.6508, allocations: 318.2 kB / 0.5629 GB, free: 11.45 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.067e-05/0.6508, allocations: 11.19 kB / 0.563 GB, free: 11.44 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.811e-05/0.6509, allocations: 28.03 kB / 0.563 GB, free: 11.41 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.136e-05/0.651, allocations: 21.98 kB / 0.563 GB, free: 11.4 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.651, allocations: 0 / 0.563 GB, free: 11.4 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001857/0.6512, allocations: 74.84 kB / 0.5631 GB, free: 11.33 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/0.6512, allocations: 4 kB / 0.5631 GB, free: 11.32 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.6513, allocations: 4 kB / 0.5631 GB, free: 11.32 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.6513, allocations: 0 / 0.5631 GB, free: 11.32 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001723/0.6515, allocations: 15.98 kB / 0.5631 GB, free: 11.3 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.6515, allocations: 0 / 0.5631 GB, free: 11.3 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.117e-05/0.6516, allocations: 15.33 kB / 0.5631 GB, free: 11.29 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.972e-05/0.6516, allocations: 0 / 0.5631 GB, free: 11.29 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 (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 9.451e-05/0.6517, allocations: 116 kB / 0.5632 GB, free: 11.18 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.448e-05/0.6518, allocations: 7.906 kB / 0.5632 GB, free: 11.17 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002709/0.6521, allocations: 98.83 kB / 0.5633 GB, free: 11.09 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-06/0.6521, allocations: 0 / 0.5633 GB, free: 11.09 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.6521, allocations: 0 / 0.5633 GB, free: 11.09 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/0.6521, allocations: 0 / 0.5633 GB, free: 11.09 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005364/0.6527, allocations: 356.6 kB / 0.5637 GB, free: 10.71 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.6527, allocations: 7.984 kB / 0.5637 GB, free: 10.7 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001306/0.6528, allocations: 16.12 kB / 0.5637 GB, free: 10.69 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.908e-06/0.6528, allocations: 0 / 0.5637 GB, free: 10.69 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.806e-05/0.6529, allocations: 11.12 kB / 0.5637 GB, free: 10.68 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.427e-05/0.6529, allocations: 3.984 kB / 0.5637 GB, free: 10.68 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.96e-06/0.6529, allocations: 3.953 kB / 0.5637 GB, free: 10.67 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002318/0.6532, allocations: 168.9 kB / 0.5639 GB, free: 10.5 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.653e-05/0.6533, allocations: 89 kB / 0.564 GB, free: 10.4 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.502e-05/0.6533, allocations: 7.312 kB / 0.564 GB, free: 10.39 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001158/0.6534, allocations: 8 kB / 0.564 GB, free: 10.39 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.543e-05/0.6535, allocations: 7.938 kB / 0.564 GB, free: 10.38 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.274e-05/0.6535, allocations: 4 kB / 0.564 GB, free: 10.38 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001202/0.6536, allocations: 108.8 kB / 0.5641 GB, free: 10.28 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.71e-07/0.6537, allocations: 4 kB / 0.5641 GB, free: 10.28 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003518/0.654, allocations: 23.44 kB / 0.5641 GB, free: 10.26 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 (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.001673/0.6557, allocations: 1.015 MB / 0.5651 GB, free: 9.289 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001924/0.6559, allocations: 49.61 kB / 0.5651 GB, free: 9.25 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.6559, allocations: 0 / 0.5651 GB, free: 9.25 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.056e-05/0.656, allocations: 22.94 kB / 0.5652 GB, free: 9.234 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002859/0.6563, allocations: 18.12 kB / 0.5652 GB, free: 9.223 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006721/0.657, allocations: 207 kB / 0.5654 GB, free: 8.988 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003498/0.6574, allocations: 0.6926 MB / 0.5661 GB, free: 8.27 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.939e-05/0.6575, allocations: 25.86 kB / 0.5661 GB, free: 8.254 MB / 378.7 MB Notification: Performance of SimCode: time 1.242e-06/0.6575, allocations: 4 kB / 0.5661 GB, free: 8.25 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_CombiTable1Ds_Test25_usertabCalcHelperMain.o OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test25_usertabCalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test25_usertabCalcHelperMain.cpp:28: In file included from ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_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_CombiTable1Ds_Test25_usertabCalcHelperMain.cpp:28: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_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_CombiTable1Ds_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_CombiTable1Ds_Test25_usertabCalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_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_CombiTable1Ds_Test25_usertabCalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test25_usertabCalcHelperMain.o] Error 1