Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.219/2.219, allocations: 234.9 MB / 250.5 MB, free: 9.699 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004196/0.0004197, allocations: 16 kB / 314.4 MB, free: 9.648 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3464/0.3468, allocations: 54.85 MB / 369.3 MB, free: 12.78 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab): time 0.00242/0.3493, allocations: 1.239 MB / 370.5 MB, free: 11.52 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007313/0.3501, allocations: 273.2 kB / 370.8 MB, free: 11.25 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.117e-05/0.3501, allocations: 0 / 370.8 MB, free: 11.25 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000202/0.3504, allocations: 15.86 kB / 370.8 MB, free: 11.24 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001565/0.3505, allocations: 23.97 kB / 370.8 MB, free: 11.21 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001506/0.3507, allocations: 35.84 kB / 370.8 MB, free: 11.18 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001444/0.3509, allocations: 43.89 kB / 370.9 MB, free: 11.14 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001224/0.351, allocations: 11.98 kB / 370.9 MB, free: 11.12 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.769e-05/0.3511, allocations: 27.91 kB / 370.9 MB, free: 11.1 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.494e-05/0.3511, allocations: 15.92 kB / 370.9 MB, free: 11.08 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.178e-05/0.3512, allocations: 4 kB / 370.9 MB, free: 11.08 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001153/0.3513, allocations: 31.98 kB / 371 MB, free: 11.05 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.541e-05/0.3513, allocations: 11.92 kB / 371 MB, free: 11.04 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.842e-05/0.3514, allocations: 33.7 kB / 371 MB, free: 11 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001851/0.3516, allocations: 71.83 kB / 371.1 MB, free: 10.93 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.534e-06/0.3516, allocations: 0 / 371.1 MB, free: 10.93 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.314e-06/0.3516, allocations: 0 / 371.1 MB, free: 10.93 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.348e-06/0.3516, allocations: 0 / 371.1 MB, free: 10.93 MB / 298.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.0005184/0.3522, allocations: 398.4 kB / 371.5 MB, free: 10.48 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.33e-05/0.3522, allocations: 11.97 kB / 371.5 MB, free: 10.47 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.364e-05/0.3523, allocations: 38.55 kB / 371.5 MB, free: 10.43 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.741e-05/0.3523, allocations: 15.8 kB / 371.5 MB, free: 10.41 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002118/0.3525, allocations: 175.1 kB / 371.7 MB, free: 10.2 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.855e-06/0.3526, allocations: 0 / 371.7 MB, free: 10.2 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.023e-05/0.3526, allocations: 4 kB / 371.7 MB, free: 10.2 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002473/0.3529, allocations: 83.38 kB / 371.8 MB, free: 10.1 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.507e-05/0.3529, allocations: 0 / 371.8 MB, free: 10.1 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.141e-05/0.3529, allocations: 3.938 kB / 371.8 MB, free: 10.1 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.3529, allocations: 4 kB / 371.8 MB, free: 10.09 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001948/0.3531, allocations: 51.86 kB / 371.9 MB, free: 10.04 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000444/0.3536, allocations: 288.7 kB / 372.1 MB, free: 9.711 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002014/0.3538, allocations: 66.55 kB / 372.2 MB, free: 9.637 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.547e-05/0.3538, allocations: 0 / 372.2 MB, free: 9.637 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.148e-05/0.3539, allocations: 34.5 kB / 372.2 MB, free: 9.594 MB / 298.7 MB Notification: Performance of pre-optimization done (n=5): time 1.443e-06/0.3539, allocations: 0 / 372.2 MB, free: 9.594 MB / 298.7 MB Notification: Performance of matching and sorting (n=7): time 0.0009261/0.3548, allocations: 193.6 kB / 372.4 MB, free: 9.398 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.125e-05/0.3549, allocations: 85.05 kB / 372.5 MB, free: 9.297 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001646/0.3551, allocations: 125.8 kB / 372.6 MB, free: 9.164 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.352e-05/0.3551, allocations: 29.7 kB / 372.7 MB, free: 9.129 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.598e-05/0.3552, allocations: 158.6 kB / 372.8 MB, free: 8.973 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.336e-05/0.3553, allocations: 23.56 kB / 372.8 MB, free: 8.949 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.842e-06/0.3553, allocations: 0 / 372.8 MB, free: 8.949 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001188/0.3554, allocations: 322.8 kB / 373.2 MB, free: 8.625 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001455/0.3556, allocations: 23.98 kB / 373.2 MB, free: 8.602 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001661/0.3557, allocations: 53.69 kB / 373.2 MB, free: 8.543 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000174/0.3559, allocations: 61.91 kB / 373.3 MB, free: 8.477 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.3559, allocations: 0 / 373.3 MB, free: 8.477 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004144/0.3564, allocations: 139.4 kB / 373.4 MB, free: 8.328 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.517e-05/0.3564, allocations: 29.7 kB / 373.5 MB, free: 8.293 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.3564, allocations: 11.89 kB / 373.5 MB, free: 8.281 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.3565, allocations: 0 / 373.5 MB, free: 8.281 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001603/0.3566, allocations: 15.98 kB / 373.5 MB, free: 8.266 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.017e-05/0.3567, allocations: 4 kB / 373.5 MB, free: 8.262 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.097e-05/0.3568, allocations: 4 kB / 373.5 MB, free: 8.258 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.301e-05/0.3568, allocations: 4 kB / 373.5 MB, free: 8.254 MB / 298.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 (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.0001104/0.3569, allocations: 121.8 kB / 373.6 MB, free: 8.125 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.233e-05/0.357, allocations: 7.906 kB / 373.6 MB, free: 8.117 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004495/0.3574, allocations: 129.8 kB / 373.8 MB, free: 7.98 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.772e-06/0.3574, allocations: 3.953 kB / 373.8 MB, free: 7.977 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/0.3575, allocations: 8 kB / 373.8 MB, free: 7.969 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.506e-06/0.3575, allocations: 3.984 kB / 373.8 MB, free: 7.965 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006739/0.3582, allocations: 366.5 kB / 374.1 MB, free: 7.551 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.3582, allocations: 0 / 374.1 MB, free: 7.551 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001346/0.3583, allocations: 23.98 kB / 374.2 MB, free: 7.527 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.158e-06/0.3583, allocations: 3.953 kB / 374.2 MB, free: 7.523 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.291e-05/0.3584, allocations: 7.938 kB / 374.2 MB, free: 7.516 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.3584, allocations: 0 / 374.2 MB, free: 7.516 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.438e-06/0.3584, allocations: 4 kB / 374.2 MB, free: 7.512 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004011/0.3588, allocations: 199.4 kB / 374.4 MB, free: 7.301 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.37e-05/0.3589, allocations: 85 kB / 374.4 MB, free: 7.199 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.835e-05/0.3589, allocations: 7.953 kB / 374.5 MB, free: 7.191 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00013/0.359, allocations: 4.375 kB / 374.5 MB, free: 7.188 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.807e-05/0.3591, allocations: 11.98 kB / 374.5 MB, free: 7.176 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.392e-05/0.3591, allocations: 4 kB / 374.5 MB, free: 7.172 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001017/0.3592, allocations: 99.27 kB / 374.6 MB, free: 7.074 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.3593, allocations: 0 / 374.6 MB, free: 7.074 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003487/0.3596, allocations: 35.98 kB / 374.6 MB, free: 7.039 MB / 298.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 (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.001739/0.3614, allocations: 1.021 MB / 375.6 MB, free: 6.086 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004499/0.3618, allocations: 131.4 kB / 375.8 MB, free: 5.945 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.3619, allocations: 0 / 375.8 MB, free: 5.945 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001581/0.362, allocations: 35.92 kB / 375.8 MB, free: 5.91 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002684/0.3623, allocations: 15.94 kB / 375.8 MB, free: 5.895 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008348/0.3632, allocations: 424.5 kB / 376.2 MB, free: 5.426 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002721/0.3635, allocations: 0.7003 MB / 376.9 MB, free: 4.699 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001037/0.3636, allocations: 27.38 kB / 376.9 MB, free: 4.672 MB / 298.7 MB Notification: Performance of SimCode: time 1.452e-06/0.3636, allocations: 4 kB / 376.9 MB, free: 4.668 MB / 298.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=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -DFMU_BUILD -DRUNTIME_STATIC_LINKING -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp" -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -I"." "-I/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Resources/Data/Tables" -DUSE_LOGGER -c -o OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test25_usertabCalcHelperMain.o OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test25_usertabCalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test25_usertabCalcHelperMain.cpp:28: In file included from ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test25_usertabFunctions.cpp:5: In file included from /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Resources/Data/Tables/usertab.c:14: /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/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}} ^ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/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}} ^ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/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}} ^ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/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_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test25_usertabCalcHelperMain.cpp:28: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test25_usertabFunctions.cpp:193:18: error: no matching function for call to 'mydummyfunc' dummy_y__ext = mydummyfunc(ConstArray(dummy_u_).getData()); ^~~~~~~~~~~ ./OMCppModelicaTest_3_2_2_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_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test25_usertabCalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test25_usertabFMU.cpp:11: /var/lib/jenkins/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_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test25_usertabCalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test25_usertabCalcHelperMain.o] Error 1