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.001439/0.001444, allocations: 178.8 kB / 8.363 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.198/2.198, allocations: 205.3 MB / 214.1 MB, free: 14.16 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.001167/0.001167, allocations: 88.02 kB / 262.1 MB, free: 13.89 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.289 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.874e-05/2.886e-05, allocations: 8.219 kB / 418.3 MB, free: 40.95 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4774/0.4775, allocations: 58.86 MB / 477.2 MB, free: 5.156 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1754/0.653, allocations: 87.06 MB / 0.551 GB, free: 12.15 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003538/0.6534, allocations: 71.97 kB / 0.5511 GB, free: 12.08 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.0291/0.6826, allocations: 5.194 MB / 0.5562 GB, free: 6.887 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.6826, allocations: 0 / 0.5562 GB, free: 6.887 MB / 395.1 MB Notification: Performance of Transformations before backend: time 2.814e-05/0.6827, allocations: 7.938 kB / 0.5562 GB, free: 6.879 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.0007633/0.6834, allocations: 390.8 kB / 0.5565 GB, free: 6.453 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.155e-05/0.6835, allocations: 8.031 kB / 0.5566 GB, free: 6.445 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.148e-05/0.6836, allocations: 11.91 kB / 0.5566 GB, free: 6.434 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000571/0.6842, allocations: 210.9 kB / 0.5568 GB, free: 6.188 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.54e-05/0.6843, allocations: 0 / 0.5568 GB, free: 6.188 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.236e-05/0.6843, allocations: 8 kB / 0.5568 GB, free: 6.18 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001569/0.6845, allocations: 19.98 kB / 0.5568 GB, free: 6.16 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002222/0.6848, allocations: 71.33 kB / 0.5569 GB, free: 6.078 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.515e-05/0.6848, allocations: 0 / 0.5569 GB, free: 6.078 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.244e-05/0.6848, allocations: 0 / 0.5569 GB, free: 6.078 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.6848, allocations: 0 / 0.5569 GB, free: 6.078 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006507/0.6855, allocations: 269.4 kB / 0.5571 GB, free: 5.777 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002091/0.6858, allocations: 50.56 kB / 0.5572 GB, free: 5.719 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.148e-05/0.6859, allocations: 20.98 kB / 0.5572 GB, free: 5.695 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.029e-05/0.6859, allocations: 0 / 0.5572 GB, free: 5.695 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002353/0.6862, allocations: 83.28 kB / 0.5573 GB, free: 5.602 MB / 395.1 MB Notification: Performance of pre-optimization done (n=7): time 3.136e-06/0.6862, allocations: 4 kB / 0.5573 GB, free: 5.598 MB / 395.1 MB Notification: Performance of matching and sorting (n=9): time 0.000888/0.6871, allocations: 157.2 kB / 0.5574 GB, free: 5.438 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.527e-05/0.6872, allocations: 81.05 kB / 0.5575 GB, free: 5.34 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002075/0.6874, allocations: 140.4 kB / 0.5576 GB, free: 5.199 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.371e-05/0.6875, allocations: 25.8 kB / 0.5577 GB, free: 5.168 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.281e-05/0.6876, allocations: 166.5 kB / 0.5578 GB, free: 5.004 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.53e-05/0.6876, allocations: 23.66 kB / 0.5578 GB, free: 4.98 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.352e-06/0.6876, allocations: 0 / 0.5578 GB, free: 4.98 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001276/0.6878, allocations: 322.8 kB / 0.5581 GB, free: 4.656 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.891e-05/0.6878, allocations: 16 kB / 0.5582 GB, free: 4.641 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001308/0.688, allocations: 38.58 kB / 0.5582 GB, free: 4.594 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001182/0.6881, allocations: 23.98 kB / 0.5582 GB, free: 4.57 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.6882, allocations: 0 / 0.5582 GB, free: 4.57 MB / 395.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003378/0.6885, allocations: 93.52 kB / 0.5583 GB, free: 4.473 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.766e-05/0.6886, allocations: 8 kB / 0.5583 GB, free: 4.465 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/0.6886, allocations: 4.062 kB / 0.5583 GB, free: 4.461 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.471e-05/0.6886, allocations: 3.953 kB / 0.5583 GB, free: 4.457 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002277/0.6889, allocations: 19.94 kB / 0.5583 GB, free: 4.438 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.138e-05/0.6889, allocations: 0 / 0.5583 GB, free: 4.438 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001458/0.689, allocations: 7.984 kB / 0.5584 GB, free: 4.43 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.352e-05/0.6891, allocations: 0 / 0.5584 GB, free: 4.43 MB / 395.1 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.0001361/0.6892, allocations: 105 kB / 0.5585 GB, free: 4.32 MB / 395.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003938/0.6897, allocations: 101.5 kB / 0.5585 GB, free: 4.215 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.044e-05/0.6897, allocations: 11.86 kB / 0.5586 GB, free: 4.203 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000474/0.6902, allocations: 118.4 kB / 0.5587 GB, free: 4.082 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/0.6903, allocations: 96 / 0.5587 GB, free: 4.082 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.027e-06/0.6903, allocations: 7.938 kB / 0.5587 GB, free: 4.074 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.6903, allocations: 0 / 0.5587 GB, free: 4.074 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008436/0.6912, allocations: 379.7 kB / 0.559 GB, free: 3.656 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/0.6912, allocations: 0 / 0.559 GB, free: 3.656 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001313/0.6913, allocations: 19.98 kB / 0.5591 GB, free: 3.637 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-05/0.6914, allocations: 0 / 0.5591 GB, free: 3.637 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.38e-05/0.6914, allocations: 15.91 kB / 0.5591 GB, free: 3.621 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.97e-06/0.6914, allocations: 0 / 0.5591 GB, free: 3.621 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.319e-06/0.6915, allocations: 0 / 0.5591 GB, free: 3.621 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004605/0.6919, allocations: 213.9 kB / 0.5593 GB, free: 3.387 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001128/0.6921, allocations: 93 kB / 0.5594 GB, free: 3.277 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.27e-05/0.6921, allocations: 0 / 0.5594 GB, free: 3.277 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002071/0.6924, allocations: 8 kB / 0.5594 GB, free: 3.27 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.219e-05/0.6925, allocations: 7.984 kB / 0.5594 GB, free: 3.262 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.874e-05/0.6925, allocations: 4 kB / 0.5594 GB, free: 3.258 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0001492/0.6927, allocations: 115.3 kB / 0.5595 GB, free: 3.145 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.71e-07/0.6927, allocations: 0 / 0.5595 GB, free: 3.145 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.000466/0.6932, allocations: 43.92 kB / 0.5595 GB, free: 3.102 MB / 395.1 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.002761/0.6959, allocations: 1.145 MB / 0.5607 GB, free: 1.961 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0003293/0.6963, allocations: 55.94 kB / 0.5607 GB, free: 1.906 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 6.012e-06/0.6964, allocations: 4.062 kB / 0.5607 GB, free: 1.902 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001311/0.6965, allocations: 35.92 kB / 0.5607 GB, free: 1.867 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005572/0.6971, allocations: 27.83 kB / 0.5608 GB, free: 1.84 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009425/0.6981, allocations: 229.1 kB / 0.561 GB, free: 1.566 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003484/0.6984, allocations: 0.7041 MB / 0.5617 GB, free: 0.8359 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001612/0.6986, allocations: 35.41 kB / 0.5617 GB, free: 0.8008 MB / 395.1 MB Notification: Performance of SimCode: time 1.252e-06/0.6986, allocations: 0 / 0.5617 GB, free: 0.8008 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_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/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_CombiTimeTable_Test66_usertabCalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test66_usertabCalcHelperMain.o] Error 1