Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test66_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.CombiTimeTable.Test66_usertab,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test66_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test66_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.001525/0.001525, allocations: 188.4 kB / 16.41 MB, free: 5.723 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.07/2.07, allocations: 205.4 MB / 222.5 MB, free: 9.109 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.001177/0.001176, allocations: 88.42 kB / 270.9 MB, free: 8.375 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.544/0.544, allocations: 43.55 MB / 362.7 MB, free: 51.96 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004826/0.0004827, allocations: 12 kB / 431.5 MB, free: 5.848 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1463/0.1468, allocations: 58.85 MB / 490.3 MB, free: 10.91 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5332/0.6801, allocations: 87.81 MB / 0.5646 GB, free: 14.57 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003263/0.6805, allocations: 75.95 kB / 0.5647 GB, free: 14.5 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02425/0.7047, allocations: 5.249 MB / 0.5698 GB, free: 9.297 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.903e-06/0.7048, allocations: 0 / 0.5698 GB, free: 9.297 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.472e-05/0.7048, allocations: 0 / 0.5698 GB, free: 9.297 MB / 394.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.0007225/0.7056, allocations: 417.8 kB / 0.5702 GB, free: 8.844 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.619e-05/0.7056, allocations: 12.03 kB / 0.5702 GB, free: 8.832 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.466e-05/0.7057, allocations: 38.55 kB / 0.5702 GB, free: 8.785 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.335e-05/0.7058, allocations: 11.34 kB / 0.5702 GB, free: 8.777 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003987/0.7062, allocations: 198.9 kB / 0.5704 GB, free: 8.543 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.08e-05/0.7062, allocations: 4 kB / 0.5704 GB, free: 8.539 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.998e-05/0.7063, allocations: 3.906 kB / 0.5704 GB, free: 8.535 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000238/0.7065, allocations: 79.31 kB / 0.5705 GB, free: 8.445 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.823e-05/0.7065, allocations: 5.031 kB / 0.5705 GB, free: 8.441 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.56e-05/0.7066, allocations: 4 kB / 0.5705 GB, free: 8.438 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.481e-06/0.7066, allocations: 0 / 0.5705 GB, free: 8.438 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001332/0.7067, allocations: 24.81 kB / 0.5705 GB, free: 8.414 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005405/0.7073, allocations: 296.8 kB / 0.5708 GB, free: 8.074 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000245/0.7076, allocations: 66.48 kB / 0.5709 GB, free: 8 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.817e-05/0.7076, allocations: 0 / 0.5709 GB, free: 8 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002397/0.7078, allocations: 71.52 kB / 0.571 GB, free: 7.918 MB / 394.7 MB Notification: Performance of pre-optimization done (n=7): time 1.933e-06/0.7079, allocations: 0 / 0.571 GB, free: 7.918 MB / 394.7 MB Notification: Performance of matching and sorting (n=9): time 0.0008898/0.7088, allocations: 181.3 kB / 0.5711 GB, free: 7.734 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.928e-05/0.7089, allocations: 81.11 kB / 0.5712 GB, free: 7.637 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002399/0.7091, allocations: 139.2 kB / 0.5713 GB, free: 7.496 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.885e-05/0.7092, allocations: 29.7 kB / 0.5714 GB, free: 7.461 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.524e-05/0.7093, allocations: 166.5 kB / 0.5715 GB, free: 7.297 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.836e-05/0.7093, allocations: 31.55 kB / 0.5716 GB, free: 7.266 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.507e-05/0.7093, allocations: 0 / 0.5716 GB, free: 7.266 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001556/0.7095, allocations: 318.8 kB / 0.5719 GB, free: 6.945 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.741e-05/0.7096, allocations: 23.98 kB / 0.5719 GB, free: 6.922 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000129/0.7098, allocations: 43.11 kB / 0.5719 GB, free: 6.871 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001199/0.7099, allocations: 39.98 kB / 0.572 GB, free: 6.832 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.7099, allocations: 0 / 0.572 GB, free: 6.832 MB / 394.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003201/0.7102, allocations: 97.61 kB / 0.5721 GB, free: 6.73 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.37e-05/0.7103, allocations: 11.95 kB / 0.5721 GB, free: 6.719 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.7103, allocations: 0 / 0.5721 GB, free: 6.719 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.352e-05/0.7103, allocations: 4 kB / 0.5721 GB, free: 6.715 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001648/0.7105, allocations: 23.94 kB / 0.5721 GB, free: 6.691 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.199e-05/0.7105, allocations: 3.984 kB / 0.5721 GB, free: 6.688 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.36e-05/0.7106, allocations: 4 kB / 0.5721 GB, free: 6.684 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.108e-05/0.7107, allocations: 4 kB / 0.5721 GB, free: 6.68 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0001551/0.7108, allocations: 125.9 kB / 0.5722 GB, free: 6.547 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.259e-05/0.7109, allocations: 11.81 kB / 0.5722 GB, free: 6.535 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004318/0.7113, allocations: 130.7 kB / 0.5724 GB, free: 6.402 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.7113, allocations: 0 / 0.5724 GB, free: 6.402 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.7114, allocations: 0 / 0.5724 GB, free: 6.402 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.7114, allocations: 0 / 0.5724 GB, free: 6.402 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007772/0.7122, allocations: 415.3 kB / 0.5728 GB, free: 5.938 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.763e-06/0.7122, allocations: 0 / 0.5728 GB, free: 5.938 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.529e-05/0.7123, allocations: 19.94 kB / 0.5728 GB, free: 5.918 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.7123, allocations: 0 / 0.5728 GB, free: 5.918 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.425e-05/0.7123, allocations: 288 / 0.5728 GB, free: 5.918 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.781e-06/0.7123, allocations: 4 kB / 0.5728 GB, free: 5.914 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.502e-06/0.7123, allocations: 7.969 kB / 0.5728 GB, free: 5.906 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003995/0.7128, allocations: 229.9 kB / 0.573 GB, free: 5.656 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.353e-05/0.7129, allocations: 96.89 kB / 0.5731 GB, free: 5.543 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.079e-05/0.7129, allocations: 8 kB / 0.5731 GB, free: 5.535 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000119/0.713, allocations: 4 kB / 0.5731 GB, free: 5.531 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.457e-05/0.7131, allocations: 7.984 kB / 0.5731 GB, free: 5.523 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.501e-05/0.7131, allocations: 0 / 0.5731 GB, free: 5.523 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001674/0.7133, allocations: 127 kB / 0.5732 GB, free: 5.402 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.8e-07/0.7133, allocations: 4 kB / 0.5732 GB, free: 5.398 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000423/0.7138, allocations: 47.86 kB / 0.5733 GB, free: 5.352 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002257/0.716, allocations: 1.249 MB / 0.5745 GB, free: 4.18 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003333/0.7164, allocations: 71.91 kB / 0.5746 GB, free: 4.109 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.7164, allocations: 0 / 0.5746 GB, free: 4.109 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001347/0.7166, allocations: 35.92 kB / 0.5746 GB, free: 4.074 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003854/0.717, allocations: 19.98 kB / 0.5746 GB, free: 4.055 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001754/0.7187, allocations: 0.8439 MB / 0.5755 GB, free: 3.148 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003765/0.7191, allocations: 0.7043 MB / 0.5761 GB, free: 2.418 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001321/0.7193, allocations: 39.34 kB / 0.5762 GB, free: 2.383 MB / 394.7 MB Notification: Performance of SimCode: time 1.052e-06/0.7193, allocations: 0 / 0.5762 GB, free: 2.383 MB / 394.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_CombiTimeTable_Test66_usertabCalcHelperMain.o OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test66_usertabCalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test66_usertabCalcHelperMain.cpp:28: In file included from ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test66_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_CombiTimeTable_Test66_usertabCalcHelperMain.cpp:28: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test66_usertabFunctions.cpp:342:18: error: no matching function for call to 'mydummyfunc' dummy_y__ext = mydummyfunc(ConstArray(dummy_u_).getData()); ^~~~~~~~~~~ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test66_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_CombiTimeTable_Test66_usertabCalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test66_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_CombiTimeTable_Test66_usertabCalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test66_usertabCalcHelperMain.o] Error 1