Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test32,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test32",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.415/2.415, allocations: 235 MB / 247.6 MB, free: 14.37 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.431e-05/4.44e-05, allocations: 0.9375 kB / 305 MB, free: 5.566 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4517/0.4518, allocations: 54.86 MB / 359.9 MB, free: 2.328 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1671/0.6189, allocations: 80.9 MB / 440.8 MB, free: 15.98 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002706/0.6193, allocations: 66.28 kB / 440.8 MB, free: 15.91 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01382/0.6331, allocations: 3.239 MB / 444.1 MB, free: 12.69 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.023e-06/0.6332, allocations: 0 / 444.1 MB, free: 12.69 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.357e-05/0.6332, allocations: 0 / 444.1 MB, free: 12.69 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005257/0.6337, allocations: 419.9 kB / 444.5 MB, free: 12.23 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.688e-05/0.6338, allocations: 12.03 kB / 444.5 MB, free: 12.22 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.244e-05/0.6339, allocations: 31.44 kB / 444.5 MB, free: 12.18 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.093e-05/0.6339, allocations: 11.81 kB / 444.5 MB, free: 12.17 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000304/0.6343, allocations: 199.6 kB / 444.7 MB, free: 11.93 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.46e-05/0.6343, allocations: 4 kB / 444.7 MB, free: 11.93 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.018e-05/0.6343, allocations: 11.98 kB / 444.7 MB, free: 11.91 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001357/0.6345, allocations: 41.69 kB / 444.8 MB, free: 11.87 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.607e-05/0.6345, allocations: 9.891 kB / 444.8 MB, free: 11.86 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.818e-06/0.6345, allocations: 0 / 444.8 MB, free: 11.86 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.6345, allocations: 0 / 444.8 MB, free: 11.86 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.996e-05/0.6346, allocations: 16 kB / 444.8 MB, free: 11.84 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005249/0.6351, allocations: 296.9 kB / 445.1 MB, free: 11.5 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002281/0.6354, allocations: 46.52 kB / 445.2 MB, free: 11.45 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.461e-05/0.6355, allocations: 13.7 kB / 445.2 MB, free: 11.43 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.715e-05/0.6355, allocations: 3.938 kB / 445.2 MB, free: 11.43 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.273e-05/0.6355, allocations: 30.56 kB / 445.2 MB, free: 11.39 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.794e-06/0.6355, allocations: 0 / 445.2 MB, free: 11.39 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005462/0.6361, allocations: 125.3 kB / 445.3 MB, free: 11.26 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.839e-05/0.6362, allocations: 55.41 kB / 445.4 MB, free: 11.2 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003371/0.6365, allocations: 213.4 kB / 445.6 MB, free: 10.98 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.037e-05/0.6365, allocations: 33.64 kB / 445.6 MB, free: 10.94 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.312e-05/0.6366, allocations: 162.6 kB / 445.8 MB, free: 10.78 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.576e-05/0.6367, allocations: 12.38 kB / 445.8 MB, free: 10.77 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.613e-06/0.6367, allocations: 0 / 445.8 MB, free: 10.77 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001222/0.6368, allocations: 318.8 kB / 446.1 MB, free: 10.45 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.379e-05/0.6369, allocations: 16 kB / 446.1 MB, free: 10.43 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.45e-05/0.6369, allocations: 12 kB / 446.1 MB, free: 10.42 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.461e-05/0.637, allocations: 45.69 kB / 446.2 MB, free: 10.37 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.6371, allocations: 4.969 kB / 446.2 MB, free: 10.37 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002186/0.6373, allocations: 96.53 kB / 446.3 MB, free: 10.26 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.16e-05/0.6373, allocations: 33.7 kB / 446.3 MB, free: 10.22 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.6374, allocations: 0 / 446.3 MB, free: 10.22 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.6374, allocations: 0 / 446.3 MB, free: 10.22 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001482/0.6375, allocations: 19.98 kB / 446.3 MB, free: 10.2 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.674e-06/0.6376, allocations: 4 kB / 446.3 MB, free: 10.2 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.414e-05/0.6377, allocations: 4 kB / 446.3 MB, free: 10.2 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.38e-05/0.6377, allocations: 4 kB / 446.3 MB, free: 10.19 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 (6): * Single equations (assignments): 5 * 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.923e-05/0.6378, allocations: 104.9 kB / 446.4 MB, free: 10.08 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.805e-05/0.6378, allocations: 23.75 kB / 446.5 MB, free: 10.06 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002534/0.6381, allocations: 91.23 kB / 446.5 MB, free: 9.965 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.608e-06/0.6381, allocations: 0 / 446.5 MB, free: 9.965 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.6382, allocations: 4 kB / 446.6 MB, free: 9.961 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.858e-06/0.6382, allocations: 0 / 446.6 MB, free: 9.961 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005788/0.6388, allocations: 366.5 kB / 446.9 MB, free: 9.547 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.6388, allocations: 4 kB / 446.9 MB, free: 9.543 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001238/0.6389, allocations: 11.98 kB / 446.9 MB, free: 9.531 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.955e-06/0.6389, allocations: 4 kB / 446.9 MB, free: 9.527 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.246e-05/0.639, allocations: 4 kB / 446.9 MB, free: 9.523 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.446e-06/0.639, allocations: 0 / 446.9 MB, free: 9.523 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.639, allocations: 0 / 446.9 MB, free: 9.523 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002362/0.6392, allocations: 171.4 kB / 447.1 MB, free: 9.34 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.805e-05/0.6393, allocations: 92.92 kB / 447.2 MB, free: 9.23 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.45e-05/0.6394, allocations: 3.984 kB / 447.2 MB, free: 9.227 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001205/0.6395, allocations: 12 kB / 447.2 MB, free: 9.215 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.996e-05/0.6396, allocations: 3.984 kB / 447.2 MB, free: 9.211 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.216e-05/0.6396, allocations: 10.06 kB / 447.2 MB, free: 9.203 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002677/0.6399, allocations: 172.8 kB / 447.4 MB, free: 9.035 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.6399, allocations: 0 / 447.4 MB, free: 9.035 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003591/0.6402, allocations: 20 kB / 447.4 MB, free: 9.016 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 (5): * Single equations (assignments): 5 * 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.001345/0.6416, allocations: 0.8784 MB / 448.3 MB, free: 8.188 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002711/0.6419, allocations: 95.34 kB / 448.4 MB, free: 8.082 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.6419, allocations: 7.938 kB / 448.4 MB, free: 8.074 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.232e-05/0.642, allocations: 16 kB / 448.4 MB, free: 8.059 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000295/0.6423, allocations: 16.42 kB / 448.4 MB, free: 8.043 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007921/0.6431, allocations: 265.9 kB / 448.7 MB, free: 7.738 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003316/0.6435, allocations: 0.7121 MB / 449.4 MB, free: 7 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001009/0.6436, allocations: 31.42 kB / 449.4 MB, free: 6.973 MB / 378.7 MB Notification: Performance of SimCode: time 8.62e-07/0.6436, allocations: 0 / 449.4 MB, free: 6.973 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_Test32CalcHelperMain.o OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test32CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test32CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test32FMU.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_Test32.so OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test32CalcHelperMain.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_Test32_FMU.makefile:93: recipe for target 'ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test32.fmu' failed make: *** [ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test32.fmu] Error 1