Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test26,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test26",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.441/2.441, allocations: 235 MB / 247.6 MB, free: 14.56 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.955e-05/3.995e-05, allocations: 4 kB / 305 MB, free: 5.77 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4131/0.4132, allocations: 54.85 MB / 359.9 MB, free: 2.609 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1638/0.5771, allocations: 80.89 MB / 440.7 MB, free: 148 kB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002727/0.5774, allocations: 71.95 kB / 440.8 MB, free: 76 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01235/0.5898, allocations: 2.921 MB / 443.7 MB, free: 13.18 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.5899, allocations: 0 / 443.7 MB, free: 13.18 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.351e-05/0.5899, allocations: 4 kB / 443.7 MB, free: 13.17 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.0005364/0.5904, allocations: 408 kB / 444.1 MB, free: 12.72 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.716e-05/0.5905, allocations: 8.031 kB / 444.2 MB, free: 12.71 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.905e-05/0.5905, allocations: 42.5 kB / 444.2 MB, free: 12.66 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.447e-05/0.5906, allocations: 15.2 kB / 444.2 MB, free: 12.65 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000257/0.5909, allocations: 192.7 kB / 444.4 MB, free: 12.43 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.677e-05/0.5909, allocations: 7.938 kB / 444.4 MB, free: 12.42 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.263e-05/0.5909, allocations: 4 kB / 444.4 MB, free: 12.41 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000142/0.5911, allocations: 45.69 kB / 444.5 MB, free: 12.36 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.293e-05/0.5911, allocations: 3.906 kB / 444.5 MB, free: 12.36 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.225e-05/0.5911, allocations: 3.953 kB / 444.5 MB, free: 12.36 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.08e-05/0.5912, allocations: 4 kB / 444.5 MB, free: 12.35 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.478e-05/0.5912, allocations: 12 kB / 444.5 MB, free: 12.34 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004371/0.5917, allocations: 288.9 kB / 444.8 MB, free: 12.01 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.861e-05/0.5918, allocations: 38.52 kB / 444.8 MB, free: 11.96 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.976e-05/0.5919, allocations: 16.81 kB / 444.8 MB, free: 11.94 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.54e-05/0.5919, allocations: 4 kB / 444.8 MB, free: 11.94 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.586e-05/0.5919, allocations: 30.56 kB / 444.8 MB, free: 11.9 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 2.435e-06/0.5919, allocations: 1.031 kB / 444.8 MB, free: 11.9 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0006553/0.5926, allocations: 151.6 kB / 445 MB, free: 11.75 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.018e-05/0.5927, allocations: 51.41 kB / 445 MB, free: 11.68 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002109/0.5929, allocations: 151 kB / 445.2 MB, free: 11.53 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.819e-05/0.5929, allocations: 25.7 kB / 445.2 MB, free: 11.5 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.175e-05/0.593, allocations: 166.5 kB / 445.4 MB, free: 11.33 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.332e-05/0.5931, allocations: 23.64 kB / 445.4 MB, free: 11.31 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.548e-06/0.5931, allocations: 8 kB / 445.4 MB, free: 11.3 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001192/0.5932, allocations: 314.8 kB / 445.7 MB, free: 10.98 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.171e-05/0.5933, allocations: 16 kB / 445.7 MB, free: 10.97 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.482e-05/0.5933, allocations: 16 kB / 445.7 MB, free: 10.95 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.672e-05/0.5935, allocations: 50.34 kB / 445.8 MB, free: 10.9 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.5935, allocations: 0 / 445.8 MB, free: 10.9 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000221/0.5937, allocations: 99.39 kB / 445.9 MB, free: 10.79 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.242e-05/0.5938, allocations: 33.64 kB / 445.9 MB, free: 10.75 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.5938, allocations: 3.938 kB / 445.9 MB, free: 10.75 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.5938, allocations: 4 kB / 445.9 MB, free: 10.74 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002164/0.594, allocations: 23.98 kB / 446 MB, free: 10.72 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.674e-06/0.594, allocations: 1.031 kB / 446 MB, free: 10.72 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001202/0.5942, allocations: 19.98 kB / 446 MB, free: 10.7 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.274e-05/0.5942, allocations: 0.8125 kB / 446 MB, free: 10.7 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.234e-05/0.5943, allocations: 108.9 kB / 446.1 MB, free: 10.59 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.256e-05/0.5943, allocations: 11.91 kB / 446.1 MB, free: 10.57 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002626/0.5946, allocations: 95.62 kB / 446.2 MB, free: 10.47 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.626e-06/0.5946, allocations: 0 / 446.2 MB, free: 10.47 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.5947, allocations: 4 kB / 446.2 MB, free: 10.47 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.5947, allocations: 0 / 446.2 MB, free: 10.47 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005365/0.5952, allocations: 364.4 kB / 446.6 MB, free: 10.06 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.5952, allocations: 0.875 kB / 446.6 MB, free: 10.06 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000174/0.5954, allocations: 31.92 kB / 446.6 MB, free: 10.03 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.889e-06/0.5954, allocations: 144 / 446.6 MB, free: 10.03 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.384e-05/0.5955, allocations: 4 kB / 446.6 MB, free: 10.02 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.5955, allocations: 4 kB / 446.6 MB, free: 10.02 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/0.5955, allocations: 3.938 kB / 446.6 MB, free: 10.02 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002265/0.5957, allocations: 174 kB / 446.8 MB, free: 9.832 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.573e-05/0.5958, allocations: 93.02 kB / 446.9 MB, free: 9.723 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.543e-05/0.5958, allocations: 7.984 kB / 446.9 MB, free: 9.715 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001487/0.596, allocations: 8 kB / 446.9 MB, free: 9.707 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.938e-05/0.5961, allocations: 7.984 kB / 446.9 MB, free: 9.699 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.066e-05/0.5961, allocations: 4 kB / 446.9 MB, free: 9.695 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000146/0.5962, allocations: 130.5 kB / 447 MB, free: 9.57 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.9e-07/0.5962, allocations: 0 / 447 MB, free: 9.57 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003524/0.5966, allocations: 20 kB / 447 MB, free: 9.551 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.00123/0.5979, allocations: 0.8859 MB / 447.9 MB, free: 8.703 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002342/0.5981, allocations: 99.41 kB / 448 MB, free: 8.594 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.5981, allocations: 0 / 448 MB, free: 8.594 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.073e-05/0.5982, allocations: 27.94 kB / 448 MB, free: 8.566 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002663/0.5985, allocations: 15.94 kB / 448.1 MB, free: 8.551 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006783/0.5992, allocations: 217.8 kB / 448.3 MB, free: 8.297 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002985/0.5995, allocations: 0.7004 MB / 449 MB, free: 7.57 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.295e-05/0.5996, allocations: 27.42 kB / 449 MB, free: 7.543 MB / 378.7 MB Notification: Performance of SimCode: time 9.72e-07/0.5996, allocations: 0 / 449 MB, free: 7.543 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_Test26CalcHelperMain.o OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test26CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test26CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test26FMU.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_Test26.so OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test26CalcHelperMain.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_Test26_FMU.makefile:93: recipe for target 'ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test26.fmu' failed make: *** [ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test26.fmu] Error 1