Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test6,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test6",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.38/2.38, allocations: 235 MB / 247.6 MB, free: 14.37 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.804e-05/3.814e-05, allocations: 4 kB / 305 MB, free: 5.566 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3982/0.3982, allocations: 54.85 MB / 359.9 MB, free: 2.336 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1483/0.5466, allocations: 81.01 MB / 440.9 MB, free: 15.86 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003015/0.547, allocations: 75.94 kB / 440.9 MB, free: 15.79 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01413/0.5611, allocations: 3.454 MB / 444.4 MB, free: 12.36 MB / 378.7 MB Notification: Performance of FrontEnd: time 4.659e-06/0.5612, allocations: 0 / 444.4 MB, free: 12.36 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.537e-05/0.5612, allocations: 7.875 kB / 444.4 MB, free: 12.35 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005119/0.5617, allocations: 420.5 kB / 444.8 MB, free: 11.89 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.545e-05/0.5618, allocations: 12.03 kB / 444.8 MB, free: 11.88 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.593e-05/0.5619, allocations: 38.55 kB / 444.9 MB, free: 11.83 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.028e-05/0.5619, allocations: 19.77 kB / 444.9 MB, free: 11.81 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002854/0.5622, allocations: 194.9 kB / 445.1 MB, free: 11.58 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.233e-05/0.5622, allocations: 11.98 kB / 445.1 MB, free: 11.57 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.638e-05/0.5623, allocations: 8.5 kB / 445.1 MB, free: 11.56 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001744/0.5625, allocations: 69.94 kB / 445.2 MB, free: 11.48 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.5625, allocations: 4 kB / 445.2 MB, free: 11.48 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.498e-05/0.5625, allocations: 0 / 445.2 MB, free: 11.48 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.16e-05/0.5626, allocations: 3.953 kB / 445.2 MB, free: 11.48 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001139/0.5627, allocations: 27.98 kB / 445.2 MB, free: 11.45 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006113/0.5633, allocations: 397 kB / 445.6 MB, free: 11.01 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003373/0.5637, allocations: 89.16 kB / 445.7 MB, free: 10.9 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.771e-05/0.5637, allocations: 25.72 kB / 445.7 MB, free: 10.87 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.005e-05/0.5638, allocations: 7.953 kB / 445.7 MB, free: 10.86 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.916e-05/0.5638, allocations: 34.64 kB / 445.7 MB, free: 10.82 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.794e-06/0.5638, allocations: 7.938 kB / 445.7 MB, free: 10.81 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0007518/0.5646, allocations: 193.6 kB / 445.9 MB, free: 10.62 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.944e-05/0.5647, allocations: 81.05 kB / 446 MB, free: 10.52 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000298/0.565, allocations: 198.5 kB / 446.2 MB, free: 10.31 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.461e-05/0.565, allocations: 25.7 kB / 446.2 MB, free: 10.28 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.403e-05/0.5651, allocations: 174.5 kB / 446.4 MB, free: 10.11 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.076e-05/0.5652, allocations: 31.55 kB / 446.4 MB, free: 10.08 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.784e-06/0.5652, allocations: 4 kB / 446.4 MB, free: 10.07 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001192/0.5653, allocations: 310.8 kB / 446.7 MB, free: 9.762 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.715e-05/0.5654, allocations: 31.98 kB / 446.8 MB, free: 9.73 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.953e-05/0.5655, allocations: 24.77 kB / 446.8 MB, free: 9.707 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001067/0.5656, allocations: 54.89 kB / 446.8 MB, free: 9.648 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.5656, allocations: 0 / 446.8 MB, free: 9.648 MB / 378.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002704/0.5659, allocations: 139.2 kB / 447 MB, free: 9.5 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.275e-05/0.566, allocations: 35.41 kB / 447 MB, free: 9.461 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.566, allocations: 4 kB / 447 MB, free: 9.457 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.566, allocations: 4 kB / 447 MB, free: 9.453 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001694/0.5662, allocations: 25.7 kB / 447.1 MB, free: 9.43 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.029e-05/0.5662, allocations: 4 kB / 447.1 MB, free: 9.426 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.344e-05/0.5663, allocations: 5.875 kB / 447.1 MB, free: 9.422 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.852e-05/0.5663, allocations: 8 kB / 447.1 MB, free: 9.414 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 (11): * Single equations (assignments): 10 * 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 7.864e-05/0.5664, allocations: 101 kB / 447.2 MB, free: 9.309 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.09e-05/0.5665, allocations: 15.86 kB / 447.2 MB, free: 9.293 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003898/0.5669, allocations: 144.4 kB / 447.3 MB, free: 9.148 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.5669, allocations: 0 / 447.3 MB, free: 9.148 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.5669, allocations: 0 / 447.3 MB, free: 9.148 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.567, allocations: 3.984 kB / 447.3 MB, free: 9.145 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008426/0.5678, allocations: 0.505 MB / 447.8 MB, free: 8.582 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.5678, allocations: 0 / 447.8 MB, free: 8.582 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000167/0.568, allocations: 28.02 kB / 447.9 MB, free: 8.555 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.163e-06/0.568, allocations: 0 / 447.9 MB, free: 8.555 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.628e-05/0.5681, allocations: 11.94 kB / 447.9 MB, free: 8.543 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.5681, allocations: 0 / 447.9 MB, free: 8.543 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.5681, allocations: 0 / 447.9 MB, free: 8.543 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00034/0.5684, allocations: 316.2 kB / 448.2 MB, free: 8.203 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.04e-05/0.5685, allocations: 97 kB / 448.3 MB, free: 8.09 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.098e-05/0.5686, allocations: 4 kB / 448.3 MB, free: 8.086 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001618/0.5687, allocations: 4 kB / 448.3 MB, free: 8.082 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.528e-05/0.5688, allocations: 15.94 kB / 448.3 MB, free: 8.066 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.517e-05/0.5688, allocations: 4 kB / 448.3 MB, free: 8.062 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002144/0.569, allocations: 163.9 kB / 448.5 MB, free: 7.902 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.5691, allocations: 4 kB / 448.5 MB, free: 7.898 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004247/0.5695, allocations: 28 kB / 448.5 MB, free: 7.871 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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.001363/0.5709, allocations: 1.156 MB / 449.7 MB, free: 6.746 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002822/0.5712, allocations: 123.3 kB / 449.8 MB, free: 6.613 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.5712, allocations: 0 / 449.8 MB, free: 6.613 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001106/0.5713, allocations: 39.92 kB / 449.8 MB, free: 6.574 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003299/0.5717, allocations: 15.03 kB / 449.8 MB, free: 6.562 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008769/0.5725, allocations: 311.6 kB / 450.1 MB, free: 6.215 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003362/0.5729, allocations: 0.7277 MB / 450.9 MB, free: 5.461 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001084/0.573, allocations: 35.42 kB / 450.9 MB, free: 5.426 MB / 378.7 MB Notification: Performance of SimCode: time 8.22e-07/0.573, allocations: 0 / 450.9 MB, free: 5.426 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_CombiTable1D_Test6CalcHelperMain.o OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test6CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test6CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test6FMU.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_CombiTable1D_Test6.so OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test6CalcHelperMain.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_CombiTable1D_Test6_FMU.makefile:93: recipe for target 'ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test6.fmu' failed make: *** [ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test6.fmu] Error 1