Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test12,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1Ds_Test12",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.04/2.04, allocations: 209.3 MB / 221.9 MB, free: 1.926 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.614e-05/3.624e-05, allocations: 0 / 273.1 MB, free: 0.6406 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1075/0.1075, allocations: 48.71 MB / 321.9 MB, free: 15.83 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4118/0.5194, allocations: 74.4 MB / 396.3 MB, free: 15.42 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002944/0.5198, allocations: 66.72 kB / 396.3 MB, free: 15.36 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01168/0.5315, allocations: 2.637 MB / 399 MB, free: 12.73 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.884e-06/0.5315, allocations: 0 / 399 MB, free: 12.73 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.334e-05/0.5316, allocations: 0 / 399 MB, free: 12.73 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.0005351/0.5321, allocations: 408 kB / 399.4 MB, free: 12.28 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.884e-05/0.5322, allocations: 8.031 kB / 399.4 MB, free: 12.27 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.378e-05/0.5322, allocations: 30.56 kB / 399.4 MB, free: 12.23 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.208e-05/0.5323, allocations: 11.91 kB / 399.4 MB, free: 12.22 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002672/0.5325, allocations: 190.9 kB / 399.6 MB, free: 11.99 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.252e-05/0.5326, allocations: 0 / 399.6 MB, free: 11.99 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.391e-05/0.5326, allocations: 4 kB / 399.6 MB, free: 11.99 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001346/0.5328, allocations: 45.69 kB / 399.6 MB, free: 11.94 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.5328, allocations: 0 / 399.6 MB, free: 11.94 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.098e-05/0.5328, allocations: 0 / 399.6 MB, free: 11.94 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.5328, allocations: 0 / 399.6 MB, free: 11.94 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.857e-05/0.5329, allocations: 15.94 kB / 399.7 MB, free: 11.92 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004205/0.5333, allocations: 280.8 kB / 399.9 MB, free: 11.6 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002211/0.5336, allocations: 38.56 kB / 400 MB, free: 11.55 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.008e-05/0.5336, allocations: 12.86 kB / 400 MB, free: 11.54 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.363e-05/0.5336, allocations: 0 / 400 MB, free: 11.54 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.842e-05/0.5337, allocations: 38.56 kB / 400 MB, free: 11.49 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 6.833e-06/0.5337, allocations: 4 kB / 400 MB, free: 11.48 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005223/0.5342, allocations: 102.8 kB / 400.1 MB, free: 11.38 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.757e-05/0.5343, allocations: 55.36 kB / 400.2 MB, free: 11.31 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000204/0.5345, allocations: 152.9 kB / 400.3 MB, free: 11.15 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.877e-05/0.5346, allocations: 25.7 kB / 400.4 MB, free: 11.12 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.809e-05/0.5346, allocations: 158.5 kB / 400.5 MB, free: 10.96 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.871e-05/0.5347, allocations: 19.8 kB / 400.5 MB, free: 10.95 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.621e-06/0.5347, allocations: 0 / 400.5 MB, free: 10.95 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001224/0.5348, allocations: 314.8 kB / 400.8 MB, free: 10.63 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.77e-05/0.5349, allocations: 12 kB / 400.8 MB, free: 10.62 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.042e-05/0.5349, allocations: 15.94 kB / 400.9 MB, free: 10.6 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.912e-05/0.535, allocations: 37.7 kB / 400.9 MB, free: 10.56 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.535, allocations: 3.938 kB / 400.9 MB, free: 10.55 MB / 330.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001825/0.5352, allocations: 91.39 kB / 401 MB, free: 10.45 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.359e-05/0.5353, allocations: 32.83 kB / 401 MB, free: 10.42 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/0.5353, allocations: 3.984 kB / 401 MB, free: 10.41 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.5353, allocations: 0 / 401 MB, free: 10.41 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001379/0.5355, allocations: 16 kB / 401 MB, free: 10.4 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.5355, allocations: 0 / 401 MB, free: 10.4 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.52e-05/0.5356, allocations: 15.94 kB / 401.1 MB, free: 10.38 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.348e-05/0.5356, allocations: 4 kB / 401.1 MB, free: 10.38 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 0.0001181/0.5358, allocations: 105 kB / 401.2 MB, free: 10.27 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.377e-05/0.5358, allocations: 8.047 kB / 401.2 MB, free: 10.26 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002232/0.536, allocations: 81.59 kB / 401.3 MB, free: 10.18 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-06/0.5361, allocations: 4 kB / 401.3 MB, free: 10.18 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.249e-06/0.5361, allocations: 4 kB / 401.3 MB, free: 10.17 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.5361, allocations: 0 / 401.3 MB, free: 10.17 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004748/0.5366, allocations: 330.5 kB / 401.6 MB, free: 9.793 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.92e-06/0.5366, allocations: 0 / 401.6 MB, free: 9.793 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001143/0.5367, allocations: 16.31 kB / 401.6 MB, free: 9.777 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.5367, allocations: 0 / 401.6 MB, free: 9.777 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.351e-05/0.5368, allocations: 4 kB / 401.6 MB, free: 9.773 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.726e-06/0.5368, allocations: 11.98 kB / 401.6 MB, free: 9.762 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.5368, allocations: 3.953 kB / 401.6 MB, free: 9.758 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001965/0.537, allocations: 159.5 kB / 401.8 MB, free: 9.586 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.895e-05/0.5371, allocations: 81.11 kB / 401.9 MB, free: 9.488 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.246e-05/0.5371, allocations: 0 / 401.9 MB, free: 9.488 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001082/0.5372, allocations: 4 kB / 401.9 MB, free: 9.484 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.895e-05/0.5373, allocations: 7.984 kB / 401.9 MB, free: 9.477 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.072e-05/0.5373, allocations: 7.953 kB / 401.9 MB, free: 9.469 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001438/0.5375, allocations: 119.2 kB / 402 MB, free: 9.352 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.51e-07/0.5375, allocations: 0 / 402 MB, free: 9.352 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003412/0.5378, allocations: 23.94 kB / 402 MB, free: 9.328 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.001095/0.5389, allocations: 0.8316 MB / 402.8 MB, free: 8.512 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002015/0.5392, allocations: 79.41 kB / 402.9 MB, free: 8.422 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 7.193e-06/0.5392, allocations: 4 kB / 402.9 MB, free: 8.418 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.489e-05/0.5392, allocations: 19.94 kB / 402.9 MB, free: 8.398 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000273/0.5395, allocations: 7.984 kB / 403 MB, free: 8.391 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006888/0.5402, allocations: 200 kB / 403.1 MB, free: 8.152 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003121/0.5406, allocations: 0.6926 MB / 403.8 MB, free: 7.434 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.972e-05/0.5407, allocations: 23.42 kB / 403.9 MB, free: 7.41 MB / 330.7 MB Notification: Performance of SimCode: time 1.483e-06/0.5407, allocations: 0 / 403.9 MB, free: 7.41 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_CombiTable1Ds_Test12CalcHelperMain.o OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1Ds_Test12CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1Ds_Test12CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1Ds_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_CombiTable1Ds_Test12.so OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1Ds_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_CombiTable1Ds_Test12_FMU.makefile:93: recipe for target 'ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1Ds_Test12.fmu' failed make: *** [ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1Ds_Test12.fmu] Error 1