Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test11,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1Ds_Test11",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.915/1.915, allocations: 209.3 MB / 221.9 MB, free: 1.934 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.97e-05/3.995e-05, allocations: 4 kB / 273.1 MB, free: 0.6523 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1051/0.1052, allocations: 48.7 MB / 321.8 MB, free: 15.85 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3941/0.4994, allocations: 74.39 MB / 396.2 MB, free: 15.55 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002806/0.4997, allocations: 71.95 kB / 396.3 MB, free: 15.48 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01154/0.5113, allocations: 2.629 MB / 398.9 MB, free: 12.86 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.5113, allocations: 0 / 398.9 MB, free: 12.86 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.225e-05/0.5114, allocations: 4 kB / 398.9 MB, free: 12.86 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.0005013/0.5119, allocations: 404 kB / 399.3 MB, free: 12.41 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.074e-05/0.5119, allocations: 8.031 kB / 399.3 MB, free: 12.4 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.135e-05/0.512, allocations: 30.56 kB / 399.4 MB, free: 12.36 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.223e-05/0.5121, allocations: 11.89 kB / 399.4 MB, free: 12.35 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002728/0.5123, allocations: 194.9 kB / 399.6 MB, free: 12.12 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.105e-05/0.5124, allocations: 0 / 399.6 MB, free: 12.12 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.677e-05/0.5124, allocations: 8 kB / 399.6 MB, free: 12.11 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001298/0.5125, allocations: 49.69 kB / 399.6 MB, free: 12.06 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.5126, allocations: 0 / 399.6 MB, free: 12.06 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.028e-05/0.5126, allocations: 0 / 399.6 MB, free: 12.06 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.5126, allocations: 0 / 399.6 MB, free: 12.06 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.072e-05/0.5127, allocations: 16 kB / 399.6 MB, free: 12.04 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004198/0.5131, allocations: 280.8 kB / 399.9 MB, free: 11.72 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002193/0.5133, allocations: 38.58 kB / 399.9 MB, free: 11.67 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.826e-05/0.5134, allocations: 12.86 kB / 400 MB, free: 11.66 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.302e-05/0.5134, allocations: 0 / 400 MB, free: 11.66 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.402e-05/0.5135, allocations: 34.64 kB / 400 MB, free: 11.61 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 1.343e-06/0.5135, allocations: 0 / 400 MB, free: 11.61 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004956/0.514, allocations: 98.8 kB / 400.1 MB, free: 11.51 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.019e-05/0.514, allocations: 63.3 kB / 400.1 MB, free: 11.44 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002025/0.5143, allocations: 152.9 kB / 400.3 MB, free: 11.28 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.303e-05/0.5143, allocations: 25.7 kB / 400.3 MB, free: 11.25 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.427e-05/0.5144, allocations: 162.5 kB / 400.5 MB, free: 11.09 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.266e-05/0.5144, allocations: 11.81 kB / 400.5 MB, free: 11.07 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.621e-06/0.5144, allocations: 0 / 400.5 MB, free: 11.07 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001546/0.5146, allocations: 318.8 kB / 400.8 MB, free: 10.75 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.804e-05/0.5147, allocations: 16 kB / 400.8 MB, free: 10.74 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.267e-05/0.5147, allocations: 11.94 kB / 400.8 MB, free: 10.73 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.936e-05/0.5148, allocations: 45.64 kB / 400.9 MB, free: 10.68 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.203e-06/0.5148, allocations: 0 / 400.9 MB, free: 10.68 MB / 330.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001847/0.515, allocations: 87.39 kB / 401 MB, free: 10.58 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.989e-05/0.5151, allocations: 37.7 kB / 401 MB, free: 10.54 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.5151, allocations: 0 / 401 MB, free: 10.54 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.5151, allocations: 0 / 401 MB, free: 10.54 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001241/0.5152, allocations: 15.98 kB / 401 MB, free: 10.52 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.5153, allocations: 0 / 401 MB, free: 10.52 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.731e-05/0.5153, allocations: 7.953 kB / 401 MB, free: 10.51 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.237e-05/0.5154, allocations: 8 kB / 401 MB, free: 10.5 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.386e-05/0.5155, allocations: 108.9 kB / 401.1 MB, free: 10.39 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.234e-05/0.5155, allocations: 7.906 kB / 401.1 MB, free: 10.38 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002169/0.5157, allocations: 77.69 kB / 401.2 MB, free: 10.3 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.606e-06/0.5158, allocations: 0 / 401.2 MB, free: 10.3 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.648e-06/0.5158, allocations: 320 / 401.2 MB, free: 10.3 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.5158, allocations: 0 / 401.2 MB, free: 10.3 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004811/0.5163, allocations: 346.5 kB / 401.6 MB, free: 9.91 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.5163, allocations: 0 / 401.6 MB, free: 9.91 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001071/0.5164, allocations: 15.98 kB / 401.6 MB, free: 9.895 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.606e-06/0.5164, allocations: 0 / 401.6 MB, free: 9.895 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.358e-06/0.5164, allocations: 0 / 401.6 MB, free: 9.895 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.5165, allocations: 0 / 401.6 MB, free: 9.895 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.592e-06/0.5165, allocations: 3.953 kB / 401.6 MB, free: 9.891 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001938/0.5167, allocations: 159.5 kB / 401.7 MB, free: 9.719 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.131e-05/0.5167, allocations: 85.11 kB / 401.8 MB, free: 9.617 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.066e-05/0.5168, allocations: 3.984 kB / 401.8 MB, free: 9.613 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001103/0.5169, allocations: 12.14 kB / 401.8 MB, free: 9.602 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.515e-05/0.517, allocations: 7.922 kB / 401.8 MB, free: 9.594 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.465e-05/0.517, allocations: 11.94 kB / 401.9 MB, free: 9.582 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001389/0.5171, allocations: 122.3 kB / 402 MB, free: 9.465 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.5172, allocations: 0 / 402 MB, free: 9.465 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.00031/0.5175, allocations: 15.94 kB / 402 MB, free: 9.449 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.001119/0.5186, allocations: 0.8285 MB / 402.8 MB, free: 8.637 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002097/0.5188, allocations: 95.34 kB / 402.9 MB, free: 8.531 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.5189, allocations: 0 / 402.9 MB, free: 8.531 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.218e-05/0.5189, allocations: 16 kB / 402.9 MB, free: 8.516 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002542/0.5192, allocations: 8 kB / 402.9 MB, free: 8.508 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006445/0.5198, allocations: 200 kB / 403.1 MB, free: 8.27 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003366/0.5202, allocations: 0.6965 MB / 403.8 MB, free: 7.547 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.173e-05/0.5203, allocations: 23.42 kB / 403.8 MB, free: 7.523 MB / 330.7 MB Notification: Performance of SimCode: time 9.52e-07/0.5203, allocations: 4 kB / 403.9 MB, free: 7.52 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_Test11CalcHelperMain.o OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1Ds_Test11CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1Ds_Test11CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1Ds_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_1_cpp_ModelicaTest_Tables_CombiTable1Ds_Test11.so OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1Ds_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.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_Test11_FMU.makefile:93: recipe for target 'ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1Ds_Test11.fmu' failed make: *** [ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1Ds_Test11.fmu] Error 1