Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test22,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test22",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.009/2.009, allocations: 209.3 MB / 221.9 MB, free: 1.934 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.666e-05/3.67e-05, allocations: 4 kB / 273.1 MB, free: 0.6445 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1122/0.1123, allocations: 48.7 MB / 321.8 MB, free: 15.85 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4323/0.5446, allocations: 75.48 MB / 397.3 MB, free: 14.35 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002786/0.5449, allocations: 71.95 kB / 397.4 MB, free: 14.28 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02711/0.572, allocations: 6.177 MB / 403.6 MB, free: 8.109 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.5721, allocations: 0 / 403.6 MB, free: 8.109 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.098e-05/0.5722, allocations: 8 kB / 403.6 MB, free: 8.102 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001121/0.5733, allocations: 0.7225 MB / 404.3 MB, free: 7.309 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.084e-05/0.5734, allocations: 8.031 kB / 404.3 MB, free: 7.301 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.328e-05/0.5734, allocations: 50.45 kB / 404.3 MB, free: 7.242 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001349/0.5736, allocations: 51.44 kB / 404.4 MB, free: 7.191 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001018/0.5746, allocations: 431.2 kB / 404.8 MB, free: 6.73 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.059e-05/0.5747, allocations: 8 kB / 404.8 MB, free: 6.723 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.174e-05/0.5747, allocations: 12 kB / 404.8 MB, free: 6.711 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003095/0.575, allocations: 116.9 kB / 404.9 MB, free: 6.586 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.033e-05/0.5751, allocations: 0 / 404.9 MB, free: 6.586 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.581e-05/0.5751, allocations: 11.95 kB / 405 MB, free: 6.574 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.446e-06/0.5751, allocations: 4 kB / 405 MB, free: 6.57 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002007/0.5753, allocations: 59.98 kB / 405 MB, free: 6.512 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001481/0.5768, allocations: 0.6838 MB / 405.7 MB, free: 5.773 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002648/0.5771, allocations: 101.2 kB / 405.8 MB, free: 5.656 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.64e-05/0.5772, allocations: 37.84 kB / 405.8 MB, free: 5.613 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.226e-05/0.5773, allocations: 7.984 kB / 405.9 MB, free: 5.605 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.584e-05/0.5773, allocations: 30.56 kB / 405.9 MB, free: 5.566 MB / 330.7 MB Notification: Performance of pre-optimization done (n=10): time 3.076e-06/0.5773, allocations: 0 / 405.9 MB, free: 5.566 MB / 330.7 MB Notification: Performance of matching and sorting (n=16): time 0.001681/0.579, allocations: 442.5 kB / 406.3 MB, free: 5.125 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.502e-05/0.5791, allocations: 81.09 kB / 406.4 MB, free: 5.027 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001534/0.5807, allocations: 0.7194 MB / 407.1 MB, free: 4.297 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.974e-05/0.5807, allocations: 29.7 kB / 407.1 MB, free: 4.262 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002229/0.581, allocations: 250.8 kB / 407.4 MB, free: 4.012 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.313e-05/0.5811, allocations: 59.25 kB / 407.4 MB, free: 3.953 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.608e-05/0.5811, allocations: 0 / 407.4 MB, free: 3.953 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001432/0.5813, allocations: 318.8 kB / 407.8 MB, free: 3.633 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001609/0.5814, allocations: 44 kB / 407.8 MB, free: 3.59 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001806/0.5816, allocations: 65.7 kB / 407.9 MB, free: 3.52 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002531/0.5819, allocations: 162.7 kB / 408 MB, free: 3.336 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.5819, allocations: 0 / 408 MB, free: 3.336 MB / 330.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005852/0.5825, allocations: 268.4 kB / 408.3 MB, free: 3.043 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.394e-05/0.5826, allocations: 118.8 kB / 408.4 MB, free: 2.902 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.5826, allocations: 0 / 408.4 MB, free: 2.902 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.022e-05/0.5827, allocations: 4 kB / 408.4 MB, free: 2.898 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000393/0.5831, allocations: 47.89 kB / 408.4 MB, free: 2.852 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.002e-05/0.5831, allocations: 0 / 408.4 MB, free: 2.852 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003282/0.5834, allocations: 23.84 kB / 408.5 MB, free: 2.828 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.733e-05/0.5835, allocations: 12.14 kB / 408.5 MB, free: 2.816 MB / 330.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.000114/0.5836, allocations: 113 kB / 408.6 MB, free: 2.699 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001467/0.5838, allocations: 43.44 kB / 408.6 MB, free: 2.656 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000779/0.5846, allocations: 237.7 kB / 408.9 MB, free: 2.414 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.135e-06/0.5846, allocations: 4 kB / 408.9 MB, free: 2.41 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.533e-06/0.5846, allocations: 0 / 408.9 MB, free: 2.41 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.5846, allocations: 4 kB / 408.9 MB, free: 2.406 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001742/0.5864, allocations: 0.7825 MB / 409.7 MB, free: 1.566 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.472e-06/0.5864, allocations: 0 / 409.7 MB, free: 1.566 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003439/0.5868, allocations: 51.84 kB / 409.7 MB, free: 1.516 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.117e-05/0.5868, allocations: 4.375 kB / 409.7 MB, free: 1.512 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.31e-05/0.5868, allocations: 7.984 kB / 409.7 MB, free: 1.504 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.436e-06/0.5868, allocations: 8 kB / 409.7 MB, free: 1.496 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.5868, allocations: 0 / 409.7 MB, free: 1.496 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006395/0.5875, allocations: 379.7 kB / 410.1 MB, free: 1.102 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003672/0.5879, allocations: 180.5 kB / 410.3 MB, free: 0.9062 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.61e-05/0.588, allocations: 0 / 410.3 MB, free: 0.9062 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003085/0.5883, allocations: 23.98 kB / 410.3 MB, free: 0.8828 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.54e-05/0.5884, allocations: 11.98 kB / 410.3 MB, free: 0.8711 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.725e-05/0.5884, allocations: 8 kB / 410.3 MB, free: 0.8633 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001199/0.5896, allocations: 0.5678 MB / 410.9 MB, free: 308 kB / 330.7 MB Notification: Performance of sort global known variables: time 1.172e-06/0.5897, allocations: 0 / 410.9 MB, free: 308 kB / 330.7 MB Notification: Performance of remove unused functions: time 0.000695/0.5904, allocations: 99.86 kB / 411 MB, free: 208 kB / 330.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.002246/0.5926, allocations: 1.325 MB / 412.3 MB, free: 14.92 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0006662/0.5934, allocations: 345.5 kB / 412.6 MB, free: 14.53 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 7.785e-06/0.5934, allocations: 0 / 412.6 MB, free: 14.53 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001976/0.5936, allocations: 67.86 kB / 412.7 MB, free: 14.46 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006123/0.5942, allocations: 42.45 kB / 412.8 MB, free: 14.43 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002241/0.5965, allocations: 0.809 MB / 413.6 MB, free: 13.57 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006851/0.5972, allocations: 0.8379 MB / 414.4 MB, free: 12.71 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003905/0.5976, allocations: 155.2 kB / 414.6 MB, free: 12.55 MB / 346.7 MB Notification: Performance of SimCode: time 1.082e-06/0.5976, allocations: 0 / 414.6 MB, free: 12.55 MB / 346.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_Test22CalcHelperMain.o OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test22CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test22CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_1_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_1_cpp_ModelicaTest_Tables_CombiTable2D_Test22.so OMCppModelicaTest_3_2_1_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.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_Test22_FMU.makefile:93: recipe for target 'ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test22.fmu' failed make: *** [ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test22.fmu] Error 1