Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test17,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test17",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.131/2.131, allocations: 209.3 MB / 221.9 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.33e-05/4.338e-05, allocations: 4 kB / 273.2 MB, free: 0.6367 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1113/0.1113, allocations: 48.71 MB / 321.9 MB, free: 15.83 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4349/0.5463, allocations: 74.98 MB / 396.8 MB, free: 14.94 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002858/0.5467, allocations: 75.95 kB / 396.9 MB, free: 14.86 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01067/0.5574, allocations: 2.709 MB / 399.6 MB, free: 12.14 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.5574, allocations: 0 / 399.6 MB, free: 12.14 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.187e-06/0.5575, allocations: 0 / 399.6 MB, free: 12.14 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.0004378/0.5579, allocations: 350.4 kB / 400 MB, free: 11.76 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.806e-05/0.558, allocations: 12.03 kB / 400 MB, free: 11.75 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.147e-05/0.5581, allocations: 42.56 kB / 400 MB, free: 11.7 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.757e-05/0.5581, allocations: 7.906 kB / 400 MB, free: 11.69 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001983/0.5583, allocations: 175.2 kB / 400.2 MB, free: 11.48 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.332e-05/0.5584, allocations: 8 kB / 400.2 MB, free: 11.47 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.86e-05/0.5584, allocations: 7.938 kB / 400.2 MB, free: 11.46 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003211/0.5587, allocations: 179.5 kB / 400.4 MB, free: 11.23 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.455e-05/0.5587, allocations: 7.938 kB / 400.4 MB, free: 11.22 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.793e-05/0.5588, allocations: 4 kB / 400.4 MB, free: 11.22 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.069e-05/0.5588, allocations: 15.98 kB / 400.4 MB, free: 11.2 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001237/0.559, allocations: 51.8 kB / 400.5 MB, free: 11.15 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001396/0.5604, allocations: 1.694 MB / 402.2 MB, free: 9.352 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001469/0.5606, allocations: 177.1 kB / 402.3 MB, free: 9.168 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.129e-05/0.5606, allocations: 84.12 kB / 402.4 MB, free: 9.082 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.446e-05/0.5607, allocations: 75.28 kB / 402.5 MB, free: 9.008 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.588e-05/0.5608, allocations: 109.8 kB / 402.6 MB, free: 8.891 MB / 330.7 MB Notification: Performance of pre-optimization done (n=0): time 2.695e-06/0.5608, allocations: 0 / 402.6 MB, free: 8.891 MB / 330.7 MB Notification: Performance of matching and sorting (n=0): time 0.0001053/0.5609, allocations: 33.61 kB / 402.6 MB, free: 8.852 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.4e-05/0.561, allocations: 130.6 kB / 402.8 MB, free: 8.711 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002612/0.5612, allocations: 173.2 kB / 402.9 MB, free: 8.535 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.639e-05/0.5613, allocations: 25.7 kB / 402.9 MB, free: 8.504 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00016/0.5614, allocations: 221.6 kB / 403.2 MB, free: 8.285 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.927e-06/0.5615, allocations: 4 kB / 403.2 MB, free: 8.281 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.07e-05/0.5615, allocations: 11.94 kB / 403.2 MB, free: 8.27 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001538/0.5616, allocations: 326.8 kB / 403.5 MB, free: 7.941 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.357e-05/0.5617, allocations: 23.98 kB / 403.5 MB, free: 7.918 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001917/0.5619, allocations: 156.4 kB / 403.7 MB, free: 7.707 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001583/0.5621, allocations: 67.89 kB / 403.7 MB, free: 7.641 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.053e-06/0.5621, allocations: 4 kB / 403.7 MB, free: 7.637 MB / 330.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004399/0.5626, allocations: 177.6 kB / 403.9 MB, free: 7.457 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.421e-05/0.5626, allocations: 8 kB / 403.9 MB, free: 7.449 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.309e-05/0.5626, allocations: 4 kB / 403.9 MB, free: 7.445 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.727e-05/0.5627, allocations: 7.953 kB / 403.9 MB, free: 7.438 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002333/0.5629, allocations: 39.92 kB / 404 MB, free: 7.398 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.324e-05/0.563, allocations: 15.91 kB / 404 MB, free: 7.383 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001332/0.5631, allocations: 19.84 kB / 404 MB, free: 7.363 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.153e-05/0.5631, allocations: 12 kB / 404 MB, free: 7.352 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.0001344/0.5633, allocations: 192.4 kB / 404.2 MB, free: 7.156 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000107/0.5634, allocations: 108.9 kB / 404.3 MB, free: 7.043 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.489e-05/0.5635, allocations: 128.6 kB / 404.4 MB, free: 6.914 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.198e-05/0.5636, allocations: 176.3 kB / 404.6 MB, free: 6.734 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.637e-05/0.5637, allocations: 184.2 kB / 404.8 MB, free: 6.547 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.098e-05/0.5638, allocations: 184.2 kB / 405 MB, free: 6.359 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003334/0.5641, allocations: 421.2 kB / 405.4 MB, free: 5.891 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.175e-05/0.5642, allocations: 105 kB / 405.5 MB, free: 5.781 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.786e-05/0.5642, allocations: 104.9 kB / 405.6 MB, free: 5.672 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.091e-05/0.5643, allocations: 176.3 kB / 405.8 MB, free: 5.492 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.215e-05/0.5644, allocations: 180.2 kB / 405.9 MB, free: 5.309 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.834e-05/0.5645, allocations: 184.2 kB / 406.1 MB, free: 5.121 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.519e-05/0.5646, allocations: 184.3 kB / 406.3 MB, free: 4.934 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001898/0.5648, allocations: 316.9 kB / 406.6 MB, free: 4.602 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000122/0.565, allocations: 190 kB / 406.8 MB, free: 4.391 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001022/0.5651, allocations: 180.3 kB / 407 MB, free: 4.207 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001284/0.5652, allocations: 108.9 kB / 407.1 MB, free: 4.094 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.858e-05/0.5653, allocations: 180.3 kB / 407.3 MB, free: 3.91 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.166e-05/0.5654, allocations: 105 kB / 407.4 MB, free: 3.801 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002027/0.5656, allocations: 136 kB / 407.5 MB, free: 3.668 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.31e-07/0.5656, allocations: 0 / 407.5 MB, free: 3.668 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004412/0.566, allocations: 16 kB / 407.5 MB, free: 3.652 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.0009257/0.567, allocations: 0.8962 MB / 408.4 MB, free: 2.754 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002413/0.5672, allocations: 60.98 kB / 408.5 MB, free: 2.695 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.471e-06/0.5673, allocations: 0 / 408.5 MB, free: 2.695 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 2.865e-06/0.5673, allocations: 3.938 kB / 408.5 MB, free: 2.691 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003975/0.5677, allocations: 0.5304 MB / 409 MB, free: 2.156 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.002741/0.5704, allocations: 0.8011 MB / 409.8 MB, free: 1.309 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003245/0.5708, allocations: 0.7009 MB / 410.5 MB, free: 0.582 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.09e-05/0.5709, allocations: 39.3 kB / 410.5 MB, free: 0.543 MB / 330.7 MB Notification: Performance of SimCode: time 1.182e-06/0.5709, allocations: 0 / 410.5 MB, free: 0.543 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_Test17CalcHelperMain.o OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test17CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test17CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test17FMU.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_Test17.so OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test17CalcHelperMain.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_Test17_FMU.makefile:93: recipe for target 'ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test17.fmu' failed make: *** [ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test17.fmu] Error 1