Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test16,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test16",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.059/2.059, allocations: 209.3 MB / 221.9 MB, free: 1.934 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.077e-05/4.074e-05, allocations: 4 kB / 273.2 MB, free: 0.6328 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1083/0.1084, allocations: 48.71 MB / 321.9 MB, free: 15.82 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4125/0.5209, allocations: 74.73 MB / 396.6 MB, free: 15.08 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003/0.5213, allocations: 74.78 kB / 396.7 MB, free: 15.01 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0106/0.5319, allocations: 2.701 MB / 399.4 MB, free: 12.3 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.532, allocations: 0 / 399.4 MB, free: 12.3 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.182e-05/0.532, allocations: 4 kB / 399.4 MB, free: 12.29 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0004348/0.5325, allocations: 354.5 kB / 399.7 MB, free: 11.9 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.945e-05/0.5325, allocations: 8.031 kB / 399.7 MB, free: 11.89 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.804e-05/0.5326, allocations: 42.56 kB / 399.8 MB, free: 11.84 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.678e-05/0.5327, allocations: 7.906 kB / 399.8 MB, free: 11.84 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002012/0.5329, allocations: 179.2 kB / 399.9 MB, free: 11.62 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.154e-05/0.5329, allocations: 15.97 kB / 400 MB, free: 11.61 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.363e-05/0.5329, allocations: 7.938 kB / 400 MB, free: 11.6 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003207/0.5333, allocations: 179.3 kB / 400.1 MB, free: 11.37 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.5333, allocations: 0 / 400.1 MB, free: 11.37 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.017e-05/0.5333, allocations: 4 kB / 400.2 MB, free: 11.36 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.431e-05/0.5334, allocations: 19.98 kB / 400.2 MB, free: 11.34 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001184/0.5335, allocations: 47.8 kB / 400.2 MB, free: 11.3 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001372/0.5349, allocations: 1.702 MB / 401.9 MB, free: 9.488 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001099/0.535, allocations: 169.1 kB / 402.1 MB, free: 9.312 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.688e-05/0.5351, allocations: 80.14 kB / 402.2 MB, free: 9.23 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.141e-05/0.5352, allocations: 79.28 kB / 402.2 MB, free: 9.152 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.553e-05/0.5352, allocations: 109.8 kB / 402.3 MB, free: 9.035 MB / 330.7 MB Notification: Performance of pre-optimization done (n=0): time 2.525e-06/0.5352, allocations: 0 / 402.3 MB, free: 9.035 MB / 330.7 MB Notification: Performance of matching and sorting (n=0): time 9.94e-05/0.5354, allocations: 37.61 kB / 402.4 MB, free: 8.992 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.055e-05/0.5354, allocations: 126.7 kB / 402.5 MB, free: 8.855 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002593/0.5357, allocations: 177.2 kB / 402.7 MB, free: 8.676 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.738e-05/0.5358, allocations: 25.7 kB / 402.7 MB, free: 8.645 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000158/0.5359, allocations: 217.6 kB / 402.9 MB, free: 8.43 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.18e-06/0.536, allocations: 0 / 402.9 MB, free: 8.43 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.095e-05/0.536, allocations: 8 kB / 402.9 MB, free: 8.422 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000161/0.5362, allocations: 322.8 kB / 403.2 MB, free: 8.098 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.815e-05/0.5362, allocations: 31.98 kB / 403.3 MB, free: 8.066 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001854/0.5364, allocations: 149.2 kB / 403.4 MB, free: 7.859 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001539/0.5366, allocations: 71.89 kB / 403.5 MB, free: 7.789 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.538e-06/0.5366, allocations: 0 / 403.5 MB, free: 7.789 MB / 330.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004343/0.5371, allocations: 177.6 kB / 403.7 MB, free: 7.609 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.423e-05/0.5371, allocations: 8 kB / 403.7 MB, free: 7.602 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.419e-05/0.5371, allocations: 4 kB / 403.7 MB, free: 7.598 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.291e-05/0.5372, allocations: 11.95 kB / 403.7 MB, free: 7.586 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002336/0.5374, allocations: 39.92 kB / 403.7 MB, free: 7.547 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.052e-05/0.5374, allocations: 11.98 kB / 403.7 MB, free: 7.535 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001274/0.5376, allocations: 23.78 kB / 403.8 MB, free: 7.512 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.224e-05/0.5376, allocations: 12 kB / 403.8 MB, free: 7.5 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001253/0.5378, allocations: 196.4 kB / 404 MB, free: 7.301 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.651e-05/0.5378, allocations: 108.9 kB / 404.1 MB, free: 7.188 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.507e-05/0.5379, allocations: 116.6 kB / 404.2 MB, free: 7.07 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.759e-05/0.538, allocations: 180.3 kB / 404.4 MB, free: 6.887 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.392e-05/0.5381, allocations: 188.2 kB / 404.5 MB, free: 6.695 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.157e-05/0.5382, allocations: 180.2 kB / 404.7 MB, free: 6.512 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002996/0.5385, allocations: 425.2 kB / 405.1 MB, free: 6.039 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.491e-05/0.5386, allocations: 101 kB / 405.2 MB, free: 5.934 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.342e-05/0.5386, allocations: 104.9 kB / 405.3 MB, free: 5.824 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.085e-05/0.5387, allocations: 176.3 kB / 405.5 MB, free: 5.645 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.968e-05/0.5388, allocations: 184.2 kB / 405.7 MB, free: 5.457 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.592e-05/0.5389, allocations: 184.2 kB / 405.9 MB, free: 5.27 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.873e-05/0.539, allocations: 176.3 kB / 406 MB, free: 5.09 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001777/0.5391, allocations: 324.9 kB / 406.4 MB, free: 4.75 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001084/0.5393, allocations: 186 kB / 406.5 MB, free: 4.543 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.052e-05/0.5394, allocations: 184.3 kB / 406.7 MB, free: 4.355 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001125/0.5395, allocations: 104.9 kB / 406.8 MB, free: 4.246 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.281e-05/0.5396, allocations: 176.3 kB / 407 MB, free: 4.066 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.603e-05/0.5396, allocations: 105 kB / 407.1 MB, free: 3.957 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000196/0.5399, allocations: 140 kB / 407.2 MB, free: 3.82 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.5399, allocations: 3.938 kB / 407.2 MB, free: 3.816 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004312/0.5403, allocations: 16 kB / 407.3 MB, free: 3.801 MB / 330.7 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 (0): * Single equations (assignments): 0 * 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.0008545/0.5412, allocations: 0.8951 MB / 408.1 MB, free: 2.906 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002134/0.5414, allocations: 63.8 kB / 408.2 MB, free: 2.844 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.5414, allocations: 5.25 kB / 408.2 MB, free: 2.84 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 2.495e-06/0.5414, allocations: 0 / 408.2 MB, free: 2.84 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000357/0.5418, allocations: 0.5224 MB / 408.7 MB, free: 2.312 MB / 330.7 MB Warning: Could not resolve URI (uri) at compile-time; copying all loaded packages into the FMU Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00278/0.5446, allocations: 0.8191 MB / 409.6 MB, free: 1.453 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000329/0.545, allocations: 0.7009 MB / 410.3 MB, free: 0.7266 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.79e-05/0.5451, allocations: 31.36 kB / 410.3 MB, free: 0.6953 MB / 330.7 MB Notification: Performance of SimCode: time 1.733e-06/0.5451, allocations: 4 kB / 410.3 MB, free: 0.6914 MB / 330.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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp" -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -I"." -DUSE_LOGGER -c -o OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test16CalcHelperMain.o OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test16CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test16CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test16FMU.cpp:11: /var/lib/jenkins/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) { ^ 1 warning generated. clang++ -shared -o ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test16.so OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test16CalcHelperMain.o -L"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/cpp" -Wl,--no-undefined -lOMCppSystem_static -lOMCppMath_static -lOMCppModelicaUtilities_static -lOMCppFMU_static -lOMCppNewton_static -lOMCppDgesvSolver_static -lOMCppSolver_static -lOMCppExtensionUtilities_static -L"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/Tables" "-L/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc" -Wl,-rpath="/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc" "-L/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/" -Wl,-rpath="/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/" "-L/var/lib/hudson/.openmodelica/binaries/Modelica" -Wl,-rpath="/var/lib/hudson/.openmodelica/binaries/Modelica" "-L/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Resources/Library/x86_64-linux" -Wl,-rpath="/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Resources/Library/x86_64-linux" "-L/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Resources/Library/linux64" -Wl,-rpath="/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Resources/Library/linux64" "-L/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Resources/Library" -Wl,-rpath="/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Resources/Library" -lModelicaStandardTables -lModelicaIO -lModelicaMatIO -lzlib -lOMCppModelicaUtilities_static -lOMCppDgesv_static /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/cpp/libModelicaMatIO.a(ModelicaMatIO.c.o): In function `Mat_VarDelete': /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/3rdParty/ModelicaExternalC/C-Sources/ModelicaMatIO.c:4972: warning: the use of `mktemp' is dangerous, better use `mkstemp' or `mkdtemp' /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/cpp/libModelicaMatIO.a(ModelicaMatIO.c.o): In function `strdup_vprintf': /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/3rdParty/ModelicaExternalC/C-Sources/ModelicaMatIO.c:1469: undefined reference to `rpl_vsnprintf' /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/3rdParty/ModelicaExternalC/C-Sources/ModelicaMatIO.c:1476: undefined reference to `rpl_vsnprintf' /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/3rdParty/ModelicaExternalC/C-Sources/ModelicaMatIO.c:1469: undefined reference to `rpl_vsnprintf' /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/3rdParty/ModelicaExternalC/C-Sources/ModelicaMatIO.c:1476: undefined reference to `rpl_vsnprintf' /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/cpp/libModelicaMatIO.a(ModelicaMatIO.c.o): In function `Mat_Create5': /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/3rdParty/ModelicaExternalC/C-Sources/ModelicaMatIO.c:7716: undefined reference to `rpl_snprintf' /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/3rdParty/ModelicaExternalC/C-Sources/ModelicaMatIO.c:7711: undefined reference to `rpl_snprintf' clang: error: linker command failed with exit code 1 (use -v to see invocation) ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test16_FMU.makefile:93: recipe for target 'ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test16.fmu' failed make: *** [ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test16.fmu] Error 1