Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test11,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test11",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.949/1.949, allocations: 209.3 MB / 221.9 MB, free: 1.934 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.915e-05/3.891e-05, allocations: 0 / 273.1 MB, free: 0.6406 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1093/0.1094, allocations: 48.71 MB / 321.9 MB, free: 15.84 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4276/0.5371, allocations: 74.66 MB / 396.5 MB, free: 15.17 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003326/0.5375, allocations: 79.11 kB / 396.6 MB, free: 15.09 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01952/0.5571, allocations: 3.488 MB / 400.1 MB, free: 11.63 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.974e-06/0.5571, allocations: 0 / 400.1 MB, free: 11.63 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.435e-05/0.5572, allocations: 4 kB / 400.1 MB, free: 11.62 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007096/0.5579, allocations: 396 kB / 400.5 MB, free: 11.19 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.74e-05/0.558, allocations: 12.03 kB / 400.5 MB, free: 11.18 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.476e-05/0.5581, allocations: 34.56 kB / 400.5 MB, free: 11.13 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.223e-05/0.5582, allocations: 7.906 kB / 400.5 MB, free: 11.12 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003487/0.5585, allocations: 186.9 kB / 400.7 MB, free: 10.9 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.524e-05/0.5586, allocations: 0 / 400.7 MB, free: 10.9 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.344e-05/0.5586, allocations: 8 kB / 400.7 MB, free: 10.89 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002349/0.5589, allocations: 67.33 kB / 400.8 MB, free: 10.82 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.96e-05/0.5589, allocations: 3.906 kB / 400.8 MB, free: 10.81 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.283e-05/0.5589, allocations: 4 kB / 400.8 MB, free: 10.81 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.559, allocations: 0 / 400.8 MB, free: 10.81 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000124/0.5591, allocations: 16 kB / 400.8 MB, free: 10.79 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006361/0.5598, allocations: 284.8 kB / 401.1 MB, free: 10.46 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001475/0.5599, allocations: 34.52 kB / 401.1 MB, free: 10.42 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.787e-05/0.56, allocations: 20.8 kB / 401.1 MB, free: 10.4 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.133e-05/0.5601, allocations: 0 / 401.1 MB, free: 10.4 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.104e-05/0.5601, allocations: 30.56 kB / 401.2 MB, free: 10.36 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 2.364e-06/0.5601, allocations: 0 / 401.2 MB, free: 10.36 MB / 330.7 MB Notification: Performance of matching and sorting (n=7): time 0.0009306/0.5611, allocations: 153.4 kB / 401.3 MB, free: 10.2 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.286e-05/0.5612, allocations: 81.11 kB / 401.4 MB, free: 10.11 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001706/0.5614, allocations: 105 kB / 401.5 MB, free: 9.996 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.633e-05/0.5615, allocations: 29.7 kB / 401.5 MB, free: 9.961 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001068/0.5616, allocations: 162.5 kB / 401.7 MB, free: 9.801 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.646e-05/0.5616, allocations: 23.66 kB / 401.7 MB, free: 9.777 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.144e-05/0.5617, allocations: 0 / 401.7 MB, free: 9.777 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001808/0.5619, allocations: 322.8 kB / 402 MB, free: 9.453 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.786e-05/0.562, allocations: 16 kB / 402 MB, free: 9.438 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001145/0.5621, allocations: 29.72 kB / 402.1 MB, free: 9.402 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001364/0.5623, allocations: 53.91 kB / 402.1 MB, free: 9.344 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.16e-06/0.5623, allocations: 0 / 402.1 MB, free: 9.344 MB / 330.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003584/0.5627, allocations: 115.3 kB / 402.2 MB, free: 9.219 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.278e-05/0.5627, allocations: 29.7 kB / 402.3 MB, free: 9.184 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.255e-06/0.5628, allocations: 0 / 402.3 MB, free: 9.184 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.156e-05/0.5628, allocations: 7.984 kB / 402.3 MB, free: 9.176 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003029/0.5631, allocations: 23.98 kB / 402.3 MB, free: 9.152 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.02e-05/0.5632, allocations: 0 / 402.3 MB, free: 9.152 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001813/0.5634, allocations: 15.98 kB / 402.3 MB, free: 9.137 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.794e-05/0.5634, allocations: 0 / 402.3 MB, free: 9.137 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 1 * 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.0001245/0.5635, allocations: 109 kB / 402.4 MB, free: 9.023 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.762e-05/0.5636, allocations: 11.91 kB / 402.4 MB, free: 9.012 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003648/0.564, allocations: 90.22 kB / 402.5 MB, free: 8.918 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.65e-06/0.564, allocations: 0 / 402.5 MB, free: 8.918 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.141e-05/0.5641, allocations: 3.953 kB / 402.5 MB, free: 8.914 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.5641, allocations: 0 / 402.5 MB, free: 8.914 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007701/0.5649, allocations: 342.6 kB / 402.8 MB, free: 8.523 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.5649, allocations: 0 / 402.8 MB, free: 8.523 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002802/0.5652, allocations: 27.98 kB / 402.9 MB, free: 8.496 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.961e-06/0.5652, allocations: 0 / 402.9 MB, free: 8.496 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.243e-05/0.5652, allocations: 7.953 kB / 402.9 MB, free: 8.488 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.235e-06/0.5653, allocations: 0 / 402.9 MB, free: 8.488 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-06/0.5653, allocations: 7.922 kB / 402.9 MB, free: 8.48 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003422/0.5656, allocations: 171.4 kB / 403.1 MB, free: 8.297 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.915e-05/0.5657, allocations: 85.02 kB / 403.1 MB, free: 8.195 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.867e-05/0.5658, allocations: 8 kB / 403.2 MB, free: 8.188 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002491/0.5661, allocations: 15.94 kB / 403.2 MB, free: 8.172 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.376e-05/0.5661, allocations: 7.984 kB / 403.2 MB, free: 8.164 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.346e-05/0.5662, allocations: 3.938 kB / 403.2 MB, free: 8.16 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001194/0.5663, allocations: 96.27 kB / 403.3 MB, free: 8.066 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.31e-07/0.5663, allocations: 0 / 403.3 MB, free: 8.066 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006164/0.567, allocations: 39.92 kB / 403.3 MB, free: 8.027 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 (7): * Single equations (assignments): 7 * 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.002129/0.5691, allocations: 0.9131 MB / 404.2 MB, free: 7.141 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004068/0.5696, allocations: 103.4 kB / 404.3 MB, free: 7.027 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/0.5697, allocations: 0 / 404.3 MB, free: 7.027 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001224/0.5698, allocations: 35.92 kB / 404.4 MB, free: 6.992 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004054/0.5702, allocations: 7.953 kB / 404.4 MB, free: 6.984 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.003786/0.574, allocations: 0.7261 MB / 405.1 MB, free: 6.215 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003746/0.5744, allocations: 0.6926 MB / 405.8 MB, free: 5.496 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001455/0.5746, allocations: 27.42 kB / 405.8 MB, free: 5.469 MB / 330.7 MB Notification: Performance of SimCode: time 1.603e-06/0.5746, allocations: 0 / 405.8 MB, free: 5.469 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_Test11CalcHelperMain.o OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test11CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test11CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test11FMU.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_Test11.so OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test11CalcHelperMain.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" -lModelicaExternalC -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_Test11_FMU.makefile:93: recipe for target 'ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test11.fmu' failed make: *** [ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test11.fmu] Error 1