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.002497/0.002496, allocations: 188.9 kB / 16.4 MB, free: 5.625 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.299/2.299, allocations: 205.4 MB / 222.5 MB, free: 13.85 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.001205/0.001204, allocations: 90.86 kB / 270.9 MB, free: 13.37 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.3144/0.3144, allocations: 43.56 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006447/0.000645, allocations: 12 kB / 431.5 MB, free: 20.18 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1274/0.1281, allocations: 58.85 MB / 490.3 MB, free: 9.25 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test25_usertab): time 0.002761/0.1309, allocations: 1.272 MB / 491.6 MB, free: 7.961 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009646/0.132, allocations: 303.8 kB / 491.9 MB, free: 7.66 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.665e-05/0.1321, allocations: 4 kB / 491.9 MB, free: 7.656 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002335/0.1323, allocations: 15.92 kB / 491.9 MB, free: 7.641 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000202/0.1325, allocations: 35.84 kB / 491.9 MB, free: 7.605 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004015/0.133, allocations: 75.83 kB / 492 MB, free: 7.531 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001464/0.1331, allocations: 35.95 kB / 492 MB, free: 7.496 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001103/0.1332, allocations: 16.16 kB / 492.1 MB, free: 7.48 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.275e-05/0.1333, allocations: 19.88 kB / 492.1 MB, free: 7.461 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.494e-05/0.1334, allocations: 19.92 kB / 492.1 MB, free: 7.441 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.705e-05/0.1334, allocations: 0 / 492.1 MB, free: 7.441 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001549/0.1336, allocations: 39.84 kB / 492.1 MB, free: 7.402 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 3.947e-05/0.1336, allocations: 8 kB / 492.1 MB, free: 7.395 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 3.861e-05/0.1337, allocations: 33.64 kB / 492.2 MB, free: 7.355 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001987/0.1339, allocations: 68.17 kB / 492.2 MB, free: 7.289 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.1339, allocations: 0 / 492.2 MB, free: 7.289 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.1339, allocations: 0 / 492.2 MB, free: 7.289 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.344e-06/0.1339, allocations: 0 / 492.2 MB, free: 7.289 MB / 330.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.0005959/0.1345, allocations: 375.2 kB / 492.6 MB, free: 6.875 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.33e-05/0.1346, allocations: 12.02 kB / 492.6 MB, free: 6.863 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.317e-05/0.1347, allocations: 30.56 kB / 492.7 MB, free: 6.824 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.452e-05/0.1347, allocations: 11.86 kB / 492.7 MB, free: 6.812 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002515/0.135, allocations: 190.9 kB / 492.9 MB, free: 6.586 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.536e-05/0.135, allocations: 4 kB / 492.9 MB, free: 6.582 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.604e-05/0.1351, allocations: 7.984 kB / 492.9 MB, free: 6.574 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002608/0.1353, allocations: 75.34 kB / 492.9 MB, free: 6.488 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.356e-05/0.1354, allocations: 0 / 492.9 MB, free: 6.488 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.289e-05/0.1354, allocations: 0 / 492.9 MB, free: 6.488 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.1354, allocations: 0 / 492.9 MB, free: 6.488 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001718/0.1356, allocations: 35.97 kB / 493 MB, free: 6.453 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005493/0.1361, allocations: 288.9 kB / 493.3 MB, free: 6.121 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001448/0.1363, allocations: 42.5 kB / 493.3 MB, free: 6.07 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.112e-05/0.1363, allocations: 4 kB / 493.3 MB, free: 6.066 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.158e-05/0.1364, allocations: 34.56 kB / 493.3 MB, free: 6.023 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 2.275e-06/0.1364, allocations: 0 / 493.3 MB, free: 6.023 MB / 330.7 MB Notification: Performance of matching and sorting (n=6): time 0.0009445/0.1374, allocations: 181.2 kB / 493.5 MB, free: 5.84 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.799e-05/0.1375, allocations: 77.11 kB / 493.6 MB, free: 5.746 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001916/0.1377, allocations: 141.8 kB / 493.7 MB, free: 5.598 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.681e-05/0.1377, allocations: 29.7 kB / 493.8 MB, free: 5.562 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.466e-05/0.1378, allocations: 158.5 kB / 493.9 MB, free: 5.406 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.686e-05/0.1378, allocations: 23.7 kB / 493.9 MB, free: 5.383 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.72e-06/0.1379, allocations: 0 / 493.9 MB, free: 5.383 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001489/0.138, allocations: 310.8 kB / 494.2 MB, free: 5.07 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000138/0.1382, allocations: 27.98 kB / 494.3 MB, free: 5.043 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001579/0.1383, allocations: 45.69 kB / 494.3 MB, free: 4.992 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001496/0.1385, allocations: 27.98 kB / 494.3 MB, free: 4.965 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.1385, allocations: 0 / 494.3 MB, free: 4.965 MB / 330.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003707/0.1389, allocations: 101.6 kB / 494.4 MB, free: 4.859 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.105e-05/0.1389, allocations: 4 kB / 494.4 MB, free: 4.855 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.139, allocations: 0 / 494.4 MB, free: 4.855 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.668e-05/0.139, allocations: 0 / 494.4 MB, free: 4.855 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001891/0.1392, allocations: 19.94 kB / 494.5 MB, free: 4.836 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.234e-06/0.1392, allocations: 4 kB / 494.5 MB, free: 4.832 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.723e-05/0.1393, allocations: 4 kB / 494.5 MB, free: 4.828 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.913e-05/0.1393, allocations: 0 / 494.5 MB, free: 4.828 MB / 330.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.0001332/0.1395, allocations: 125.8 kB / 494.6 MB, free: 4.695 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.217e-05/0.1395, allocations: 7.906 kB / 494.6 MB, free: 4.688 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004387/0.14, allocations: 110 kB / 494.7 MB, free: 4.57 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.974e-06/0.14, allocations: 8.297 kB / 494.7 MB, free: 4.562 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.124e-06/0.14, allocations: 7.953 kB / 494.7 MB, free: 4.555 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.14, allocations: 0 / 494.7 MB, free: 4.555 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007244/0.1408, allocations: 374.5 kB / 495.1 MB, free: 4.133 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.681e-06/0.1408, allocations: 0 / 495.1 MB, free: 4.133 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001218/0.1409, allocations: 19.92 kB / 495.1 MB, free: 4.113 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.983e-06/0.1409, allocations: 4 kB / 495.1 MB, free: 4.109 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.418e-05/0.141, allocations: 3.953 kB / 495.1 MB, free: 4.105 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/0.141, allocations: 0 / 495.1 MB, free: 4.105 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.141, allocations: 0 / 495.1 MB, free: 4.105 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004137/0.1414, allocations: 199.4 kB / 495.3 MB, free: 3.895 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.124e-05/0.1415, allocations: 85 kB / 495.4 MB, free: 3.793 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.55e-05/0.1415, allocations: 0 / 495.4 MB, free: 3.793 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000111/0.1417, allocations: 11.95 kB / 495.4 MB, free: 3.781 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.973e-05/0.1417, allocations: 8.266 kB / 495.4 MB, free: 3.773 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.429e-05/0.1418, allocations: 4 kB / 495.4 MB, free: 3.77 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001231/0.1419, allocations: 99.27 kB / 495.5 MB, free: 3.672 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.174e-06/0.1419, allocations: 7.938 kB / 495.5 MB, free: 3.664 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003641/0.1423, allocations: 31.92 kB / 495.6 MB, free: 3.633 MB / 330.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.002023/0.1443, allocations: 1.065 MB / 496.6 MB, free: 2.598 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004198/0.1448, allocations: 67.91 kB / 496.7 MB, free: 2.531 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.1448, allocations: 4 kB / 496.7 MB, free: 2.527 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001513/0.1449, allocations: 31.97 kB / 496.7 MB, free: 2.496 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000329/0.1453, allocations: 19.94 kB / 496.7 MB, free: 2.477 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001499/0.1468, allocations: 0.567 MB / 497.3 MB, free: 1.855 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003882/0.1472, allocations: 0.7004 MB / 498 MB, free: 1.129 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001171/0.1474, allocations: 27.42 kB / 498 MB, free: 1.102 MB / 330.7 MB Notification: Performance of SimCode: time 1.763e-06/0.1474, allocations: 0 / 498 MB, free: 1.102 MB / 330.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/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