Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test6,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_Test6",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.826/1.826, allocations: 209.3 MB / 221.9 MB, free: 1.93 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.854e-05/2.86e-05, allocations: 0 / 273.1 MB, free: 0.6367 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09594/0.09599, allocations: 48.71 MB / 321.9 MB, free: 15.83 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.385/0.481, allocations: 74.55 MB / 396.4 MB, free: 15.26 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002618/0.4813, allocations: 75.06 kB / 396.5 MB, free: 15.19 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01336/0.4947, allocations: 3.299 MB / 399.8 MB, free: 11.9 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.4948, allocations: 3.938 kB / 399.8 MB, free: 11.89 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.535e-05/0.4948, allocations: 4 kB / 399.8 MB, free: 11.89 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000501/0.4953, allocations: 427.9 kB / 400.2 MB, free: 11.42 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.387e-05/0.4953, allocations: 8.031 kB / 400.2 MB, free: 11.41 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.898e-05/0.4954, allocations: 34.56 kB / 400.2 MB, free: 11.37 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.825e-05/0.4955, allocations: 15.81 kB / 400.3 MB, free: 11.36 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002789/0.4957, allocations: 202.8 kB / 400.5 MB, free: 11.12 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.147e-05/0.4958, allocations: 4 kB / 400.5 MB, free: 11.11 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.718e-05/0.4958, allocations: 4 kB / 400.5 MB, free: 11.11 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001783/0.496, allocations: 75.33 kB / 400.5 MB, free: 11.02 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.298e-05/0.496, allocations: 4 kB / 400.5 MB, free: 11.02 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.26e-05/0.4961, allocations: 0 / 400.5 MB, free: 11.02 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.995e-06/0.4961, allocations: 4 kB / 400.5 MB, free: 11.02 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001045/0.4962, allocations: 24 kB / 400.6 MB, free: 10.99 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005982/0.4968, allocations: 414.3 kB / 401 MB, free: 10.54 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003334/0.4971, allocations: 81.12 kB / 401.1 MB, free: 10.44 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.278e-05/0.4972, allocations: 33.83 kB / 401.1 MB, free: 10.4 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.491e-05/0.4973, allocations: 7.938 kB / 401.1 MB, free: 10.39 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.413e-05/0.4973, allocations: 34.56 kB / 401.1 MB, free: 10.35 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 1.813e-06/0.4973, allocations: 0 / 401.1 MB, free: 10.35 MB / 330.7 MB Notification: Performance of matching and sorting (n=10): time 0.0007666/0.4981, allocations: 192.9 kB / 401.3 MB, free: 10.15 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.018e-05/0.4982, allocations: 89.05 kB / 401.4 MB, free: 10.05 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000294/0.4985, allocations: 186.5 kB / 401.6 MB, free: 9.852 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.567e-05/0.4985, allocations: 37.69 kB / 401.6 MB, free: 9.809 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.769e-05/0.4986, allocations: 162.5 kB / 401.8 MB, free: 9.648 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.304e-05/0.4987, allocations: 27.56 kB / 401.8 MB, free: 9.621 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.039e-05/0.4987, allocations: 8 kB / 401.8 MB, free: 9.613 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001171/0.4988, allocations: 318.8 kB / 402.1 MB, free: 9.293 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.537e-05/0.4989, allocations: 27.94 kB / 402.2 MB, free: 9.266 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.645e-05/0.499, allocations: 23.98 kB / 402.2 MB, free: 9.242 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001092/0.4991, allocations: 61.69 kB / 402.2 MB, free: 9.176 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.4991, allocations: 0 / 402.2 MB, free: 9.176 MB / 330.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002691/0.4994, allocations: 128 kB / 402.4 MB, free: 9.039 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.716e-05/0.4995, allocations: 33.7 kB / 402.4 MB, free: 9 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.4995, allocations: 0 / 402.4 MB, free: 9 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.4995, allocations: 4 kB / 402.4 MB, free: 8.996 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001797/0.4997, allocations: 27.98 kB / 402.4 MB, free: 8.969 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.005e-05/0.4997, allocations: 3.953 kB / 402.4 MB, free: 8.965 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.515e-05/0.4998, allocations: 7.984 kB / 402.4 MB, free: 8.957 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.641e-05/0.4998, allocations: 4 kB / 402.4 MB, free: 8.953 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 (11): * Single equations (assignments): 10 * 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.431e-05/0.4999, allocations: 112.9 kB / 402.6 MB, free: 8.836 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.583e-05/0.5, allocations: 7.906 kB / 402.6 MB, free: 8.828 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003581/0.5004, allocations: 138.5 kB / 402.7 MB, free: 8.684 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.568e-06/0.5004, allocations: 0 / 402.7 MB, free: 8.684 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.694e-06/0.5004, allocations: 4.234 kB / 402.7 MB, free: 8.68 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.277e-06/0.5004, allocations: 7.953 kB / 402.7 MB, free: 8.672 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008175/0.5012, allocations: 0.5025 MB / 403.2 MB, free: 8.109 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.5013, allocations: 0 / 403.2 MB, free: 8.109 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001562/0.5014, allocations: 28.02 kB / 403.2 MB, free: 8.082 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.5015, allocations: 0 / 403.2 MB, free: 8.082 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.451e-05/0.5015, allocations: 7.953 kB / 403.2 MB, free: 8.074 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.173e-06/0.5015, allocations: 3.984 kB / 403.3 MB, free: 8.07 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.901e-06/0.5015, allocations: 7.938 kB / 403.3 MB, free: 8.062 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003339/0.5019, allocations: 303 kB / 403.6 MB, free: 7.734 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.085e-05/0.502, allocations: 92.92 kB / 403.6 MB, free: 7.625 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.291e-05/0.502, allocations: 8 kB / 403.7 MB, free: 7.617 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000164/0.5022, allocations: 11.92 kB / 403.7 MB, free: 7.605 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.97e-05/0.5022, allocations: 12.02 kB / 403.7 MB, free: 7.594 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.242e-05/0.5023, allocations: 7.938 kB / 403.7 MB, free: 7.586 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002132/0.5025, allocations: 168.9 kB / 403.8 MB, free: 7.422 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.5025, allocations: 0 / 403.8 MB, free: 7.422 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004163/0.5029, allocations: 28 kB / 403.9 MB, free: 7.395 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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.001206/0.5041, allocations: 1.105 MB / 405 MB, free: 6.301 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002732/0.5044, allocations: 123.3 kB / 405.1 MB, free: 6.168 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.5045, allocations: 0 / 405.1 MB, free: 6.168 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001112/0.5046, allocations: 47.91 kB / 405.1 MB, free: 6.121 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003215/0.5049, allocations: 8 kB / 405.2 MB, free: 6.113 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008718/0.5058, allocations: 302.4 kB / 405.5 MB, free: 5.773 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003363/0.5061, allocations: 0.7161 MB / 406.2 MB, free: 5.031 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001101/0.5063, allocations: 43.36 kB / 406.2 MB, free: 4.988 MB / 330.7 MB Notification: Performance of SimCode: time 7.41e-07/0.5063, allocations: 64 / 406.2 MB, free: 4.988 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_Test6CalcHelperMain.o OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_Test6CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_Test6CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_Test6FMU.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_Test6.so OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_Test6CalcHelperMain.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_Test6_FMU.makefile:93: recipe for target 'ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_Test6.fmu' failed make: *** [ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_Test6.fmu] Error 1