Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test50,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test50",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.306/2.306, allocations: 209.3 MB / 221.9 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.426e-05/4.469e-05, allocations: 8 kB / 273.2 MB, free: 0.6289 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1271/0.1271, allocations: 48.7 MB / 321.9 MB, free: 15.83 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4833/0.6106, allocations: 76.02 MB / 397.9 MB, free: 13.8 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002831/0.6109, allocations: 71.97 kB / 397.9 MB, free: 13.73 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02288/0.6338, allocations: 5.036 MB / 403 MB, free: 8.715 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.6339, allocations: 0 / 403 MB, free: 8.715 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.27e-05/0.6339, allocations: 0 / 403 MB, free: 8.715 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.0005814/0.6345, allocations: 412.1 kB / 403.4 MB, free: 8.262 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.714e-05/0.6345, allocations: 16.03 kB / 403.4 MB, free: 8.246 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.875e-05/0.6346, allocations: 34.5 kB / 403.4 MB, free: 8.203 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.099e-05/0.6347, allocations: 15.84 kB / 403.5 MB, free: 8.188 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003003/0.635, allocations: 194.9 kB / 403.6 MB, free: 7.957 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.228e-05/0.635, allocations: 4 kB / 403.6 MB, free: 7.953 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.674e-05/0.635, allocations: 0 / 403.6 MB, free: 7.953 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001776/0.6352, allocations: 71.39 kB / 403.7 MB, free: 7.871 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.6353, allocations: 0 / 403.7 MB, free: 7.871 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.477e-05/0.6353, allocations: 0 / 403.7 MB, free: 7.871 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.7e-06/0.6353, allocations: 4 kB / 403.7 MB, free: 7.867 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001193/0.6354, allocations: 31.92 kB / 403.7 MB, free: 7.836 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004897/0.6359, allocations: 300.8 kB / 404 MB, free: 7.492 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001488/0.6361, allocations: 54.55 kB / 404.1 MB, free: 7.43 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.021e-05/0.6362, allocations: 20.94 kB / 404.1 MB, free: 7.406 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.344e-05/0.6362, allocations: 0 / 404.1 MB, free: 7.406 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000163/0.6364, allocations: 75.23 kB / 404.2 MB, free: 7.32 MB / 330.7 MB Notification: Performance of pre-optimization done (n=5): time 2.224e-06/0.6364, allocations: 0 / 404.2 MB, free: 7.32 MB / 330.7 MB Notification: Performance of matching and sorting (n=6): time 0.00057/0.637, allocations: 125.4 kB / 404.3 MB, free: 7.191 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.939e-05/0.6371, allocations: 81.09 kB / 404.4 MB, free: 7.094 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002/0.6373, allocations: 140.1 kB / 404.5 MB, free: 6.949 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.169e-05/0.6373, allocations: 33.7 kB / 404.6 MB, free: 6.91 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.956e-05/0.6374, allocations: 158.5 kB / 404.7 MB, free: 6.754 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.015e-05/0.6375, allocations: 23.8 kB / 404.7 MB, free: 6.73 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.366e-06/0.6375, allocations: 0 / 404.7 MB, free: 6.73 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001213/0.6376, allocations: 310.8 kB / 405 MB, free: 6.418 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.57e-05/0.6377, allocations: 27.98 kB / 405.1 MB, free: 6.391 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001014/0.6378, allocations: 41.66 kB / 405.1 MB, free: 6.344 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001184/0.638, allocations: 53.69 kB / 405.2 MB, free: 6.285 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.638, allocations: 4 kB / 405.2 MB, free: 6.281 MB / 330.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003276/0.6383, allocations: 127.4 kB / 405.3 MB, free: 6.145 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.018e-05/0.6384, allocations: 41.67 kB / 405.3 MB, free: 6.098 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/0.6384, allocations: 0 / 405.3 MB, free: 6.098 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.981e-05/0.6384, allocations: 0 / 405.3 MB, free: 6.098 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000143/0.6386, allocations: 19.94 kB / 405.4 MB, free: 6.078 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.636e-06/0.6386, allocations: 0 / 405.4 MB, free: 6.078 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001018/0.6387, allocations: 4 kB / 405.4 MB, free: 6.074 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.161e-05/0.6388, allocations: 4.094 kB / 405.4 MB, free: 6.07 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: 3 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 7 * 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 0.0001078/0.6389, allocations: 112.9 kB / 405.5 MB, free: 5.953 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.182e-05/0.6389, allocations: 7.906 kB / 405.5 MB, free: 5.945 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003747/0.6393, allocations: 114.1 kB / 405.6 MB, free: 5.824 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.6393, allocations: 0 / 405.6 MB, free: 5.824 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.267e-06/0.6394, allocations: 3.953 kB / 405.6 MB, free: 5.82 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.171e-06/0.6394, allocations: 3.984 kB / 405.6 MB, free: 5.816 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005767/0.64, allocations: 366.5 kB / 406 MB, free: 5.402 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.64, allocations: 0 / 406 MB, free: 5.402 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000103/0.6401, allocations: 15.98 kB / 406 MB, free: 5.387 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.226e-06/0.6401, allocations: 0 / 406 MB, free: 5.387 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.701e-05/0.6402, allocations: 11.89 kB / 406 MB, free: 5.375 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.078e-06/0.6402, allocations: 256 / 406 MB, free: 5.375 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.956e-06/0.6402, allocations: 11.94 kB / 406 MB, free: 5.363 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003187/0.6405, allocations: 187.7 kB / 406.2 MB, free: 5.164 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.135e-05/0.6406, allocations: 85.02 kB / 406.3 MB, free: 5.062 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.946e-05/0.6406, allocations: 7.984 kB / 406.3 MB, free: 5.055 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001126/0.6408, allocations: 7.953 kB / 406.3 MB, free: 5.047 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.06e-05/0.6408, allocations: 4 kB / 406.3 MB, free: 5.043 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.672e-05/0.6409, allocations: 7.984 kB / 406.3 MB, free: 5.035 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001379/0.641, allocations: 118.2 kB / 406.4 MB, free: 4.922 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.31e-07/0.641, allocations: 0 / 406.4 MB, free: 4.922 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004511/0.6415, allocations: 47.94 kB / 406.5 MB, free: 4.875 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: 2 ($whenCondition1,t_new.nextTimeEvent) * Number of discrete states: 1 (t_new.nextTimeEvent) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.001801/0.6433, allocations: 1.04 MB / 407.5 MB, free: 3.875 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003438/0.6437, allocations: 119.4 kB / 407.6 MB, free: 3.746 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.6437, allocations: 3.938 kB / 407.6 MB, free: 3.742 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 8.724e-05/0.6438, allocations: 20 kB / 407.6 MB, free: 3.723 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003543/0.6442, allocations: 19.94 kB / 407.6 MB, free: 3.703 MB / 330.7 MB Warning: Could not resolve URI (uri) at compile-time; copying all loaded packages into the FMU Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00265/0.6469, allocations: 0.7664 MB / 408.4 MB, free: 2.895 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000309/0.6472, allocations: 0.7005 MB / 409.1 MB, free: 2.168 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001427/0.6474, allocations: 27.42 kB / 409.1 MB, free: 2.141 MB / 330.7 MB Notification: Performance of SimCode: time 1.032e-06/0.6474, allocations: 0 / 409.1 MB, free: 2.141 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_CombiTimeTable_Test50CalcHelperMain.o OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test50CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test50CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test50FMU.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_CombiTimeTable_Test50.so OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test50CalcHelperMain.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" -lModelicaExternalC -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_CombiTimeTable_Test50_FMU.makefile:93: recipe for target 'ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test50.fmu' failed make: *** [ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test50.fmu] Error 1