Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test9,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test9",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.006/2.006, allocations: 209.3 MB / 221.9 MB, free: 1.93 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.594e-05/3.611e-05, allocations: 0 / 273.2 MB, free: 0.625 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.101/0.101, allocations: 48.7 MB / 321.9 MB, free: 15.83 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3942/0.4953, allocations: 74.26 MB / 396.1 MB, free: 15.56 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002661/0.4956, allocations: 75.06 kB / 396.2 MB, free: 15.49 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01812/0.5137, allocations: 5.094 MB / 401.3 MB, free: 10.39 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.5138, allocations: 0 / 401.3 MB, free: 10.39 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.138e-05/0.5138, allocations: 8 kB / 401.3 MB, free: 10.39 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0007176/0.5145, allocations: 0.5771 MB / 401.9 MB, free: 9.758 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.5146, allocations: 12.03 kB / 401.9 MB, free: 9.746 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.221e-05/0.5146, allocations: 30.56 kB / 401.9 MB, free: 9.707 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.847e-05/0.5147, allocations: 43.44 kB / 402 MB, free: 9.664 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005694/0.5153, allocations: 315.4 kB / 402.3 MB, free: 9.316 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.069e-05/0.5153, allocations: 8 kB / 402.3 MB, free: 9.309 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.616e-06/0.5154, allocations: 0 / 402.3 MB, free: 9.309 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.959e-05/0.5155, allocations: 41.7 kB / 402.3 MB, free: 9.262 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.092e-06/0.5155, allocations: 3.938 kB / 402.3 MB, free: 9.258 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.324e-06/0.5155, allocations: 0 / 402.3 MB, free: 9.258 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.5155, allocations: 4 kB / 402.3 MB, free: 9.254 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.707e-05/0.5156, allocations: 12 kB / 402.3 MB, free: 9.242 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006757/0.5163, allocations: 416.8 kB / 402.7 MB, free: 8.785 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.153e-05/0.5164, allocations: 34.56 kB / 402.8 MB, free: 8.742 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.679e-05/0.5164, allocations: 12.86 kB / 402.8 MB, free: 8.727 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.92e-05/0.5165, allocations: 0 / 402.8 MB, free: 8.727 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.875e-05/0.5165, allocations: 39.84 kB / 402.8 MB, free: 8.68 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 1.542e-06/0.5165, allocations: 0 / 402.8 MB, free: 8.68 MB / 330.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002371/0.5168, allocations: 89.22 kB / 402.9 MB, free: 8.586 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.681e-05/0.5168, allocations: 63.36 kB / 403 MB, free: 8.512 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001832/0.5187, allocations: 0.7576 MB / 403.7 MB, free: 7.742 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.627e-05/0.5187, allocations: 25.7 kB / 403.8 MB, free: 7.711 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001964/0.5189, allocations: 230.6 kB / 404 MB, free: 7.484 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.431e-05/0.519, allocations: 15.83 kB / 404 MB, free: 7.469 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.549e-06/0.519, allocations: 0 / 404 MB, free: 7.469 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001119/0.5191, allocations: 310.8 kB / 404.3 MB, free: 7.156 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.134e-05/0.5192, allocations: 12 kB / 404.3 MB, free: 7.145 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.913e-05/0.5192, allocations: 4 kB / 404.3 MB, free: 7.141 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.206e-05/0.5193, allocations: 37.7 kB / 404.4 MB, free: 7.098 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.5193, allocations: 0 / 404.4 MB, free: 7.098 MB / 330.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.00016/0.5195, allocations: 83.33 kB / 404.4 MB, free: 7.004 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.571e-05/0.5195, allocations: 33.7 kB / 404.5 MB, free: 6.965 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.5195, allocations: 0 / 404.5 MB, free: 6.965 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.223e-05/0.5195, allocations: 0 / 404.5 MB, free: 6.965 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001369/0.5197, allocations: 15.92 kB / 404.5 MB, free: 6.949 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-06/0.5197, allocations: 0 / 404.5 MB, free: 6.949 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001548/0.5199, allocations: 19.86 kB / 404.5 MB, free: 6.93 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.215e-05/0.5199, allocations: 3.984 kB / 404.5 MB, free: 6.926 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 (4): * Single equations (assignments): 3 * 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 6.7e-05/0.52, allocations: 104.9 kB / 404.6 MB, free: 6.816 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001123/0.5201, allocations: 39.53 kB / 404.6 MB, free: 6.777 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002458/0.5204, allocations: 100.8 kB / 404.7 MB, free: 6.668 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/0.5204, allocations: 3.984 kB / 404.7 MB, free: 6.664 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.885e-06/0.5204, allocations: 0 / 404.7 MB, free: 6.664 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.524e-06/0.5204, allocations: 0 / 404.7 MB, free: 6.664 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004496/0.5209, allocations: 321.4 kB / 405.1 MB, free: 6.301 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.5209, allocations: 4 kB / 405.1 MB, free: 6.297 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001029/0.521, allocations: 19.98 kB / 405.1 MB, free: 6.277 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.947e-06/0.521, allocations: 0 / 405.1 MB, free: 6.277 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.783e-06/0.521, allocations: 0 / 405.1 MB, free: 6.277 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.521, allocations: 0 / 405.1 MB, free: 6.277 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.521, allocations: 0 / 405.1 MB, free: 6.277 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002443/0.5213, allocations: 182.9 kB / 405.3 MB, free: 6.082 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000261/0.5216, allocations: 160.6 kB / 405.4 MB, free: 5.906 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.934e-05/0.5216, allocations: 4 kB / 405.4 MB, free: 5.902 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00015/0.5218, allocations: 4.281 kB / 405.4 MB, free: 5.898 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.301e-05/0.5218, allocations: 7.984 kB / 405.4 MB, free: 5.891 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.681e-06/0.5219, allocations: 0 / 405.4 MB, free: 5.891 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001135/0.523, allocations: 0.6185 MB / 406.1 MB, free: 5.277 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.523, allocations: 0 / 406.1 MB, free: 5.277 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004229/0.5235, allocations: 48 kB / 406.1 MB, free: 5.23 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 (3): * Single equations (assignments): 3 * 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.0009652/0.5244, allocations: 0.8196 MB / 406.9 MB, free: 4.422 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001699/0.5246, allocations: 75.41 kB / 407 MB, free: 4.336 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.5246, allocations: 0 / 407 MB, free: 4.336 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 4.085e-05/0.5247, allocations: 11.94 kB / 407 MB, free: 4.324 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003351/0.525, allocations: 28.36 kB / 407 MB, free: 4.301 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001948/0.527, allocations: 0.8191 MB / 407.9 MB, free: 3.438 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005204/0.5276, allocations: 0.8223 MB / 408.7 MB, free: 2.59 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002474/0.5278, allocations: 111.6 kB / 408.8 MB, free: 2.48 MB / 330.7 MB Notification: Performance of SimCode: time 1.273e-06/0.5278, allocations: 0 / 408.8 MB, free: 2.48 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_Test9CalcHelperMain.o OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test9CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test9CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test9FMU.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_Test9.so OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test9CalcHelperMain.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_Test9_FMU.makefile:93: recipe for target 'ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test9.fmu' failed make: *** [ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test9.fmu] Error 1