Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test4,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test4",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.969/1.969, allocations: 209.3 MB / 221.9 MB, free: 1.941 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.731e-05/3.735e-05, allocations: 7.984 kB / 273.2 MB, free: 0.6367 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1068/0.1069, allocations: 48.7 MB / 321.9 MB, free: 15.84 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4027/0.5096, allocations: 74.46 MB / 396.3 MB, free: 15.47 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002709/0.5099, allocations: 67.95 kB / 396.4 MB, free: 15.4 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01944/0.5294, allocations: 5.176 MB / 401.6 MB, free: 10.23 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.5294, allocations: 0 / 401.6 MB, free: 10.23 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.021e-05/0.5295, allocations: 4 kB / 401.6 MB, free: 10.22 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.0008173/0.5303, allocations: 0.5732 MB / 402.1 MB, free: 9.598 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.324e-05/0.5304, allocations: 11.97 kB / 402.1 MB, free: 9.586 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.426e-05/0.5304, allocations: 38.56 kB / 402.2 MB, free: 9.539 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001167/0.5306, allocations: 47.39 kB / 402.2 MB, free: 9.492 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006489/0.5312, allocations: 315.4 kB / 402.5 MB, free: 9.145 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.036e-05/0.5313, allocations: 8 kB / 402.5 MB, free: 9.137 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.505e-05/0.5313, allocations: 0 / 402.5 MB, free: 9.137 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001393/0.5314, allocations: 45.7 kB / 402.6 MB, free: 9.086 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/0.5315, allocations: 0 / 402.6 MB, free: 9.086 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.065e-05/0.5315, allocations: 0 / 402.6 MB, free: 9.086 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.5315, allocations: 0 / 402.6 MB, free: 9.086 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.558e-05/0.5316, allocations: 19.98 kB / 402.6 MB, free: 9.066 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008759/0.5325, allocations: 436.6 kB / 403 MB, free: 8.59 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000238/0.5327, allocations: 34.58 kB / 403.1 MB, free: 8.547 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.703e-05/0.5328, allocations: 10.23 kB / 403.1 MB, free: 8.535 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.566e-05/0.5328, allocations: 4 kB / 403.1 MB, free: 8.531 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.147e-05/0.5329, allocations: 42.58 kB / 403.1 MB, free: 8.48 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 2.455e-06/0.5329, allocations: 0 / 403.1 MB, free: 8.48 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006579/0.5335, allocations: 188.1 kB / 403.3 MB, free: 8.289 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.884e-05/0.5336, allocations: 51.41 kB / 403.4 MB, free: 8.227 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001891/0.5355, allocations: 0.7693 MB / 404.1 MB, free: 7.445 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.081e-05/0.5356, allocations: 25.7 kB / 404.2 MB, free: 7.414 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002201/0.5358, allocations: 242.4 kB / 404.4 MB, free: 7.176 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.733e-05/0.5358, allocations: 11.8 kB / 404.4 MB, free: 7.164 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.192e-06/0.5359, allocations: 0 / 404.4 MB, free: 7.164 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001313/0.536, allocations: 318.8 kB / 404.7 MB, free: 6.844 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.725e-05/0.5361, allocations: 19.94 kB / 404.7 MB, free: 6.824 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.216e-05/0.5361, allocations: 8 kB / 404.7 MB, free: 6.816 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.045e-05/0.5362, allocations: 37.7 kB / 404.8 MB, free: 6.773 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.5362, allocations: 0 / 404.8 MB, free: 6.773 MB / 330.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002338/0.5365, allocations: 91.39 kB / 404.9 MB, free: 6.672 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.111e-05/0.5365, allocations: 33.7 kB / 404.9 MB, free: 6.633 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.178e-05/0.5365, allocations: 7.938 kB / 404.9 MB, free: 6.625 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/0.5366, allocations: 3.938 kB / 404.9 MB, free: 6.621 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001552/0.5367, allocations: 12 kB / 404.9 MB, free: 6.609 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.255e-06/0.5368, allocations: 4 kB / 404.9 MB, free: 6.605 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001635/0.5369, allocations: 11.98 kB / 404.9 MB, free: 6.594 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.113e-05/0.537, allocations: 0 / 404.9 MB, free: 6.594 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 (6): * Single equations (assignments): 5 * 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 9.151e-05/0.5371, allocations: 112.9 kB / 405 MB, free: 6.477 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001138/0.5372, allocations: 39.44 kB / 405.1 MB, free: 6.438 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003442/0.5375, allocations: 113 kB / 405.2 MB, free: 6.32 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.257e-06/0.5376, allocations: 7.953 kB / 405.2 MB, free: 6.312 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.5376, allocations: 4.312 kB / 405.2 MB, free: 6.309 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.5376, allocations: 0 / 405.2 MB, free: 6.309 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001086/0.5387, allocations: 0.5569 MB / 405.8 MB, free: 5.695 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.5387, allocations: 0 / 405.8 MB, free: 5.695 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001382/0.5389, allocations: 15.98 kB / 405.8 MB, free: 5.68 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.019e-05/0.5389, allocations: 3.953 kB / 405.8 MB, free: 5.676 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.058e-05/0.5389, allocations: 0 / 405.8 MB, free: 5.676 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.5389, allocations: 0 / 405.8 MB, free: 5.676 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.5389, allocations: 0 / 405.8 MB, free: 5.676 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002748/0.5392, allocations: 195.1 kB / 406 MB, free: 5.469 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000279/0.5395, allocations: 160.5 kB / 406.1 MB, free: 5.293 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.24e-05/0.5396, allocations: 3.953 kB / 406.1 MB, free: 5.289 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001572/0.5397, allocations: 12 kB / 406.1 MB, free: 5.277 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.754e-05/0.5398, allocations: 3.984 kB / 406.2 MB, free: 5.273 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.009e-05/0.5398, allocations: 4 kB / 406.2 MB, free: 5.27 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001209/0.541, allocations: 0.6186 MB / 406.8 MB, free: 4.656 MB / 330.7 MB Notification: Performance of sort global known variables: time 9.41e-07/0.5411, allocations: 4 kB / 406.8 MB, free: 4.652 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004859/0.5416, allocations: 55.94 kB / 406.8 MB, free: 4.598 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 (5): * Single equations (assignments): 5 * 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.001185/0.5428, allocations: 0.86 MB / 407.7 MB, free: 3.758 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000208/0.543, allocations: 87.41 kB / 407.8 MB, free: 3.66 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.552e-06/0.543, allocations: 0 / 407.8 MB, free: 3.66 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.726e-05/0.5431, allocations: 23.92 kB / 407.8 MB, free: 3.637 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003641/0.5435, allocations: 29.17 kB / 407.8 MB, free: 3.613 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002088/0.5456, allocations: 0.8315 MB / 408.7 MB, free: 2.738 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005592/0.5462, allocations: 0.834 MB / 409.5 MB, free: 1.879 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002602/0.5465, allocations: 103.7 kB / 409.6 MB, free: 1.777 MB / 330.7 MB Notification: Performance of SimCode: time 1.002e-06/0.5465, allocations: 4 kB / 409.6 MB, free: 1.773 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_Test4CalcHelperMain.o OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test4CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test4CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test4FMU.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_Test4.so OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test4CalcHelperMain.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_Test4_FMU.makefile:93: recipe for target 'ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test4.fmu' failed make: *** [ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test4.fmu] Error 1