Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test11,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test11",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.504/2.504, allocations: 235 MB / 247.6 MB, free: 14.37 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.478e-05/3.487e-05, allocations: 4 kB / 305 MB, free: 5.566 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4444/0.4445, allocations: 54.86 MB / 359.9 MB, free: 2.32 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1521/0.5966, allocations: 80.86 MB / 440.7 MB, free: 16 kB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002992/0.597, allocations: 73.25 kB / 440.8 MB, free: 15.94 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01346/0.6105, allocations: 2.803 MB / 443.6 MB, free: 13.17 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.284e-06/0.6105, allocations: 0 / 443.6 MB, free: 13.17 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.44e-05/0.6106, allocations: 0 / 443.6 MB, free: 13.17 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.0005559/0.6111, allocations: 400.5 kB / 444 MB, free: 12.73 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.633e-05/0.6112, allocations: 15.97 kB / 444 MB, free: 12.71 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.003e-05/0.6113, allocations: 34.56 kB / 444 MB, free: 12.67 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.298e-05/0.6113, allocations: 11.86 kB / 444 MB, free: 12.66 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002897/0.6116, allocations: 187.8 kB / 444.2 MB, free: 12.43 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.261e-05/0.6116, allocations: 0 / 444.2 MB, free: 12.43 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.572e-05/0.6117, allocations: 4 kB / 444.2 MB, free: 12.43 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001433/0.6118, allocations: 45.31 kB / 444.3 MB, free: 12.38 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.6119, allocations: 4 kB / 444.3 MB, free: 12.38 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.089e-05/0.6119, allocations: 0 / 444.3 MB, free: 12.38 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.276e-06/0.6119, allocations: 3.953 kB / 444.3 MB, free: 12.38 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.956e-05/0.612, allocations: 19.94 kB / 444.3 MB, free: 12.36 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005185/0.6125, allocations: 280.9 kB / 444.6 MB, free: 12.03 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002462/0.6128, allocations: 43.78 kB / 444.6 MB, free: 11.98 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.217e-05/0.6128, allocations: 12.86 kB / 444.6 MB, free: 11.96 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.924e-05/0.6129, allocations: 4 kB / 444.6 MB, free: 11.96 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.165e-05/0.6129, allocations: 34.52 kB / 444.7 MB, free: 11.92 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.773e-06/0.6129, allocations: 0 / 444.7 MB, free: 11.92 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005673/0.6135, allocations: 113.5 kB / 444.8 MB, free: 11.8 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.61e-05/0.6136, allocations: 51.41 kB / 444.8 MB, free: 11.74 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002083/0.6138, allocations: 146.8 kB / 445 MB, free: 11.59 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.664e-05/0.6138, allocations: 29.7 kB / 445 MB, free: 11.55 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.996e-05/0.6139, allocations: 162.5 kB / 445.2 MB, free: 11.39 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.58e-05/0.614, allocations: 11.8 kB / 445.2 MB, free: 11.38 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.282e-06/0.614, allocations: 4 kB / 445.2 MB, free: 11.38 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001438/0.6142, allocations: 314.8 kB / 445.5 MB, free: 11.06 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.679e-05/0.6142, allocations: 14.53 kB / 445.5 MB, free: 11.05 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.533e-05/0.6143, allocations: 15.94 kB / 445.5 MB, free: 11.03 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.875e-05/0.6144, allocations: 45.69 kB / 445.6 MB, free: 10.98 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.6144, allocations: 4 kB / 445.6 MB, free: 10.98 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002211/0.6147, allocations: 91.39 kB / 445.7 MB, free: 10.88 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.029e-05/0.6147, allocations: 34.44 kB / 445.7 MB, free: 10.84 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/0.6148, allocations: 7.938 kB / 445.7 MB, free: 10.83 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.668e-05/0.6148, allocations: 0 / 445.7 MB, free: 10.83 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001495/0.6149, allocations: 15.98 kB / 445.7 MB, free: 10.81 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/0.615, allocations: 0 / 445.7 MB, free: 10.81 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.166e-05/0.6151, allocations: 11.98 kB / 445.7 MB, free: 10.8 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.41e-05/0.6151, allocations: 8 kB / 445.7 MB, free: 10.79 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 9.669e-05/0.6152, allocations: 101 kB / 445.8 MB, free: 10.69 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.664e-05/0.6153, allocations: 8.781 kB / 445.8 MB, free: 10.68 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002999/0.6156, allocations: 93.55 kB / 445.9 MB, free: 10.57 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.444e-06/0.6156, allocations: 4 kB / 445.9 MB, free: 10.57 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.6156, allocations: 0 / 445.9 MB, free: 10.57 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.6156, allocations: 0 / 445.9 MB, free: 10.57 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005921/0.6162, allocations: 341.2 kB / 446.3 MB, free: 10.18 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.19e-06/0.6162, allocations: 3.953 kB / 446.3 MB, free: 10.18 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000137/0.6164, allocations: 19.92 kB / 446.3 MB, free: 10.16 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.762e-06/0.6164, allocations: 0 / 446.3 MB, free: 10.16 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.133e-05/0.6164, allocations: 0 / 446.3 MB, free: 10.16 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.6164, allocations: 0 / 446.3 MB, free: 10.16 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.6165, allocations: 0 / 446.3 MB, free: 10.16 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002456/0.6167, allocations: 171.6 kB / 446.5 MB, free: 9.977 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.188e-05/0.6168, allocations: 92.95 kB / 446.6 MB, free: 9.867 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.619e-05/0.6168, allocations: 5.125 kB / 446.6 MB, free: 9.863 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001132/0.617, allocations: 4 kB / 446.6 MB, free: 9.859 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.39e-05/0.617, allocations: 7.984 kB / 446.6 MB, free: 9.852 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.318e-06/0.617, allocations: 0.75 kB / 446.6 MB, free: 9.852 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001507/0.6172, allocations: 121 kB / 446.7 MB, free: 9.734 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.6172, allocations: 0 / 446.7 MB, free: 9.734 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003443/0.6176, allocations: 19.94 kB / 446.7 MB, free: 9.715 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.001349/0.6189, allocations: 0.891 MB / 447.6 MB, free: 8.863 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002205/0.6192, allocations: 87.41 kB / 447.7 MB, free: 8.766 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.6192, allocations: 0 / 447.7 MB, free: 8.766 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.141e-05/0.6193, allocations: 19.94 kB / 447.7 MB, free: 8.746 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002561/0.6195, allocations: 15.03 kB / 447.7 MB, free: 8.734 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000673/0.6202, allocations: 205.4 kB / 447.9 MB, free: 8.492 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003465/0.6206, allocations: 0.6965 MB / 448.6 MB, free: 7.77 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.122e-05/0.6207, allocations: 27.42 kB / 448.6 MB, free: 7.746 MB / 378.7 MB Notification: Performance of SimCode: time 9.32e-07/0.6207, allocations: 0 / 448.6 MB, free: 7.746 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_Test11CalcHelperMain.o OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test11CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test11CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test11FMU.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_Test11.so OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test11CalcHelperMain.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_Test11_FMU.makefile:93: recipe for target 'ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test11.fmu' failed make: *** [ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test11.fmu] Error 1