Notification: Performance of loadModel(ModelicaTest): time 1.782/1.782, allocations: 235 MB / 241.2 MB, free: 7.348 MB / 200.6 MB Notification: Performance of FrontEnd - loaded program: time 0.2861/2.069, allocations: 56.81 MB / 298 MB, free: 8.527 MB / 248.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07871/2.147, allocations: 54.87 MB / 352.9 MB, free: 9.633 MB / 296.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1284/2.276, allocations: 80.29 MB / 433.2 MB, free: 9.223 MB / 376.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002177/2.276, allocations: 71.84 kB / 433.3 MB, free: 9.156 MB / 376.6 MB Notification: Performance of Generate backend data structure: time 0.01136/2.287, allocations: 3.002 MB / 436.3 MB, free: 6.098 MB / 376.6 MB Notification: Performance of prepare preOptimizeDAE: time 3.606e-05/2.287, allocations: 12 kB / 436.3 MB, free: 6.086 MB / 376.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.059e-05/2.288, allocations: 7.906 kB / 436.3 MB, free: 6.078 MB / 376.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002223/2.288, allocations: 190.9 kB / 436.5 MB, free: 5.852 MB / 376.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.055e-05/2.288, allocations: 4 kB / 436.5 MB, free: 5.848 MB / 376.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.419e-05/2.288, allocations: 7.906 kB / 436.5 MB, free: 5.84 MB / 376.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001121/2.288, allocations: 27.94 kB / 436.5 MB, free: 5.812 MB / 376.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001313/2.288, allocations: 59.41 kB / 436.6 MB, free: 5.742 MB / 376.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/2.288, allocations: 0 / 436.6 MB, free: 5.742 MB / 376.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.223e-05/2.288, allocations: 0 / 436.6 MB, free: 5.742 MB / 376.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.845e-06/2.288, allocations: 11.98 kB / 436.6 MB, free: 5.73 MB / 376.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004008/2.289, allocations: 269.3 kB / 436.9 MB, free: 5.43 MB / 376.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001037/2.289, allocations: 37.64 kB / 436.9 MB, free: 5.387 MB / 376.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.839e-05/2.289, allocations: 18.73 kB / 436.9 MB, free: 5.367 MB / 376.6 MB Notification: Performance of preOpt evalFunc (simulation): time 2.499e-05/2.289, allocations: 4 kB / 436.9 MB, free: 5.363 MB / 376.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.385e-05/2.289, allocations: 34.56 kB / 436.9 MB, free: 5.32 MB / 376.6 MB Notification: Performance of pre-optimization done (n=5): time 3.519e-06/2.289, allocations: 0 / 436.9 MB, free: 5.32 MB / 376.6 MB Notification: Performance of matching and sorting (n=8): time 0.0008692/2.29, allocations: 217.2 kB / 437.2 MB, free: 5.102 MB / 376.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.755e-05/2.29, allocations: 81.05 kB / 437.2 MB, free: 5.004 MB / 376.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001209/2.29, allocations: 119.6 kB / 437.4 MB, free: 4.883 MB / 376.6 MB Notification: Performance of collectPreVariables (initialization): time 2.24e-05/2.29, allocations: 25.7 kB / 437.4 MB, free: 4.852 MB / 376.6 MB Notification: Performance of collectInitialEqns (initialization): time 8.266e-05/2.29, allocations: 166.8 kB / 437.5 MB, free: 4.684 MB / 376.6 MB Notification: Performance of collectInitialBindings (initialization): time 3.132e-05/2.29, allocations: 23.56 kB / 437.6 MB, free: 4.66 MB / 376.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.713e-06/2.29, allocations: 0 / 437.6 MB, free: 4.66 MB / 376.6 MB Notification: Performance of setup shared object (initialization): time 0.0001292/2.29, allocations: 322.8 kB / 437.9 MB, free: 4.336 MB / 376.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.83e-05/2.29, allocations: 20 kB / 437.9 MB, free: 4.316 MB / 376.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.149e-05/2.29, allocations: 37.72 kB / 437.9 MB, free: 4.273 MB / 376.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.254e-05/2.29, allocations: 23.98 kB / 438 MB, free: 4.25 MB / 376.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.186e-06/2.291, allocations: 0 / 438 MB, free: 4.25 MB / 376.6 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002149/2.291, allocations: 85.66 kB / 438 MB, free: 4.16 MB / 376.6 MB Notification: Performance of prepare postOptimizeDAE: time 1.287e-05/2.291, allocations: 4 kB / 438.1 MB, free: 4.156 MB / 376.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.082e-06/2.291, allocations: 3.906 kB / 438.1 MB, free: 4.152 MB / 376.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/2.291, allocations: 4 kB / 438.1 MB, free: 4.148 MB / 376.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002832/2.291, allocations: 51.95 kB / 438.1 MB, free: 4.098 MB / 376.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.598e-06/2.291, allocations: 0 / 438.1 MB, free: 4.098 MB / 376.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001981/2.291, allocations: 39.97 kB / 438.1 MB, free: 4.059 MB / 376.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.837e-05/2.291, allocations: 4 kB / 438.2 MB, free: 4.055 MB / 376.6 MB Notification: Performance of prepare postOptimizeDAE: time 4.79e-05/2.291, allocations: 75.28 kB / 438.2 MB, free: 3.98 MB / 376.6 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002187/2.292, allocations: 89.53 kB / 438.3 MB, free: 3.887 MB / 376.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.77e-05/2.292, allocations: 7.906 kB / 438.3 MB, free: 3.879 MB / 376.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002598/2.292, allocations: 106.1 kB / 438.4 MB, free: 3.766 MB / 376.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.714e-06/2.292, allocations: 4 kB / 438.4 MB, free: 3.762 MB / 376.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/2.292, allocations: 0 / 438.4 MB, free: 3.762 MB / 376.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.244e-06/2.292, allocations: 0 / 438.4 MB, free: 3.762 MB / 376.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005142/2.293, allocations: 346.9 kB / 438.8 MB, free: 3.379 MB / 376.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.893e-06/2.293, allocations: 0 / 438.8 MB, free: 3.379 MB / 376.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002535/2.293, allocations: 51.97 kB / 438.8 MB, free: 3.328 MB / 376.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/2.293, allocations: 0 / 438.8 MB, free: 3.328 MB / 376.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.505e-05/2.293, allocations: 0 / 438.8 MB, free: 3.328 MB / 376.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.747e-06/2.293, allocations: 8.406 kB / 438.8 MB, free: 3.32 MB / 376.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.791e-06/2.293, allocations: 0 / 438.8 MB, free: 3.32 MB / 376.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002427/2.293, allocations: 179.4 kB / 439 MB, free: 3.129 MB / 376.6 MB Notification: Performance of postOpt removeConstants (simulation): time 8.182e-05/2.293, allocations: 96.89 kB / 439.1 MB, free: 3.016 MB / 376.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.825e-05/2.293, allocations: 3.906 kB / 439.1 MB, free: 3.012 MB / 376.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002483/2.294, allocations: 43.95 kB / 439.1 MB, free: 2.969 MB / 376.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.06e-05/2.294, allocations: 7.984 kB / 439.2 MB, free: 2.961 MB / 376.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.191e-05/2.294, allocations: 4 kB / 439.2 MB, free: 2.957 MB / 376.6 MB Notification: Performance of sort global known variables: time 7.485e-05/2.294, allocations: 95.28 kB / 439.2 MB, free: 2.863 MB / 376.6 MB Notification: Performance of remove unused functions: time 0.0003677/2.294, allocations: 35.92 kB / 439.3 MB, free: 2.828 MB / 376.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.001135/2.295, allocations: 0.9026 MB / 440.2 MB, free: 1.992 MB / 376.6 MB Notification: Performance of simCode: created initialization part: time 0.0002314/2.295, allocations: 89.62 kB / 440.3 MB, free: 1.898 MB / 376.6 MB Notification: Performance of simCode: created event and clocks part: time 2.661e-06/2.295, allocations: 0 / 440.3 MB, free: 1.898 MB / 376.6 MB Notification: Performance of simCode: created simulation system equations: time 8.615e-05/2.296, allocations: 32 kB / 440.3 MB, free: 1.867 MB / 376.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002413/2.296, allocations: 7.906 kB / 440.3 MB, free: 1.859 MB / 376.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004447/2.296, allocations: 195.4 kB / 440.5 MB, free: 1.625 MB / 376.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004115/2.297, allocations: 0.7191 MB / 441.2 MB, free: 0.8789 MB / 376.6 MB Notification: Performance of SimCode: time 7.25e-07/2.297, allocations: 0 / 441.2 MB, free: 0.8789 MB / 376.6 MB Notification: Performance of translateModelFMU complete: time 0.1227/2.419, allocations: 2.304 MB / 443.5 MB, free: 131 MB / 376.6 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=5 -DPMC_USE_SUNDIALS -DFMU_BUILD -DRUNTIME_STATIC_LINKING -I"/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/cpp" -I"." -I"." -I"." "-I/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Resources/Data/Tables" -DUSE_LOGGER -c -o OMCppModelicaTest_3_2_2_fmi_cpp_ModelicaTest_Tables_CombiTable2D_Test18_usertabCalcHelperMain.o OMCppModelicaTest_3_2_2_fmi_cpp_ModelicaTest_Tables_CombiTable2D_Test18_usertabCalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_2_fmi_cpp_ModelicaTest_Tables_CombiTable2D_Test18_usertabCalcHelperMain.cpp:28: In file included from ./OMCppModelicaTest_3_2_2_fmi_cpp_ModelicaTest_Tables_CombiTable2D_Test18_usertabFunctions.cpp:5: In file included from /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Resources/Data/Tables/usertab.c:14: /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/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}} ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/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}} ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/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}} ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/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_2_fmi_cpp_ModelicaTest_Tables_CombiTable2D_Test18_usertabCalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_2_fmi_cpp_ModelicaTest_Tables_CombiTable2D_Test18_usertabFMU.cpp:11: /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/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 generated. clang++ -shared -o ModelicaTest_3_2_2_fmi_cpp_ModelicaTest_Tables_CombiTable2D_Test18_usertab.so OMCppModelicaTest_3_2_2_fmi_cpp_ModelicaTest_Tables_CombiTable2D_Test18_usertabCalcHelperMain.o -L"/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/cpp" -Wl,--no-undefined -lOMCppSystem_static -lOMCppMath_static -lOMCppModelicaUtilities_static -lOMCppFMU_static -lOMCppNewton_static -lOMCppDgesvSolver_static -lOMCppExtensionUtilities_static -lModelicaExternalC -lModelicaStandardTables -lOMCppModelicaUtilities_static -L"/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Tables" "-L/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc" -Wl,-rpath="/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc" "-L/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/" -Wl,-rpath="/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/" "-L/var/lib/hudson/.openmodelica/binaries/Modelica" -Wl,-rpath="/var/lib/hudson/.openmodelica/binaries/Modelica" "-L/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Resources/Library/x86_64-linux" -Wl,-rpath="/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Resources/Library/x86_64-linux" "-L/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Resources/Library/linux64" -Wl,-rpath="/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Resources/Library/linux64" "-L/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Resources/Library" -Wl,-rpath="/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Resources/Library" -lModelicaExternalC -lModelicaStandardTables -lModelicaIO -lModelicaMatIO -lzlib -lOMCppDgesv_static /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/cpp/libModelicaExternalC.a(ModelicaStandardTables.c.o): In function `usertab': /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/3rdParty/ModelicaExternalC/C-Sources/ModelicaStandardTables.c:5704: multiple definition of `usertab' OMCppModelicaTest_3_2_2_fmi_cpp_ModelicaTest_Tables_CombiTable2D_Test18_usertabCalcHelperMain.o:/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Resources/Data/Tables/usertab.c:38: first defined here clang: error: linker command failed with exit code 1 (use -v to see invocation) ModelicaTest_3_2_2_fmi_cpp_ModelicaTest_Tables_CombiTable2D_Test18_usertab_FMU.makefile:93: recipe for target 'ModelicaTest_3_2_2_fmi_cpp_ModelicaTest_Tables_CombiTable2D_Test18_usertab.fmu' failed make: *** [ModelicaTest_3_2_2_fmi_cpp_ModelicaTest_Tables_CombiTable2D_Test18_usertab.fmu] Error 1