Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test29,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test29",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.555/2.555, allocations: 235 MB / 247.6 MB, free: 14.39 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.971e-05/4.017e-05, allocations: 4.938 kB / 305 MB, free: 5.562 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3895/0.3896, allocations: 54.85 MB / 359.9 MB, free: 2.312 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1475/0.5371, allocations: 80.89 MB / 440.8 MB, free: 15.99 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002613/0.5374, allocations: 71.91 kB / 440.8 MB, free: 15.92 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01293/0.5504, allocations: 3.012 MB / 443.8 MB, free: 12.94 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.854e-06/0.5504, allocations: 0 / 443.8 MB, free: 12.94 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.269e-05/0.5505, allocations: 0 / 443.8 MB, free: 12.94 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000557/0.551, allocations: 427.2 kB / 444.3 MB, free: 12.47 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.916e-05/0.5511, allocations: 8.031 kB / 444.3 MB, free: 12.46 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.532e-05/0.5511, allocations: 38.5 kB / 444.3 MB, free: 12.42 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.626e-05/0.5512, allocations: 11.91 kB / 444.3 MB, free: 12.41 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002741/0.5515, allocations: 191.5 kB / 444.5 MB, free: 12.18 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.195e-05/0.5515, allocations: 0 / 444.5 MB, free: 12.18 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.641e-05/0.5516, allocations: 4 kB / 444.5 MB, free: 12.17 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001457/0.5517, allocations: 49.69 kB / 444.5 MB, free: 12.12 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.5517, allocations: 0 / 444.5 MB, free: 12.12 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.525e-05/0.5518, allocations: 11.94 kB / 444.6 MB, free: 12.11 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-06/0.5518, allocations: 0 / 444.6 MB, free: 12.11 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.58e-05/0.5519, allocations: 23.98 kB / 444.6 MB, free: 12.08 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004646/0.5523, allocations: 288.8 kB / 444.9 MB, free: 11.75 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001014/0.5525, allocations: 38.52 kB / 444.9 MB, free: 11.7 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.531e-05/0.5525, allocations: 16.86 kB / 444.9 MB, free: 11.68 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.557e-05/0.5526, allocations: 4 kB / 444.9 MB, free: 11.68 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.199e-05/0.5526, allocations: 34.56 kB / 445 MB, free: 11.64 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 2.154e-06/0.5526, allocations: 0.9375 kB / 445 MB, free: 11.64 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0006654/0.5533, allocations: 145.3 kB / 445.1 MB, free: 11.49 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.531e-05/0.5533, allocations: 51.41 kB / 445.2 MB, free: 11.43 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002622/0.5536, allocations: 173.5 kB / 445.3 MB, free: 11.25 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.98e-05/0.5537, allocations: 25.7 kB / 445.3 MB, free: 11.21 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.653e-05/0.5537, allocations: 166.5 kB / 445.5 MB, free: 11.05 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.552e-05/0.5538, allocations: 31.7 kB / 445.5 MB, free: 11.02 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.969e-06/0.5538, allocations: 0 / 445.5 MB, free: 11.02 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001168/0.5539, allocations: 318.8 kB / 445.8 MB, free: 10.7 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.124e-05/0.554, allocations: 12 kB / 445.9 MB, free: 10.69 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.966e-05/0.5541, allocations: 20.94 kB / 445.9 MB, free: 10.67 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.616e-05/0.5542, allocations: 53.62 kB / 445.9 MB, free: 10.61 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.546e-06/0.5542, allocations: 3.953 kB / 445.9 MB, free: 10.61 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002222/0.5544, allocations: 99.39 kB / 446 MB, free: 10.5 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.619e-05/0.5545, allocations: 33.7 kB / 446.1 MB, free: 10.46 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.5545, allocations: 0 / 446.1 MB, free: 10.46 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/0.5545, allocations: 0 / 446.1 MB, free: 10.46 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002187/0.5548, allocations: 23.98 kB / 446.1 MB, free: 10.43 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/0.5548, allocations: 0 / 446.1 MB, free: 10.43 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001307/0.5549, allocations: 15.98 kB / 446.1 MB, free: 10.42 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.513e-05/0.555, allocations: 4.562 kB / 446.1 MB, free: 10.41 MB / 378.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 (8): * Single equations (assignments): 7 * 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 8.268e-05/0.5551, allocations: 105 kB / 446.2 MB, free: 10.3 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.084e-05/0.5551, allocations: 11.86 kB / 446.2 MB, free: 10.29 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002778/0.5554, allocations: 99 kB / 446.3 MB, free: 10.19 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.642e-06/0.5554, allocations: 4 kB / 446.3 MB, free: 10.18 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.5554, allocations: 1.688 kB / 446.3 MB, free: 10.18 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.5555, allocations: 9.578 kB / 446.3 MB, free: 10.18 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005668/0.556, allocations: 364.5 kB / 446.7 MB, free: 9.766 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.5561, allocations: 3.938 kB / 446.7 MB, free: 9.762 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001793/0.5563, allocations: 23.98 kB / 446.7 MB, free: 9.738 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.434e-06/0.5563, allocations: 4 kB / 446.7 MB, free: 9.734 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.323e-05/0.5563, allocations: 3.984 kB / 446.7 MB, free: 9.73 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.5563, allocations: 0 / 446.7 MB, free: 9.73 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.5563, allocations: 0 / 446.7 MB, free: 9.73 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002403/0.5566, allocations: 183.4 kB / 446.9 MB, free: 9.535 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.13e-05/0.5567, allocations: 85.02 kB / 447 MB, free: 9.434 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.819e-05/0.5567, allocations: 4 kB / 447 MB, free: 9.43 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001524/0.5569, allocations: 12.86 kB / 447 MB, free: 9.418 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.452e-05/0.5569, allocations: 7.984 kB / 447 MB, free: 9.41 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.094e-05/0.5569, allocations: 8 kB / 447 MB, free: 9.402 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001814/0.5571, allocations: 141.7 kB / 447.2 MB, free: 9.266 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.5571, allocations: 0 / 447.2 MB, free: 9.266 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003504/0.5575, allocations: 24 kB / 447.2 MB, free: 9.242 MB / 378.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 (7): * Single equations (assignments): 7 * 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.001227/0.5587, allocations: 0.8904 MB / 448.1 MB, free: 8.398 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002392/0.559, allocations: 107.3 kB / 448.2 MB, free: 8.281 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.559, allocations: 0 / 448.2 MB, free: 8.281 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.973e-05/0.5591, allocations: 27.92 kB / 448.2 MB, free: 8.254 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002769/0.5594, allocations: 11.98 kB / 448.2 MB, free: 8.242 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007434/0.5602, allocations: 241.8 kB / 448.5 MB, free: 7.961 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003112/0.5605, allocations: 0.7004 MB / 449.2 MB, free: 7.234 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.975e-05/0.5606, allocations: 27.42 kB / 449.2 MB, free: 7.207 MB / 378.7 MB Notification: Performance of SimCode: time 9.32e-07/0.5606, allocations: 8 kB / 449.2 MB, free: 7.199 MB / 378.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_Test29CalcHelperMain.o OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test29CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test29CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test29FMU.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_Test29.so OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test29CalcHelperMain.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_Test29_FMU.makefile:93: recipe for target 'ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test29.fmu' failed make: *** [ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test29.fmu] Error 1