Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test12,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_Test12",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.879/1.879, allocations: 209.3 MB / 221.9 MB, free: 1.934 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.417e-05/3.422e-05, allocations: 4 kB / 273.2 MB, free: 0.6328 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.105/0.1051, allocations: 48.7 MB / 321.9 MB, free: 15.84 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4162/0.5214, allocations: 74.4 MB / 396.3 MB, free: 15.53 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002662/0.5217, allocations: 70.84 kB / 396.3 MB, free: 15.46 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01166/0.5334, allocations: 2.66 MB / 399 MB, free: 12.81 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.684e-06/0.5334, allocations: 0 / 399 MB, free: 12.81 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.164e-05/0.5334, allocations: 0 / 399 MB, free: 12.81 MB / 330.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.00052/0.534, allocations: 404 kB / 399.4 MB, free: 12.36 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.673e-05/0.534, allocations: 8.031 kB / 399.4 MB, free: 12.36 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.004e-05/0.5341, allocations: 30.56 kB / 399.4 MB, free: 12.32 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.309e-05/0.5341, allocations: 15.91 kB / 399.4 MB, free: 12.3 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000268/0.5344, allocations: 190.9 kB / 399.6 MB, free: 12.07 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.374e-05/0.5344, allocations: 4 kB / 399.6 MB, free: 12.07 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.321e-05/0.5345, allocations: 4 kB / 399.6 MB, free: 12.07 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001411/0.5346, allocations: 37.7 kB / 399.7 MB, free: 12.02 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.5347, allocations: 0 / 399.7 MB, free: 12.02 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.069e-05/0.5347, allocations: 0 / 399.7 MB, free: 12.02 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.053e-05/0.5347, allocations: 7.984 kB / 399.7 MB, free: 12.02 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.462e-05/0.5348, allocations: 16 kB / 399.7 MB, free: 12 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004978/0.5353, allocations: 292.8 kB / 400 MB, free: 11.66 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002274/0.5355, allocations: 42.56 kB / 400 MB, free: 11.61 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.937e-05/0.5356, allocations: 8.859 kB / 400 MB, free: 11.6 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.295e-05/0.5356, allocations: 0 / 400 MB, free: 11.6 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.18e-05/0.5357, allocations: 38.56 kB / 400.1 MB, free: 11.55 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 1.683e-06/0.5357, allocations: 4 kB / 400.1 MB, free: 11.55 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005219/0.5362, allocations: 106.9 kB / 400.2 MB, free: 11.44 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.274e-05/0.5363, allocations: 59.36 kB / 400.2 MB, free: 11.37 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002087/0.5365, allocations: 148.9 kB / 400.4 MB, free: 11.21 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.001e-05/0.5365, allocations: 25.7 kB / 400.4 MB, free: 11.18 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.027e-05/0.5366, allocations: 158.5 kB / 400.6 MB, free: 11.03 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.773e-05/0.5367, allocations: 15.81 kB / 400.6 MB, free: 11.01 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.412e-06/0.5367, allocations: 4 kB / 400.6 MB, free: 11.01 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001344/0.5368, allocations: 318.8 kB / 400.9 MB, free: 10.69 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.258e-05/0.5369, allocations: 12 kB / 400.9 MB, free: 10.68 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.649e-05/0.537, allocations: 16 kB / 400.9 MB, free: 10.66 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.823e-05/0.5371, allocations: 45.62 kB / 401 MB, free: 10.61 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/0.5371, allocations: 0 / 401 MB, free: 10.61 MB / 330.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001955/0.5373, allocations: 95.33 kB / 401 MB, free: 10.5 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.102e-05/0.5374, allocations: 33.7 kB / 401.1 MB, free: 10.46 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.5374, allocations: 0 / 401.1 MB, free: 10.46 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.5374, allocations: 4 kB / 401.1 MB, free: 10.46 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001289/0.5375, allocations: 15.98 kB / 401.1 MB, free: 10.45 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.5376, allocations: 0 / 401.1 MB, free: 10.45 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.911e-05/0.5376, allocations: 7.953 kB / 401.1 MB, free: 10.44 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.539e-05/0.5377, allocations: 15.92 kB / 401.1 MB, free: 10.42 MB / 330.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.088e-05/0.5378, allocations: 101 kB / 401.2 MB, free: 10.32 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.273e-05/0.5378, allocations: 8.047 kB / 401.2 MB, free: 10.31 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002418/0.5381, allocations: 97.59 kB / 401.3 MB, free: 10.21 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.5381, allocations: 0 / 401.3 MB, free: 10.21 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.5381, allocations: 0 / 401.3 MB, free: 10.21 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.5381, allocations: 0 / 401.3 MB, free: 10.21 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005203/0.5387, allocations: 338.9 kB / 401.7 MB, free: 9.824 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.5387, allocations: 0 / 401.7 MB, free: 9.824 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001213/0.5388, allocations: 23.92 kB / 401.7 MB, free: 9.801 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.467e-06/0.5388, allocations: 0 / 401.7 MB, free: 9.801 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.328e-06/0.5388, allocations: 4 kB / 401.7 MB, free: 9.797 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.039e-06/0.5389, allocations: 4 kB / 401.7 MB, free: 9.793 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.5389, allocations: 3.953 kB / 401.7 MB, free: 9.789 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002093/0.5391, allocations: 163.4 kB / 401.9 MB, free: 9.613 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.416e-05/0.5392, allocations: 81.11 kB / 401.9 MB, free: 9.516 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.178e-05/0.5392, allocations: 0 / 401.9 MB, free: 9.516 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001131/0.5393, allocations: 12 kB / 401.9 MB, free: 9.504 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.354e-05/0.5394, allocations: 7.984 kB / 401.9 MB, free: 9.496 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.304e-05/0.5394, allocations: 7.953 kB / 402 MB, free: 9.488 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001355/0.5396, allocations: 122.3 kB / 402.1 MB, free: 9.371 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.5396, allocations: 0 / 402.1 MB, free: 9.371 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003353/0.5399, allocations: 15.94 kB / 402.1 MB, free: 9.355 MB / 330.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.001085/0.541, allocations: 0.8338 MB / 402.9 MB, free: 8.539 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002104/0.5412, allocations: 95.33 kB / 403 MB, free: 8.434 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.5413, allocations: 0 / 403 MB, free: 8.434 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.991e-05/0.5413, allocations: 23.94 kB / 403 MB, free: 8.41 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002597/0.5416, allocations: 15.98 kB / 403.1 MB, free: 8.395 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006402/0.5423, allocations: 196 kB / 403.2 MB, free: 8.16 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003347/0.5426, allocations: 0.6965 MB / 403.9 MB, free: 7.438 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.708e-05/0.5427, allocations: 31.42 kB / 404 MB, free: 7.406 MB / 330.7 MB Notification: Performance of SimCode: time 7.51e-07/0.5427, allocations: 0 / 404 MB, free: 7.406 MB / 330.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_1_cpp_ModelicaTest_Tables_CombiTable1D_Test12CalcHelperMain.o OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_Test12CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_Test12CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_Test12FMU.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_1_cpp_ModelicaTest_Tables_CombiTable1D_Test12.so OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_Test12CalcHelperMain.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.1/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.1/Resources/Library/x86_64-linux" -Wl,-rpath="/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Resources/Library/x86_64-linux" "-L/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Resources/Library/linux64" -Wl,-rpath="/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Resources/Library/linux64" "-L/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Resources/Library" -Wl,-rpath="/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/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_1_cpp_ModelicaTest_Tables_CombiTable1D_Test12_FMU.makefile:93: recipe for target 'ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_Test12.fmu' failed make: *** [ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_Test12.fmu] Error 1