Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test25,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test25",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.514/2.514, allocations: 235 MB / 247.6 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.244e-05/4.263e-05, allocations: 4 kB / 305 MB, free: 5.555 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4078/0.4079, allocations: 54.85 MB / 359.9 MB, free: 2.676 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1497/0.5576, allocations: 80.88 MB / 440.7 MB, free: 100 kB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002818/0.558, allocations: 71.97 kB / 440.8 MB, free: 28 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01264/0.5706, allocations: 2.88 MB / 443.7 MB, free: 13.18 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.5707, allocations: 0 / 443.7 MB, free: 13.18 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.292e-05/0.5707, allocations: 4 kB / 443.7 MB, free: 13.18 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.0006245/0.5714, allocations: 415.9 kB / 444.1 MB, free: 12.72 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.192e-05/0.5714, allocations: 12.03 kB / 444.1 MB, free: 12.71 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.776e-05/0.5715, allocations: 30.56 kB / 444.1 MB, free: 12.67 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.297e-05/0.5715, allocations: 7.906 kB / 444.2 MB, free: 12.66 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002582/0.5718, allocations: 183 kB / 444.3 MB, free: 12.44 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.308e-05/0.5718, allocations: 0 / 444.3 MB, free: 12.44 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.844e-05/0.5719, allocations: 8 kB / 444.3 MB, free: 12.43 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001446/0.572, allocations: 55.64 kB / 444.4 MB, free: 12.38 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/0.5721, allocations: 0 / 444.4 MB, free: 12.38 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.84e-05/0.5721, allocations: 7.953 kB / 444.4 MB, free: 12.37 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/0.5721, allocations: 0 / 444.4 MB, free: 12.37 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.499e-05/0.5722, allocations: 27.27 kB / 444.4 MB, free: 12.34 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004284/0.5726, allocations: 284.8 kB / 444.7 MB, free: 12.02 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000107/0.5728, allocations: 34.53 kB / 444.7 MB, free: 11.97 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.109e-05/0.5728, allocations: 13.7 kB / 444.8 MB, free: 11.96 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.812e-05/0.5729, allocations: 7.938 kB / 444.8 MB, free: 11.95 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.846e-05/0.5729, allocations: 38.64 kB / 444.8 MB, free: 11.9 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.863e-06/0.5729, allocations: 0 / 444.8 MB, free: 11.9 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.000682/0.5736, allocations: 137.4 kB / 444.9 MB, free: 11.76 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.425e-05/0.5737, allocations: 55.34 kB / 445 MB, free: 11.7 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002218/0.5739, allocations: 142.6 kB / 445.1 MB, free: 11.55 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.819e-05/0.574, allocations: 25.7 kB / 445.2 MB, free: 11.52 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.224e-05/0.5741, allocations: 158.6 kB / 445.3 MB, free: 11.36 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.58e-05/0.5741, allocations: 28.12 kB / 445.3 MB, free: 11.33 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.364e-06/0.5741, allocations: 0 / 445.3 MB, free: 11.33 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001444/0.5743, allocations: 318.8 kB / 445.6 MB, free: 11.01 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.561e-05/0.5744, allocations: 16 kB / 445.7 MB, free: 11 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.207e-05/0.5744, allocations: 20 kB / 445.7 MB, free: 10.98 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.95e-05/0.5745, allocations: 37.7 kB / 445.7 MB, free: 10.93 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.5745, allocations: 4.984 kB / 445.7 MB, free: 10.93 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002366/0.5748, allocations: 107.4 kB / 445.8 MB, free: 10.81 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.265e-05/0.5749, allocations: 37.69 kB / 445.9 MB, free: 10.77 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.5749, allocations: 2.75 kB / 445.9 MB, free: 10.77 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.795e-05/0.5749, allocations: 4 kB / 445.9 MB, free: 10.77 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002175/0.5751, allocations: 23.92 kB / 445.9 MB, free: 10.74 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.166e-06/0.5751, allocations: 1.016 kB / 445.9 MB, free: 10.74 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001207/0.5753, allocations: 15.98 kB / 445.9 MB, free: 10.73 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.538e-05/0.5753, allocations: 8 kB / 445.9 MB, free: 10.72 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.711e-05/0.5754, allocations: 105 kB / 446 MB, free: 10.61 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.422e-05/0.5755, allocations: 15.8 kB / 446 MB, free: 10.59 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002753/0.5757, allocations: 92.09 kB / 446.1 MB, free: 10.49 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.532e-06/0.5758, allocations: 4 kB / 446.1 MB, free: 10.49 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.5758, allocations: 0 / 446.1 MB, free: 10.49 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.5758, allocations: 0 / 446.1 MB, free: 10.49 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005676/0.5764, allocations: 362.5 kB / 446.5 MB, free: 10.08 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.5764, allocations: 0 / 446.5 MB, free: 10.08 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001775/0.5766, allocations: 23.98 kB / 446.5 MB, free: 10.05 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.518e-06/0.5766, allocations: 0 / 446.5 MB, free: 10.05 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.078e-05/0.5766, allocations: 0 / 446.5 MB, free: 10.05 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.5766, allocations: 0 / 446.5 MB, free: 10.05 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.5766, allocations: 0 / 446.5 MB, free: 10.05 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000258/0.5769, allocations: 187.3 kB / 446.7 MB, free: 9.855 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.212e-05/0.577, allocations: 85.02 kB / 446.8 MB, free: 9.754 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.264e-05/0.577, allocations: 0 / 446.8 MB, free: 9.754 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000158/0.5772, allocations: 20.86 kB / 446.8 MB, free: 9.734 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.996e-05/0.5773, allocations: 7.984 kB / 446.8 MB, free: 9.727 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.536e-06/0.5773, allocations: 0.9375 kB / 446.8 MB, free: 9.727 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001433/0.5774, allocations: 117.5 kB / 446.9 MB, free: 9.613 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.5774, allocations: 4 kB / 446.9 MB, free: 9.609 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003795/0.5778, allocations: 23.94 kB / 446.9 MB, free: 9.586 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.001291/0.5791, allocations: 0.8832 MB / 447.8 MB, free: 8.746 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002535/0.5794, allocations: 99.41 kB / 447.9 MB, free: 8.637 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.5794, allocations: 3.938 kB / 447.9 MB, free: 8.633 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.507e-05/0.5795, allocations: 24 kB / 448 MB, free: 8.609 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002799/0.5798, allocations: 23.77 kB / 448 MB, free: 8.586 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006892/0.5805, allocations: 209.7 kB / 448.2 MB, free: 8.34 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003665/0.5809, allocations: 0.7004 MB / 448.9 MB, free: 7.613 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.503e-05/0.581, allocations: 27.44 kB / 448.9 MB, free: 7.586 MB / 378.7 MB Notification: Performance of SimCode: time 1.152e-06/0.581, allocations: 0 / 448.9 MB, free: 7.586 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_Test25CalcHelperMain.o OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test25CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test25CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test25FMU.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_Test25.so OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test25CalcHelperMain.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_Test25_FMU.makefile:93: recipe for target 'ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test25.fmu' failed make: *** [ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test25.fmu] Error 1