Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test11,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_Test11",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.89/1.89, allocations: 209.3 MB / 221.9 MB, free: 1.934 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.962e-05/3.978e-05, allocations: 0 / 273.1 MB, free: 0.6445 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09946/0.09955, allocations: 48.7 MB / 321.8 MB, free: 15.85 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3827/0.4823, allocations: 74.4 MB / 396.2 MB, free: 15.52 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002621/0.4826, allocations: 71.95 kB / 396.3 MB, free: 15.45 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01162/0.4943, allocations: 2.651 MB / 398.9 MB, free: 12.81 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.858e-06/0.4943, allocations: 3.984 kB / 398.9 MB, free: 12.8 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.449e-05/0.4944, allocations: 7.938 kB / 399 MB, free: 12.8 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.0004826/0.4949, allocations: 396 kB / 399.3 MB, free: 12.36 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.556e-05/0.4949, allocations: 12.03 kB / 399.4 MB, free: 12.35 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.803e-05/0.495, allocations: 34.5 kB / 399.4 MB, free: 12.3 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.025e-05/0.495, allocations: 7.906 kB / 399.4 MB, free: 12.3 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002734/0.4953, allocations: 194.9 kB / 399.6 MB, free: 12.07 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.14e-05/0.4953, allocations: 4 kB / 399.6 MB, free: 12.06 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.388e-05/0.4954, allocations: 0 / 399.6 MB, free: 12.06 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001406/0.4955, allocations: 49.69 kB / 399.6 MB, free: 12.01 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.4956, allocations: 0 / 399.6 MB, free: 12.01 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.758e-06/0.4956, allocations: 0 / 399.6 MB, free: 12.01 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/0.4956, allocations: 3.984 kB / 399.6 MB, free: 12 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.106e-05/0.4957, allocations: 12 kB / 399.7 MB, free: 11.99 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004838/0.4962, allocations: 292.8 kB / 399.9 MB, free: 11.66 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002264/0.4964, allocations: 38.56 kB / 400 MB, free: 11.61 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.146e-05/0.4965, allocations: 16.86 kB / 400 MB, free: 11.59 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.025e-05/0.4965, allocations: 0 / 400 MB, free: 11.59 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.714e-05/0.4965, allocations: 34.64 kB / 400 MB, free: 11.55 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 5.581e-06/0.4966, allocations: 4 kB / 400 MB, free: 11.54 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005566/0.4971, allocations: 110.8 kB / 400.1 MB, free: 11.43 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.991e-05/0.4972, allocations: 59.34 kB / 400.2 MB, free: 11.36 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001947/0.4974, allocations: 144.9 kB / 400.3 MB, free: 11.21 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.918e-05/0.4974, allocations: 29.7 kB / 400.4 MB, free: 11.17 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.633e-05/0.4975, allocations: 158.5 kB / 400.5 MB, free: 11.02 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.759e-05/0.4975, allocations: 15.8 kB / 400.5 MB, free: 11 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.402e-06/0.4976, allocations: 7.938 kB / 400.5 MB, free: 10.99 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001131/0.4977, allocations: 314.8 kB / 400.9 MB, free: 10.68 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.269e-05/0.4978, allocations: 12 kB / 400.9 MB, free: 10.66 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.766e-05/0.4978, allocations: 16 kB / 400.9 MB, free: 10.65 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.247e-05/0.4979, allocations: 49.88 kB / 400.9 MB, free: 10.59 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.4979, allocations: 3.938 kB / 400.9 MB, free: 10.59 MB / 330.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001957/0.4981, allocations: 91.39 kB / 401 MB, free: 10.49 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.491e-05/0.4982, allocations: 37.69 kB / 401.1 MB, free: 10.45 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/0.4982, allocations: 0 / 401.1 MB, free: 10.45 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.4982, allocations: 0 / 401.1 MB, free: 10.45 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001271/0.4984, allocations: 16 kB / 401.1 MB, free: 10.43 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.4984, allocations: 0 / 401.1 MB, free: 10.43 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.194e-05/0.4985, allocations: 11.94 kB / 401.1 MB, free: 10.42 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.592e-05/0.4985, allocations: 4 kB / 401.1 MB, free: 10.41 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 7.524e-05/0.4986, allocations: 108.9 kB / 401.2 MB, free: 10.3 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.191e-05/0.4986, allocations: 7.906 kB / 401.2 MB, free: 10.29 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002416/0.4989, allocations: 85.67 kB / 401.3 MB, free: 10.21 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.4989, allocations: 7.938 kB / 401.3 MB, free: 10.2 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.4989, allocations: 0 / 401.3 MB, free: 10.2 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.4989, allocations: 0 / 401.3 MB, free: 10.2 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005006/0.4994, allocations: 350.5 kB / 401.6 MB, free: 9.801 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.4995, allocations: 0 / 401.6 MB, free: 9.801 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001147/0.4996, allocations: 12 kB / 401.7 MB, free: 9.789 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.499e-06/0.4996, allocations: 0 / 401.7 MB, free: 9.789 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.02e-05/0.4996, allocations: 0 / 401.7 MB, free: 9.789 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.909e-06/0.4996, allocations: 7.984 kB / 401.7 MB, free: 9.781 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.539e-06/0.4997, allocations: 3.953 kB / 401.7 MB, free: 9.777 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000203/0.4999, allocations: 167.6 kB / 401.8 MB, free: 9.598 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.015e-05/0.4999, allocations: 81.17 kB / 401.9 MB, free: 9.5 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.394e-05/0.5, allocations: 4 kB / 401.9 MB, free: 9.496 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001115/0.5001, allocations: 11.98 kB / 401.9 MB, free: 9.484 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.842e-05/0.5002, allocations: 4 kB / 401.9 MB, free: 9.48 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.251e-05/0.5002, allocations: 7.953 kB / 401.9 MB, free: 9.473 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001365/0.5003, allocations: 130.3 kB / 402.1 MB, free: 9.348 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.5003, allocations: 0 / 402.1 MB, free: 9.348 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003114/0.5007, allocations: 15.94 kB / 402.1 MB, free: 9.332 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.001049/0.5017, allocations: 0.8377 MB / 402.9 MB, free: 8.512 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002228/0.502, allocations: 87.41 kB / 403 MB, free: 8.414 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.502, allocations: 0 / 403 MB, free: 8.414 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.504e-05/0.5021, allocations: 27.92 kB / 403 MB, free: 8.387 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002492/0.5023, allocations: 8 kB / 403 MB, free: 8.379 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006308/0.503, allocations: 208 kB / 403.2 MB, free: 8.133 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002868/0.5033, allocations: 0.6965 MB / 403.9 MB, free: 7.41 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.176e-05/0.5034, allocations: 27.44 kB / 404 MB, free: 7.383 MB / 330.7 MB Notification: Performance of SimCode: time 1.162e-06/0.5034, allocations: 0 / 404 MB, free: 7.383 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_Test11CalcHelperMain.o OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_Test11CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_Test11CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_1_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_1_cpp_ModelicaTest_Tables_CombiTable1D_Test11.so OMCppModelicaTest_3_2_1_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.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_Test11_FMU.makefile:93: recipe for target 'ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_Test11.fmu' failed make: *** [ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_Test11.fmu] Error 1