Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test3,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1Ds_Test3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.932/1.932, allocations: 209.3 MB / 221.9 MB, free: 1.945 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.769e-05/3.786e-05, allocations: 4 kB / 273.1 MB, free: 0.6523 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1249/0.125, allocations: 48.71 MB / 321.9 MB, free: 15.85 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3987/0.5237, allocations: 74.43 MB / 396.3 MB, free: 15.4 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002938/0.5241, allocations: 70.81 kB / 396.4 MB, free: 15.34 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0117/0.5358, allocations: 2.871 MB / 399.2 MB, free: 12.47 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.452e-06/0.5358, allocations: 0 / 399.2 MB, free: 12.47 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.138e-05/0.5358, allocations: 0 / 399.2 MB, free: 12.47 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.0004545/0.5363, allocations: 408 kB / 399.6 MB, free: 12.02 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.688e-05/0.5364, allocations: 12.03 kB / 399.6 MB, free: 12.01 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.746e-05/0.5364, allocations: 30.56 kB / 399.7 MB, free: 11.97 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.954e-05/0.5365, allocations: 11.91 kB / 399.7 MB, free: 11.96 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002798/0.5368, allocations: 198.8 kB / 399.9 MB, free: 11.73 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.347e-05/0.5368, allocations: 4 kB / 399.9 MB, free: 11.72 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.136e-05/0.5368, allocations: 0 / 399.9 MB, free: 11.72 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001251/0.5369, allocations: 45.69 kB / 399.9 MB, free: 11.67 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.537, allocations: 0 / 399.9 MB, free: 11.67 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.008e-05/0.537, allocations: 0 / 399.9 MB, free: 11.67 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.764e-06/0.537, allocations: 4 kB / 399.9 MB, free: 11.67 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.01e-05/0.5371, allocations: 19.97 kB / 399.9 MB, free: 11.65 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004007/0.5375, allocations: 276.9 kB / 400.2 MB, free: 11.33 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002099/0.5377, allocations: 42.5 kB / 400.3 MB, free: 11.28 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.737e-05/0.5378, allocations: 12.86 kB / 400.3 MB, free: 11.26 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.031e-05/0.5378, allocations: 4 kB / 400.3 MB, free: 11.26 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.155e-05/0.5378, allocations: 30.56 kB / 400.3 MB, free: 11.22 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 1.603e-06/0.5379, allocations: 4 kB / 400.3 MB, free: 11.21 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004778/0.5383, allocations: 114.7 kB / 400.4 MB, free: 11.1 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.658e-05/0.5384, allocations: 55.41 kB / 400.5 MB, free: 11.03 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002202/0.5386, allocations: 164.8 kB / 400.6 MB, free: 10.86 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.012e-05/0.5387, allocations: 25.7 kB / 400.7 MB, free: 10.83 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.628e-05/0.5387, allocations: 166.4 kB / 400.8 MB, free: 10.67 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.727e-05/0.5388, allocations: 19.8 kB / 400.8 MB, free: 10.65 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.801e-06/0.5388, allocations: 0 / 400.8 MB, free: 10.65 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001149/0.5389, allocations: 314.8 kB / 401.2 MB, free: 10.33 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.93e-05/0.539, allocations: 16 kB / 401.2 MB, free: 10.32 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.956e-05/0.539, allocations: 15.94 kB / 401.2 MB, free: 10.3 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.463e-05/0.5391, allocations: 37.7 kB / 401.2 MB, free: 10.26 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.5391, allocations: 0 / 401.2 MB, free: 10.26 MB / 330.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001668/0.5393, allocations: 87.39 kB / 401.3 MB, free: 10.16 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.796e-05/0.5394, allocations: 33.64 kB / 401.3 MB, free: 10.12 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.5394, allocations: 0 / 401.3 MB, free: 10.12 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.5394, allocations: 3.984 kB / 401.3 MB, free: 10.12 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001166/0.5395, allocations: 20 kB / 401.4 MB, free: 10.1 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.688e-06/0.5395, allocations: 3.953 kB / 401.4 MB, free: 10.09 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.937e-05/0.5396, allocations: 11.98 kB / 401.4 MB, free: 10.08 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.808e-06/0.5397, allocations: 0 / 401.4 MB, free: 10.08 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.409e-05/0.5397, allocations: 101 kB / 401.5 MB, free: 9.977 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.917e-05/0.5398, allocations: 7.906 kB / 401.5 MB, free: 9.969 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002013/0.54, allocations: 77.77 kB / 401.6 MB, free: 9.891 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.54, allocations: 8 kB / 401.6 MB, free: 9.883 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.54, allocations: 0 / 401.6 MB, free: 9.883 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.004e-06/0.5401, allocations: 7.891 kB / 401.6 MB, free: 9.875 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004649/0.5405, allocations: 338.5 kB / 401.9 MB, free: 9.488 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.215e-06/0.5406, allocations: 384 / 401.9 MB, free: 9.488 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001197/0.5407, allocations: 15.98 kB / 401.9 MB, free: 9.473 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/0.5407, allocations: 0 / 401.9 MB, free: 9.473 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.279e-05/0.5407, allocations: 8 kB / 401.9 MB, free: 9.465 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.92e-06/0.5407, allocations: 7.953 kB / 401.9 MB, free: 9.457 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.5407, allocations: 0 / 401.9 MB, free: 9.457 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001881/0.5409, allocations: 159.4 kB / 402.1 MB, free: 9.285 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.951e-05/0.541, allocations: 89.02 kB / 402.2 MB, free: 9.18 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.511e-05/0.5411, allocations: 7.984 kB / 402.2 MB, free: 9.172 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001083/0.5412, allocations: 4 kB / 402.2 MB, free: 9.168 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.11e-05/0.5412, allocations: 3.953 kB / 402.2 MB, free: 9.164 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.433e-06/0.5413, allocations: 8 kB / 402.2 MB, free: 9.156 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001618/0.5414, allocations: 139.2 kB / 402.3 MB, free: 9.023 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.5414, allocations: 0 / 402.3 MB, free: 9.023 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003251/0.5418, allocations: 19.94 kB / 402.4 MB, free: 9.004 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.001046/0.5428, allocations: 0.8324 MB / 403.2 MB, free: 8.191 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001869/0.543, allocations: 83.41 kB / 403.3 MB, free: 8.098 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.543, allocations: 0 / 403.3 MB, free: 8.098 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.573e-05/0.5431, allocations: 19.98 kB / 403.3 MB, free: 8.078 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002557/0.5434, allocations: 7.953 kB / 403.3 MB, free: 8.07 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006428/0.544, allocations: 232.8 kB / 403.5 MB, free: 7.801 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003005/0.5444, allocations: 0.7043 MB / 404.2 MB, free: 7.07 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.914e-05/0.5444, allocations: 27.42 kB / 404.3 MB, free: 7.043 MB / 330.7 MB Notification: Performance of SimCode: time 7.21e-07/0.5445, allocations: 0 / 404.3 MB, free: 7.043 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_Test3CalcHelperMain.o OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1Ds_Test3CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1Ds_Test3CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1Ds_Test3FMU.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_Test3.so OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1Ds_Test3CalcHelperMain.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_Test3_FMU.makefile:93: recipe for target 'ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1Ds_Test3.fmu' failed make: *** [ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1Ds_Test3.fmu] Error 1