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.002361/0.002361, allocations: 181.4 kB / 13.66 MB, free: 1.664 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.153/2.153, 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.001157/0.001157, allocations: 82.7 kB / 267.5 MB, free: 14.04 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.2984/0.2984, allocations: 43.5 MB / 359.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 4.851e-05/4.868e-05, allocations: 7.984 kB / 425.4 MB, free: 23.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1299/0.13, allocations: 58.86 MB / 484.2 MB, free: 12.36 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5015/0.6315, allocations: 87.73 MB / 0.5586 GB, free: 15.82 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002989/0.6319, allocations: 77.94 kB / 0.5586 GB, free: 15.79 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02568/0.6576, allocations: 5.214 MB / 0.5637 GB, free: 11.41 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.6577, allocations: 0 / 0.5637 GB, free: 11.41 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.07e-05/0.6577, allocations: 3.828 kB / 0.5637 GB, free: 11.41 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.0006731/0.6584, allocations: 393.8 kB / 0.5641 GB, free: 10.99 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.006e-05/0.6585, allocations: 20.02 kB / 0.5641 GB, free: 10.97 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.403e-05/0.6585, allocations: 30.56 kB / 0.5642 GB, free: 10.93 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.599e-05/0.6586, allocations: 7.906 kB / 0.5642 GB, free: 10.92 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004294/0.6591, allocations: 207.3 kB / 0.5644 GB, free: 10.69 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.042e-05/0.6591, allocations: 4 kB / 0.5644 GB, free: 10.69 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.683e-05/0.6591, allocations: 0 / 0.5644 GB, free: 10.69 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002114/0.6594, allocations: 78.33 kB / 0.5644 GB, free: 10.61 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.456e-05/0.6594, allocations: 0 / 0.5644 GB, free: 10.61 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.78e-05/0.6594, allocations: 4 kB / 0.5644 GB, free: 10.61 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.6594, allocations: 0 / 0.5644 GB, free: 10.61 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001031/0.6595, allocations: 30.75 kB / 0.5645 GB, free: 10.58 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005627/0.6601, allocations: 290 kB / 0.5647 GB, free: 10.27 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001972/0.6603, allocations: 56.69 kB / 0.5648 GB, free: 10.21 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.122e-05/0.6604, allocations: 23.98 kB / 0.5648 GB, free: 10.2 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.797e-05/0.6605, allocations: 4 kB / 0.5648 GB, free: 10.19 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000233/0.6607, allocations: 73.53 kB / 0.5649 GB, free: 10.11 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 2.945e-06/0.6607, allocations: 3.938 kB / 0.5649 GB, free: 10.11 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.0007044/0.6615, allocations: 169.2 kB / 0.5651 GB, free: 9.965 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.067e-05/0.6615, allocations: 77.11 kB / 0.5651 GB, free: 9.871 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002172/0.6618, allocations: 137.2 kB / 0.5653 GB, free: 9.746 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.429e-05/0.6618, allocations: 29.64 kB / 0.5653 GB, free: 9.715 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001031/0.6619, allocations: 161.8 kB / 0.5655 GB, free: 9.559 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.269e-05/0.662, allocations: 31.67 kB / 0.5655 GB, free: 9.531 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.038e-05/0.662, allocations: 7.25 kB / 0.5655 GB, free: 9.527 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001444/0.6622, allocations: 314.8 kB / 0.5658 GB, free: 9.211 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.395e-05/0.6623, allocations: 27.05 kB / 0.5658 GB, free: 9.191 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.941e-05/0.6624, allocations: 40.95 kB / 0.5659 GB, free: 9.152 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.376e-05/0.6625, allocations: 22.77 kB / 0.5659 GB, free: 9.137 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.6625, allocations: 4 kB / 0.5659 GB, free: 9.133 MB / 378.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003074/0.6628, allocations: 98.8 kB / 0.566 GB, free: 9.047 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.422e-05/0.6628, allocations: 8 kB / 0.566 GB, free: 9.039 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/0.6629, allocations: 0 / 0.566 GB, free: 9.039 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.197e-05/0.6629, allocations: 3.984 kB / 0.566 GB, free: 9.035 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001874/0.6631, allocations: 19.94 kB / 0.566 GB, free: 9.016 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.097e-06/0.6631, allocations: 0 / 0.566 GB, free: 9.016 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001109/0.6632, allocations: 7 kB / 0.566 GB, free: 9.012 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.938e-05/0.6633, allocations: 11.98 kB / 0.566 GB, free: 9 MB / 378.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 () * 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.0001126/0.6634, allocations: 110.5 kB / 0.5661 GB, free: 8.891 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.691e-05/0.6634, allocations: 15.86 kB / 0.5661 GB, free: 8.875 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003824/0.6638, allocations: 118.2 kB / 0.5663 GB, free: 8.781 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.6639, allocations: 0 / 0.5663 GB, free: 8.781 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.937e-06/0.6639, allocations: 4 kB / 0.5663 GB, free: 8.777 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.6639, allocations: 0 / 0.5663 GB, free: 8.777 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006943/0.6646, allocations: 416.8 kB / 0.5667 GB, free: 8.352 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.817e-06/0.6646, allocations: 0 / 0.5667 GB, free: 8.352 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001034/0.6647, allocations: 23.19 kB / 0.5667 GB, free: 8.332 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.893e-06/0.6648, allocations: 0 / 0.5667 GB, free: 8.332 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.451e-05/0.6648, allocations: 0 / 0.5667 GB, free: 8.332 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.168e-06/0.6648, allocations: 4 kB / 0.5667 GB, free: 8.328 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.6648, allocations: 0 / 0.5667 GB, free: 8.328 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003534/0.6652, allocations: 224.5 kB / 0.5669 GB, free: 8.102 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.614e-05/0.6653, allocations: 87.7 kB / 0.567 GB, free: 8 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.282e-05/0.6653, allocations: 10.8 kB / 0.567 GB, free: 7.992 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001295/0.6655, allocations: 4 kB / 0.567 GB, free: 7.988 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.392e-05/0.6655, allocations: 11.23 kB / 0.567 GB, free: 7.98 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.74e-05/0.6656, allocations: 0 / 0.567 GB, free: 7.98 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001622/0.6657, allocations: 120.8 kB / 0.5671 GB, free: 7.875 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.12e-07/0.6658, allocations: 0 / 0.5671 GB, free: 7.875 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004124/0.6662, allocations: 42.88 kB / 0.5672 GB, free: 7.84 MB / 378.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) * 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.002229/0.6684, allocations: 1.194 MB / 0.5683 GB, free: 6.695 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003151/0.6688, allocations: 63.67 kB / 0.5684 GB, free: 6.648 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.6688, allocations: 64 / 0.5684 GB, free: 6.648 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001081/0.6689, allocations: 37.75 kB / 0.5684 GB, free: 6.617 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000424/0.6694, allocations: 30.73 kB / 0.5685 GB, free: 6.598 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007973/0.6702, allocations: 227.6 kB / 0.5687 GB, free: 6.344 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003765/0.6706, allocations: 0.7112 MB / 0.5694 GB, free: 5.609 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000127/0.6708, allocations: 34.05 kB / 0.5694 GB, free: 5.586 MB / 378.7 MB Notification: Performance of SimCode: time 1.533e-06/0.6708, allocations: 0 / 0.5694 GB, free: 5.586 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_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