Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test1,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1Ds_Test1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.917/1.917, allocations: 209.3 MB / 221.9 MB, free: 1.926 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.351e-05/3.356e-05, allocations: 0 / 273.1 MB, free: 0.6406 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1085/0.1086, allocations: 48.7 MB / 321.8 MB, free: 15.84 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4175/0.5261, allocations: 74.4 MB / 396.2 MB, free: 15.43 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000255/0.5264, allocations: 70.75 kB / 396.3 MB, free: 15.36 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01134/0.5378, allocations: 2.565 MB / 398.9 MB, free: 12.8 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.704e-06/0.5378, allocations: 0 / 398.9 MB, free: 12.8 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.461e-05/0.5378, allocations: 4 kB / 398.9 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.0004954/0.5384, allocations: 392.1 kB / 399.3 MB, free: 12.36 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.924e-05/0.5384, allocations: 8.031 kB / 399.3 MB, free: 12.36 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.854e-05/0.5385, allocations: 34.56 kB / 399.3 MB, free: 12.31 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.712e-05/0.5385, allocations: 3.906 kB / 399.3 MB, free: 12.31 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002484/0.5388, allocations: 194.8 kB / 399.5 MB, free: 12.08 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.226e-06/0.5388, allocations: 0 / 399.5 MB, free: 12.08 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.886e-05/0.5388, allocations: 8 kB / 399.5 MB, free: 12.07 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001203/0.539, allocations: 37.69 kB / 399.5 MB, free: 12.03 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/0.539, allocations: 4 kB / 399.6 MB, free: 12.02 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.539, allocations: 4 kB / 399.6 MB, free: 12.02 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.539, allocations: 0 / 399.6 MB, free: 12.02 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.621e-05/0.5391, allocations: 12 kB / 399.6 MB, free: 12.01 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004005/0.5395, allocations: 268.9 kB / 399.8 MB, free: 11.7 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002206/0.5398, allocations: 42.5 kB / 399.9 MB, free: 11.64 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.736e-05/0.5398, allocations: 8.859 kB / 399.9 MB, free: 11.63 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.423e-05/0.5398, allocations: 12 kB / 399.9 MB, free: 11.62 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.271e-05/0.5399, allocations: 34.5 kB / 399.9 MB, free: 11.58 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 1.863e-06/0.5399, allocations: 0 / 399.9 MB, free: 11.58 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.000496/0.5404, allocations: 102.9 kB / 400 MB, free: 11.47 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.747e-05/0.5405, allocations: 55.36 kB / 400.1 MB, free: 11.41 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001544/0.5406, allocations: 125.1 kB / 400.2 MB, free: 11.27 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.755e-05/0.5407, allocations: 25.7 kB / 400.2 MB, free: 11.24 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.29e-05/0.5407, allocations: 166.6 kB / 400.4 MB, free: 11.08 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.251e-05/0.5408, allocations: 11.75 kB / 400.4 MB, free: 11.07 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.951e-06/0.5408, allocations: 0 / 400.4 MB, free: 11.07 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001127/0.5409, allocations: 322.8 kB / 400.7 MB, free: 10.74 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.796e-05/0.541, allocations: 12 kB / 400.7 MB, free: 10.73 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.912e-05/0.541, allocations: 11.94 kB / 400.7 MB, free: 10.72 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.852e-05/0.5411, allocations: 37.7 kB / 400.8 MB, free: 10.68 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.5411, allocations: 0 / 400.8 MB, free: 10.68 MB / 330.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001821/0.5413, allocations: 91.39 kB / 400.9 MB, free: 10.57 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.936e-05/0.5414, allocations: 41.64 kB / 400.9 MB, free: 10.53 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.5414, allocations: 0 / 400.9 MB, free: 10.53 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.725e-05/0.5414, allocations: 0 / 400.9 MB, free: 10.53 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001331/0.5415, allocations: 15.98 kB / 400.9 MB, free: 10.51 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.5416, allocations: 0 / 400.9 MB, free: 10.51 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.463e-05/0.5417, allocations: 7.953 kB / 400.9 MB, free: 10.5 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.439e-05/0.5417, allocations: 4.25 kB / 400.9 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 7.551e-05/0.5418, allocations: 109 kB / 401 MB, free: 10.39 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.817e-05/0.5418, allocations: 7.906 kB / 401.1 MB, free: 10.38 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002234/0.542, allocations: 73.78 kB / 401.1 MB, free: 10.3 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.5421, allocations: 0 / 401.1 MB, free: 10.3 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.5421, allocations: 4 kB / 401.1 MB, free: 10.3 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.596e-06/0.5421, allocations: 3.938 kB / 401.1 MB, free: 10.3 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004499/0.5426, allocations: 322.5 kB / 401.4 MB, free: 9.926 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-06/0.5426, allocations: 0 / 401.4 MB, free: 9.926 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001163/0.5427, allocations: 20 kB / 401.5 MB, free: 9.906 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.512e-06/0.5427, allocations: 3.984 kB / 401.5 MB, free: 9.902 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.599e-06/0.5427, allocations: 0 / 401.5 MB, free: 9.902 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.5428, allocations: 7.984 kB / 401.5 MB, free: 9.895 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.5428, allocations: 3.953 kB / 401.5 MB, free: 9.891 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001853/0.543, allocations: 159.4 kB / 401.6 MB, free: 9.719 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.499e-05/0.543, allocations: 85.16 kB / 401.7 MB, free: 9.617 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.948e-05/0.5431, allocations: 0 / 401.7 MB, free: 9.617 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001059/0.5432, allocations: 8 kB / 401.7 MB, free: 9.609 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.911e-05/0.5432, allocations: 11.97 kB / 401.7 MB, free: 9.598 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.438e-06/0.5433, allocations: 3.953 kB / 401.7 MB, free: 9.594 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001018/0.5434, allocations: 103.3 kB / 401.8 MB, free: 9.492 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.8e-07/0.5434, allocations: 3.938 kB / 401.8 MB, free: 9.488 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003386/0.5437, allocations: 16 kB / 401.9 MB, free: 9.473 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.001005/0.5448, allocations: 0.8256 MB / 402.7 MB, free: 8.664 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001942/0.545, allocations: 83.41 kB / 402.8 MB, free: 8.57 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.545, allocations: 4 kB / 402.8 MB, free: 8.566 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.167e-05/0.545, allocations: 12 kB / 402.8 MB, free: 8.555 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002489/0.5453, allocations: 8 kB / 402.8 MB, free: 8.547 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005818/0.5459, allocations: 180.2 kB / 403 MB, free: 8.324 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002937/0.5462, allocations: 0.6887 MB / 403.7 MB, free: 7.609 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.21e-05/0.5463, allocations: 19.44 kB / 403.7 MB, free: 7.59 MB / 330.7 MB Notification: Performance of SimCode: time 8.41e-07/0.5463, allocations: 0 / 403.7 MB, free: 7.59 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_Test1CalcHelperMain.o OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1Ds_Test1CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1Ds_Test1CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1Ds_Test1FMU.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_Test1.so OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1Ds_Test1CalcHelperMain.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_Test1_FMU.makefile:93: recipe for target 'ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1Ds_Test1.fmu' failed make: *** [ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1Ds_Test1.fmu] Error 1