Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test22,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test22",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.426/2.426, allocations: 235 MB / 247.6 MB, free: 14.4 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.78e-05/4.789e-05, allocations: 4 kB / 305 MB, free: 5.562 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4153/0.4154, allocations: 54.86 MB / 359.9 MB, free: 2.723 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1576/0.5731, allocations: 81.93 MB / 441.8 MB, free: 15.05 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002427/0.5734, allocations: 71.97 kB / 441.9 MB, free: 14.98 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02859/0.602, allocations: 6.419 MB / 448.3 MB, free: 8.594 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.043e-06/0.602, allocations: 1.031 kB / 448.3 MB, free: 8.594 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.371e-05/0.6021, allocations: 8 kB / 448.3 MB, free: 8.586 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001104/0.6032, allocations: 0.7303 MB / 449 MB, free: 7.785 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.225e-05/0.6033, allocations: 8.031 kB / 449 MB, free: 7.777 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.116e-05/0.6033, allocations: 46.55 kB / 449.1 MB, free: 7.723 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001759/0.6035, allocations: 47.44 kB / 449.1 MB, free: 7.676 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009757/0.6045, allocations: 431.2 kB / 449.5 MB, free: 7.211 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.063e-05/0.6046, allocations: 11.89 kB / 449.6 MB, free: 7.199 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.292e-05/0.6046, allocations: 12 kB / 449.6 MB, free: 7.188 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003068/0.6049, allocations: 119.4 kB / 449.7 MB, free: 7.059 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.578e-05/0.605, allocations: 0 / 449.7 MB, free: 7.059 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.079e-05/0.605, allocations: 5.406 kB / 449.7 MB, free: 7.055 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.057e-05/0.605, allocations: 7.984 kB / 449.7 MB, free: 7.047 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001985/0.6052, allocations: 55.94 kB / 449.8 MB, free: 6.992 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001467/0.6067, allocations: 0.676 MB / 450.4 MB, free: 6.262 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002515/0.607, allocations: 101.2 kB / 450.5 MB, free: 6.145 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.452e-05/0.6071, allocations: 33.84 kB / 450.6 MB, free: 6.105 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.96e-05/0.6071, allocations: 8 kB / 450.6 MB, free: 6.098 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.469e-05/0.6072, allocations: 38.52 kB / 450.6 MB, free: 6.051 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 2.535e-06/0.6072, allocations: 0 / 450.6 MB, free: 6.051 MB / 378.7 MB Notification: Performance of matching and sorting (n=16): time 0.001662/0.6089, allocations: 430.9 kB / 451 MB, free: 5.621 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.194e-05/0.6089, allocations: 81.11 kB / 451.1 MB, free: 5.523 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001521/0.6105, allocations: 0.727 MB / 451.8 MB, free: 4.789 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.7e-05/0.6106, allocations: 25.7 kB / 451.9 MB, free: 4.758 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002021/0.6108, allocations: 242.9 kB / 452.1 MB, free: 4.52 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.456e-05/0.6109, allocations: 55.19 kB / 452.1 MB, free: 4.465 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.824e-05/0.6109, allocations: 7.938 kB / 452.2 MB, free: 4.457 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000128/0.611, allocations: 318.8 kB / 452.5 MB, free: 4.137 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001748/0.6112, allocations: 47.98 kB / 452.5 MB, free: 4.09 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001901/0.6114, allocations: 63.39 kB / 452.6 MB, free: 4.023 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002574/0.6117, allocations: 166.7 kB / 452.7 MB, free: 3.836 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.6117, allocations: 0 / 452.7 MB, free: 3.836 MB / 378.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0009236/0.6126, allocations: 268.3 kB / 453 MB, free: 3.543 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001755/0.6129, allocations: 116.5 kB / 453.1 MB, free: 3.406 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.335e-05/0.6129, allocations: 4 kB / 453.1 MB, free: 3.402 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.669e-05/0.6129, allocations: 3.984 kB / 453.1 MB, free: 3.398 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005324/0.6135, allocations: 39.97 kB / 453.2 MB, free: 3.359 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.299e-05/0.6135, allocations: 7.938 kB / 453.2 MB, free: 3.352 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004965/0.614, allocations: 15.98 kB / 453.2 MB, free: 3.336 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.47e-05/0.6141, allocations: 12 kB / 453.2 MB, free: 3.324 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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): 16 * Array equations: 0 * Algorithm blocks: 4 * 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.0001691/0.6143, allocations: 113.1 kB / 453.3 MB, free: 3.207 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002876/0.6146, allocations: 43.44 kB / 453.3 MB, free: 3.164 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001168/0.6158, allocations: 242.3 kB / 453.6 MB, free: 2.922 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.083e-05/0.6158, allocations: 4 kB / 453.6 MB, free: 2.918 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.684e-06/0.6159, allocations: 0 / 453.6 MB, free: 2.918 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.564e-06/0.6159, allocations: 0 / 453.6 MB, free: 2.918 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002725/0.6186, allocations: 0.7882 MB / 454.4 MB, free: 2.074 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.185e-06/0.6187, allocations: 4 kB / 454.4 MB, free: 2.07 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005516/0.6193, allocations: 43.91 kB / 454.4 MB, free: 2.027 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.186e-05/0.6193, allocations: 0 / 454.4 MB, free: 2.027 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.613e-05/0.6194, allocations: 11.98 kB / 454.4 MB, free: 2.016 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.434e-06/0.6194, allocations: 0 / 454.4 MB, free: 2.016 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.997e-06/0.6194, allocations: 0 / 454.4 MB, free: 2.016 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009077/0.6204, allocations: 376.7 kB / 454.8 MB, free: 1.625 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004298/0.6208, allocations: 160.4 kB / 455 MB, free: 1.449 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001515/0.621, allocations: 8 kB / 455 MB, free: 1.441 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006162/0.6216, allocations: 15.98 kB / 455 MB, free: 1.426 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001199/0.6218, allocations: 19.88 kB / 455 MB, free: 1.406 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.005e-05/0.6218, allocations: 8 kB / 455 MB, free: 1.398 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001851/0.6237, allocations: 0.5717 MB / 455.6 MB, free: 0.8281 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.052e-06/0.6238, allocations: 0 / 455.6 MB, free: 0.8281 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001137/0.6249, allocations: 95.88 kB / 455.7 MB, free: 0.7344 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 16 * 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.00398/0.629, allocations: 1.407 MB / 457.1 MB, free: 15.39 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0009171/0.6299, allocations: 333.5 kB / 457.4 MB, free: 15.02 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.622e-06/0.63, allocations: 0 / 457.4 MB, free: 15.02 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002996/0.6303, allocations: 67.91 kB / 457.5 MB, free: 14.95 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000953/0.6313, allocations: 50.02 kB / 457.5 MB, free: 14.9 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003864/0.6352, allocations: 0.8063 MB / 458.3 MB, free: 14.05 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008112/0.6361, allocations: 0.8418 MB / 459.2 MB, free: 13.18 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006505/0.6367, allocations: 151.4 kB / 459.3 MB, free: 13.03 MB / 394.7 MB Notification: Performance of SimCode: time 2.725e-06/0.6368, allocations: 0 / 459.3 MB, free: 13.03 MB / 394.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_2_cpp_ModelicaTest_Tables_CombiTable2D_Test22CalcHelperMain.o OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test22CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test22CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test22FMU.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_2_cpp_ModelicaTest_Tables_CombiTable2D_Test22.so OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test22CalcHelperMain.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.2/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.2/Resources/Library/x86_64-linux" -Wl,-rpath="/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Resources/Library/x86_64-linux" "-L/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Resources/Library/linux64" -Wl,-rpath="/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Resources/Library/linux64" "-L/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Resources/Library" -Wl,-rpath="/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/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_2_cpp_ModelicaTest_Tables_CombiTable2D_Test22_FMU.makefile:93: recipe for target 'ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test22.fmu' failed make: *** [ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test22.fmu] Error 1