Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test27,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test27",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.474/2.474, allocations: 235 MB / 247.6 MB, free: 14.37 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.531e-05/3.534e-05, allocations: 8 kB / 305 MB, free: 5.57 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4126/0.4127, allocations: 54.86 MB / 359.9 MB, free: 2.316 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2151/0.6278, allocations: 80.9 MB / 440.8 MB, free: 0 / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002838/0.6281, allocations: 76.03 kB / 440.8 MB, free: 15.92 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01343/0.6416, allocations: 3.344 MB / 444.2 MB, free: 12.61 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.552e-06/0.6416, allocations: 0 / 444.2 MB, free: 12.61 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.566e-05/0.6417, allocations: 4 kB / 444.2 MB, free: 12.61 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.0005045/0.6422, allocations: 423.9 kB / 444.6 MB, free: 12.14 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.398e-05/0.6422, allocations: 8.031 kB / 444.6 MB, free: 12.13 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.374e-05/0.6423, allocations: 34.56 kB / 444.6 MB, free: 12.09 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.645e-05/0.6423, allocations: 11.81 kB / 444.6 MB, free: 12.08 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002985/0.6427, allocations: 217 kB / 444.9 MB, free: 11.83 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.371e-05/0.6427, allocations: 4 kB / 444.9 MB, free: 11.82 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.814e-05/0.6427, allocations: 0 / 444.9 MB, free: 11.82 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001205/0.6429, allocations: 37.7 kB / 444.9 MB, free: 11.78 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.526e-05/0.6429, allocations: 7.938 kB / 444.9 MB, free: 11.77 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.719e-06/0.6429, allocations: 4 kB / 444.9 MB, free: 11.77 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.6429, allocations: 3.984 kB / 444.9 MB, free: 11.77 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.21e-05/0.643, allocations: 16 kB / 444.9 MB, free: 11.75 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005173/0.6435, allocations: 308.8 kB / 445.2 MB, free: 11.4 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002357/0.6438, allocations: 43.17 kB / 445.3 MB, free: 11.35 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.004e-05/0.6438, allocations: 12.86 kB / 445.3 MB, free: 11.33 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.035e-05/0.6439, allocations: 0 / 445.3 MB, free: 11.33 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.643e-05/0.6439, allocations: 34.56 kB / 445.3 MB, free: 11.29 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.693e-06/0.6439, allocations: 4 kB / 445.3 MB, free: 11.29 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005215/0.6444, allocations: 125.2 kB / 445.4 MB, free: 11.16 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.977e-05/0.6445, allocations: 51.41 kB / 445.5 MB, free: 11.09 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003777/0.6449, allocations: 231.6 kB / 445.7 MB, free: 10.85 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.959e-05/0.6449, allocations: 25.7 kB / 445.7 MB, free: 10.82 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001002/0.645, allocations: 174.5 kB / 445.9 MB, free: 10.65 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.841e-05/0.6451, allocations: 19.75 kB / 445.9 MB, free: 10.63 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.432e-06/0.6451, allocations: 4 kB / 445.9 MB, free: 10.62 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001313/0.6452, allocations: 310.8 kB / 446.2 MB, free: 10.31 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.402e-05/0.6453, allocations: 16 kB / 446.3 MB, free: 10.3 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.973e-05/0.6454, allocations: 15.98 kB / 446.3 MB, free: 10.28 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.478e-05/0.6455, allocations: 42.58 kB / 446.3 MB, free: 10.23 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.6455, allocations: 3.938 kB / 446.3 MB, free: 10.23 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001949/0.6457, allocations: 100.7 kB / 446.4 MB, free: 10.12 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.202e-05/0.6457, allocations: 39.09 kB / 446.5 MB, free: 10.08 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.6457, allocations: 0 / 446.5 MB, free: 10.08 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.6458, allocations: 0 / 446.5 MB, free: 10.08 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001159/0.6459, allocations: 16 kB / 446.5 MB, free: 10.06 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.6459, allocations: 0 / 446.5 MB, free: 10.06 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.301e-05/0.646, allocations: 7.984 kB / 446.5 MB, free: 10.05 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.306e-05/0.646, allocations: 4 kB / 446.5 MB, free: 10.05 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.111e-05/0.6461, allocations: 105 kB / 446.6 MB, free: 9.941 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.695e-05/0.6462, allocations: 19.77 kB / 446.6 MB, free: 9.922 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002385/0.6464, allocations: 92.25 kB / 446.7 MB, free: 9.824 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.6464, allocations: 0 / 446.7 MB, free: 9.824 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.6465, allocations: 2.938 kB / 446.7 MB, free: 9.824 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.6465, allocations: 3.984 kB / 446.7 MB, free: 9.82 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005571/0.647, allocations: 374.5 kB / 447.1 MB, free: 9.398 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.6471, allocations: 0 / 447.1 MB, free: 9.398 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000113/0.6472, allocations: 21.77 kB / 447.1 MB, free: 9.379 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.065e-06/0.6472, allocations: 0 / 447.1 MB, free: 9.379 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.748e-06/0.6472, allocations: 4 kB / 447.1 MB, free: 9.375 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.6472, allocations: 0 / 447.1 MB, free: 9.375 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.6472, allocations: 0 / 447.1 MB, free: 9.375 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002245/0.6475, allocations: 175.2 kB / 447.3 MB, free: 9.188 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.177e-05/0.6476, allocations: 97 kB / 447.4 MB, free: 9.074 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.854e-05/0.6476, allocations: 4 kB / 447.4 MB, free: 9.07 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001368/0.6478, allocations: 8 kB / 447.4 MB, free: 9.062 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.298e-05/0.6478, allocations: 7.984 kB / 447.4 MB, free: 9.055 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.009e-05/0.6478, allocations: 4.875 kB / 447.4 MB, free: 9.051 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002688/0.6481, allocations: 189.1 kB / 447.6 MB, free: 8.867 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.6481, allocations: 0 / 447.6 MB, free: 8.867 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003413/0.6485, allocations: 24 kB / 447.6 MB, free: 8.844 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.001308/0.6498, allocations: 0.8856 MB / 448.5 MB, free: 8.008 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001989/0.65, allocations: 99.39 kB / 448.6 MB, free: 7.898 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.65, allocations: 0 / 448.6 MB, free: 7.898 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.932e-05/0.6501, allocations: 16 kB / 448.6 MB, free: 7.883 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002585/0.6504, allocations: 15.22 kB / 448.6 MB, free: 7.867 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000794/0.6512, allocations: 290.6 kB / 448.9 MB, free: 7.547 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003712/0.6516, allocations: 0.7238 MB / 449.6 MB, free: 6.797 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001219/0.6517, allocations: 31.42 kB / 449.6 MB, free: 6.766 MB / 378.7 MB Notification: Performance of SimCode: time 8.31e-07/0.6517, allocations: 0 / 449.6 MB, free: 6.766 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_Test27CalcHelperMain.o OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test27CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test27CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test27FMU.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_Test27.so OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test27CalcHelperMain.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_Test27_FMU.makefile:93: recipe for target 'ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test27.fmu' failed make: *** [ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test27.fmu] Error 1