Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test16,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test16",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.974/1.974, allocations: 209.3 MB / 221.9 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.444e-05/3.447e-05, allocations: 0 / 273.1 MB, free: 0.6484 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1056/0.1056, allocations: 48.71 MB / 321.8 MB, free: 15.84 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5014/0.607, allocations: 74.71 MB / 396.5 MB, free: 15.22 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002697/0.6074, allocations: 75.95 kB / 396.6 MB, free: 15.14 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01007/0.6175, allocations: 2.708 MB / 399.3 MB, free: 12.43 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.6175, allocations: 0 / 399.3 MB, free: 12.43 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.185e-06/0.6175, allocations: 0 / 399.3 MB, free: 12.43 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.000374/0.6179, allocations: 354.5 kB / 399.7 MB, free: 12.04 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.166e-05/0.618, allocations: 16.03 kB / 399.7 MB, free: 12.02 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.231e-05/0.618, allocations: 46.48 kB / 399.7 MB, free: 11.96 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.602e-05/0.6181, allocations: 7.906 kB / 399.7 MB, free: 11.96 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001748/0.6183, allocations: 171.3 kB / 399.9 MB, free: 11.75 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.83e-05/0.6183, allocations: 4 kB / 399.9 MB, free: 11.75 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.42e-05/0.6183, allocations: 15.92 kB / 399.9 MB, free: 11.73 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003067/0.6187, allocations: 183.3 kB / 400.1 MB, free: 11.5 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.6187, allocations: 0 / 400.1 MB, free: 11.5 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.439e-05/0.6187, allocations: 4 kB / 400.1 MB, free: 11.49 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.863e-05/0.6188, allocations: 11.98 kB / 400.1 MB, free: 11.48 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001185/0.6189, allocations: 59.75 kB / 400.2 MB, free: 11.42 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001201/0.6201, allocations: 1.706 MB / 401.9 MB, free: 9.609 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.745e-05/0.6202, allocations: 169.1 kB / 402.1 MB, free: 9.434 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.786e-05/0.6203, allocations: 80.14 kB / 402.1 MB, free: 9.352 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.929e-05/0.6203, allocations: 79.28 kB / 402.2 MB, free: 9.273 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.918e-05/0.6204, allocations: 109.8 kB / 402.3 MB, free: 9.156 MB / 330.7 MB Notification: Performance of pre-optimization done (n=0): time 2.275e-06/0.6204, allocations: 0 / 402.3 MB, free: 9.156 MB / 330.7 MB Notification: Performance of matching and sorting (n=0): time 0.0001032/0.6205, allocations: 37.55 kB / 402.4 MB, free: 9.113 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.825e-05/0.6206, allocations: 126.7 kB / 402.5 MB, free: 8.977 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002372/0.6208, allocations: 177.2 kB / 402.7 MB, free: 8.797 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.691e-05/0.6209, allocations: 25.7 kB / 402.7 MB, free: 8.766 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000133/0.621, allocations: 217.6 kB / 402.9 MB, free: 8.551 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.344e-06/0.621, allocations: 3.984 kB / 402.9 MB, free: 8.547 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.329e-05/0.6211, allocations: 11.94 kB / 402.9 MB, free: 8.535 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001232/0.6212, allocations: 318.8 kB / 403.2 MB, free: 8.215 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.478e-05/0.6213, allocations: 27.98 kB / 403.2 MB, free: 8.188 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001923/0.6215, allocations: 153.1 kB / 403.4 MB, free: 7.977 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000141/0.6216, allocations: 67.91 kB / 403.5 MB, free: 7.91 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.6217, allocations: 0 / 403.5 MB, free: 7.91 MB / 330.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004295/0.6221, allocations: 197.2 kB / 403.7 MB, free: 7.711 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/0.6221, allocations: 4 kB / 403.7 MB, free: 7.707 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.142e-05/0.6222, allocations: 4 kB / 403.7 MB, free: 7.703 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.66e-05/0.6222, allocations: 11.95 kB / 403.7 MB, free: 7.691 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002232/0.6224, allocations: 35.92 kB / 403.7 MB, free: 7.656 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.727e-05/0.6225, allocations: 11.94 kB / 403.7 MB, free: 7.645 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001347/0.6226, allocations: 24.36 kB / 403.7 MB, free: 7.621 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.121e-05/0.6226, allocations: 15.98 kB / 403.8 MB, free: 7.605 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.0001181/0.6228, allocations: 192.1 kB / 403.9 MB, free: 7.41 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.683e-05/0.6228, allocations: 108.9 kB / 404.1 MB, free: 7.297 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.467e-05/0.6229, allocations: 116.6 kB / 404.2 MB, free: 7.18 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.37e-05/0.623, allocations: 188.2 kB / 404.3 MB, free: 6.988 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.744e-05/0.6231, allocations: 184.2 kB / 404.5 MB, free: 6.801 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.738e-05/0.6232, allocations: 180.2 kB / 404.7 MB, free: 6.617 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002902/0.6235, allocations: 421.2 kB / 405.1 MB, free: 6.148 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.334e-05/0.6235, allocations: 104.9 kB / 405.2 MB, free: 6.039 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.212e-05/0.6236, allocations: 105 kB / 405.3 MB, free: 5.93 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.952e-05/0.6237, allocations: 180.3 kB / 405.5 MB, free: 5.746 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.152e-05/0.6238, allocations: 184.2 kB / 405.7 MB, free: 5.559 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.903e-05/0.6238, allocations: 180.2 kB / 405.9 MB, free: 5.375 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.556e-05/0.6239, allocations: 192.2 kB / 406 MB, free: 5.18 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000172/0.6241, allocations: 317 kB / 406.3 MB, free: 4.848 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001072/0.6242, allocations: 194 kB / 406.5 MB, free: 4.633 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.171e-05/0.6243, allocations: 176.3 kB / 406.7 MB, free: 4.453 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001111/0.6244, allocations: 108.9 kB / 406.8 MB, free: 4.34 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.44e-05/0.6245, allocations: 176.3 kB / 407 MB, free: 4.16 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.871e-05/0.6246, allocations: 112.9 kB / 407.1 MB, free: 4.043 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000176/0.6248, allocations: 136 kB / 407.2 MB, free: 3.91 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.6248, allocations: 0 / 407.2 MB, free: 3.91 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003854/0.6252, allocations: 20 kB / 407.3 MB, free: 3.891 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.0008731/0.6261, allocations: 0.8841 MB / 408.1 MB, free: 3.008 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002284/0.6263, allocations: 80.66 kB / 408.2 MB, free: 2.93 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.6263, allocations: 0 / 408.2 MB, free: 2.93 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 2.845e-06/0.6263, allocations: 0 / 408.2 MB, free: 2.93 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003431/0.6267, allocations: 0.5263 MB / 408.7 MB, free: 2.398 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.00246/0.6292, allocations: 0.8087 MB / 409.5 MB, free: 1.547 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003523/0.6295, allocations: 0.7009 MB / 410.3 MB, free: 0.8203 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.566e-05/0.6297, allocations: 35.36 kB / 410.3 MB, free: 0.7852 MB / 330.7 MB Notification: Performance of SimCode: time 1.322e-06/0.6297, allocations: 0 / 410.3 MB, free: 0.7852 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_Test16CalcHelperMain.o OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test16CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test16CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test16FMU.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_Test16.so OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test16CalcHelperMain.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_Test16_FMU.makefile:93: recipe for target 'ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test16.fmu' failed make: *** [ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test16.fmu] Error 1