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.001485/0.001485, allocations: 181.5 kB / 8.365 MB, free: 0.7109 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.037/2.037, allocations: 205.3 MB / 214.1 MB, free: 14.08 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001142/0.001142, allocations: 78.56 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3039/0.3039, allocations: 43.49 MB / 353.6 MB, free: 2.266 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.412e-05/2.424e-05, allocations: 4.219 kB / 418.3 MB, free: 40.94 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4275/0.4275, allocations: 58.85 MB / 477.2 MB, free: 5.152 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2054/0.633, allocations: 85.75 MB / 0.5497 GB, free: 13.45 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003102/0.6334, allocations: 71.95 kB / 0.5498 GB, free: 13.38 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.02286/0.6563, allocations: 3.729 MB / 0.5534 GB, free: 9.648 MB / 395.1 MB Notification: Performance of FrontEnd: time 2.625e-06/0.6563, allocations: 0 / 0.5534 GB, free: 9.648 MB / 395.1 MB Notification: Performance of Transformations before backend: time 2.01e-05/0.6564, allocations: 0 / 0.5534 GB, free: 9.648 MB / 395.1 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.0007131/0.6571, allocations: 367.1 kB / 0.5538 GB, free: 9.246 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.063e-05/0.6572, allocations: 12.03 kB / 0.5538 GB, free: 9.234 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.765e-05/0.6573, allocations: 7.906 kB / 0.5538 GB, free: 9.227 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004517/0.6578, allocations: 204.1 kB / 0.554 GB, free: 8.988 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.927e-05/0.6578, allocations: 4 kB / 0.554 GB, free: 8.984 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.408e-05/0.6578, allocations: 0 / 0.554 GB, free: 8.984 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001698/0.658, allocations: 27.98 kB / 0.554 GB, free: 8.957 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001939/0.6582, allocations: 55.41 kB / 0.5541 GB, free: 8.891 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.967e-05/0.6583, allocations: 0 / 0.5541 GB, free: 8.891 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.9e-05/0.6583, allocations: 11.88 kB / 0.5541 GB, free: 8.879 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.6584, allocations: 0 / 0.5541 GB, free: 8.879 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000638/0.659, allocations: 277.2 kB / 0.5544 GB, free: 8.57 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001976/0.6592, allocations: 50.56 kB / 0.5544 GB, free: 8.512 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.794e-05/0.6593, allocations: 16.98 kB / 0.5544 GB, free: 8.492 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.113e-05/0.6594, allocations: 4 kB / 0.5544 GB, free: 8.488 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.918e-05/0.6594, allocations: 30.56 kB / 0.5545 GB, free: 8.449 MB / 395.1 MB Notification: Performance of pre-optimization done (n=5): time 2.535e-06/0.6595, allocations: 0 / 0.5545 GB, free: 8.449 MB / 395.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008519/0.6603, allocations: 129.5 kB / 0.5546 GB, free: 8.316 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.004e-05/0.6604, allocations: 77.11 kB / 0.5547 GB, free: 8.223 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000235/0.6607, allocations: 124.9 kB / 0.5548 GB, free: 8.094 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.438e-05/0.6607, allocations: 25.7 kB / 0.5548 GB, free: 8.062 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001111/0.6608, allocations: 166.5 kB / 0.555 GB, free: 7.898 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.71e-05/0.6609, allocations: 19.7 kB / 0.555 GB, free: 7.879 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.025e-06/0.6609, allocations: 0 / 0.555 GB, free: 7.879 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001871/0.6611, allocations: 318.8 kB / 0.5553 GB, free: 7.559 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.488e-05/0.6612, allocations: 12 kB / 0.5553 GB, free: 7.547 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.881e-05/0.6613, allocations: 25.7 kB / 0.5553 GB, free: 7.516 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.243e-05/0.6614, allocations: 16.12 kB / 0.5553 GB, free: 7.5 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.6615, allocations: 0 / 0.5553 GB, free: 7.5 MB / 395.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002658/0.6618, allocations: 73.66 kB / 0.5554 GB, free: 7.422 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.586e-05/0.6618, allocations: 4 kB / 0.5554 GB, free: 7.418 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.6618, allocations: 0 / 0.5554 GB, free: 7.418 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.6619, allocations: 0 / 0.5554 GB, free: 7.418 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002547/0.6621, allocations: 19.98 kB / 0.5554 GB, free: 7.398 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-06/0.6622, allocations: 0 / 0.5554 GB, free: 7.398 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000129/0.6623, allocations: 7.984 kB / 0.5554 GB, free: 7.391 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.891e-05/0.6623, allocations: 4 kB / 0.5554 GB, free: 7.387 MB / 395.1 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 0.0001262/0.6625, allocations: 112.9 kB / 0.5556 GB, free: 7.27 MB / 395.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002828/0.6628, allocations: 81.52 kB / 0.5556 GB, free: 7.184 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.632e-05/0.6629, allocations: 7.906 kB / 0.5556 GB, free: 7.176 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003688/0.6633, allocations: 86.66 kB / 0.5557 GB, free: 7.09 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.471e-06/0.6633, allocations: 0 / 0.5557 GB, free: 7.09 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.453e-06/0.6633, allocations: 0 / 0.5557 GB, free: 7.09 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.109e-05/0.6633, allocations: 3.953 kB / 0.5557 GB, free: 7.086 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007773/0.6641, allocations: 335 kB / 0.556 GB, free: 6.715 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.089e-06/0.6642, allocations: 0 / 0.556 GB, free: 6.715 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002102/0.6644, allocations: 15.98 kB / 0.5561 GB, free: 6.699 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.514e-06/0.6644, allocations: 4 kB / 0.5561 GB, free: 6.695 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.546e-05/0.6644, allocations: 0 / 0.5561 GB, free: 6.695 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.6645, allocations: 0 / 0.5561 GB, free: 6.695 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.056e-06/0.6645, allocations: 3.953 kB / 0.5561 GB, free: 6.691 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003252/0.6648, allocations: 167.4 kB / 0.5562 GB, free: 6.512 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.471e-05/0.6649, allocations: 97 kB / 0.5563 GB, free: 6.398 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.334e-05/0.665, allocations: 0 / 0.5563 GB, free: 6.398 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001839/0.6652, allocations: 11.97 kB / 0.5563 GB, free: 6.387 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.64e-05/0.6653, allocations: 8.125 kB / 0.5563 GB, free: 6.379 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.54e-05/0.6653, allocations: 11.95 kB / 0.5564 GB, free: 6.367 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0001552/0.6655, allocations: 107.3 kB / 0.5565 GB, free: 6.262 MB / 395.1 MB Notification: Performance of sort global known variables: time 7.31e-07/0.6655, allocations: 4 kB / 0.5565 GB, free: 6.258 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0006135/0.6661, allocations: 23.98 kB / 0.5565 GB, free: 6.234 MB / 395.1 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.002333/0.6685, allocations: 0.9841 MB / 0.5574 GB, free: 5.273 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0002835/0.6688, allocations: 39.98 kB / 0.5575 GB, free: 5.234 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 5.61e-06/0.6689, allocations: 0 / 0.5575 GB, free: 5.234 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 9.258e-05/0.669, allocations: 20 kB / 0.5575 GB, free: 5.215 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004609/0.6695, allocations: 15.84 kB / 0.5575 GB, free: 5.199 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009618/0.6704, allocations: 203.9 kB / 0.5577 GB, free: 4.957 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004721/0.6709, allocations: 0.7029 MB / 0.5584 GB, free: 4.23 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001653/0.6711, allocations: 27.42 kB / 0.5584 GB, free: 4.203 MB / 395.1 MB Notification: Performance of SimCode: time 1.603e-06/0.6712, allocations: 0 / 0.5584 GB, free: 4.203 MB / 395.1 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/OMCompiler/build/include/omc/cpp" -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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/OMCompiler/build/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