Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test24,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1Ds_Test24",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.038/2.038, allocations: 209.3 MB / 221.9 MB, free: 1.941 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.361e-05/4.371e-05, allocations: 4 kB / 273.1 MB, free: 0.6445 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.106/0.1061, allocations: 48.71 MB / 321.9 MB, free: 15.84 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4191/0.5252, allocations: 74.66 MB / 396.5 MB, free: 15.17 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002765/0.5255, allocations: 71.95 kB / 396.6 MB, free: 15.1 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01544/0.541, allocations: 3.509 MB / 400.1 MB, free: 11.6 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.5411, allocations: 0 / 400.1 MB, free: 11.6 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.178e-05/0.5411, allocations: 0 / 400.1 MB, free: 11.6 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.0004979/0.5416, allocations: 392 kB / 400.5 MB, free: 11.17 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.321e-05/0.5417, allocations: 12.03 kB / 400.5 MB, free: 11.16 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.021e-05/0.5417, allocations: 34.55 kB / 400.5 MB, free: 11.11 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.83e-05/0.5418, allocations: 7.906 kB / 400.5 MB, free: 11.11 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002508/0.542, allocations: 182.9 kB / 400.7 MB, free: 10.89 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.386e-05/0.5421, allocations: 4 kB / 400.7 MB, free: 10.88 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.952e-05/0.5421, allocations: 4 kB / 400.7 MB, free: 10.88 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001674/0.5423, allocations: 60.97 kB / 400.8 MB, free: 10.81 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.5423, allocations: 0 / 400.8 MB, free: 10.81 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.417e-05/0.5423, allocations: 8 kB / 400.8 MB, free: 10.8 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.5423, allocations: 0 / 400.8 MB, free: 10.8 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.72e-05/0.5424, allocations: 8 kB / 400.8 MB, free: 10.79 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004262/0.5429, allocations: 268.9 kB / 401.1 MB, free: 10.48 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002341/0.5431, allocations: 46.55 kB / 401.1 MB, free: 10.43 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.594e-05/0.5432, allocations: 12.8 kB / 401.1 MB, free: 10.41 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.295e-05/0.5432, allocations: 4 kB / 401.1 MB, free: 10.41 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.803e-05/0.5432, allocations: 34.56 kB / 401.2 MB, free: 10.36 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 1.853e-06/0.5433, allocations: 0 / 401.2 MB, free: 10.36 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005095/0.5438, allocations: 105.5 kB / 401.3 MB, free: 10.25 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.138e-05/0.5439, allocations: 85 kB / 401.3 MB, free: 10.15 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001441/0.544, allocations: 109 kB / 401.4 MB, free: 10.04 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.346e-05/0.5441, allocations: 29.7 kB / 401.5 MB, free: 10 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.856e-05/0.5441, allocations: 162.5 kB / 401.6 MB, free: 9.844 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.96e-05/0.5442, allocations: 23.58 kB / 401.7 MB, free: 9.82 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.116e-06/0.5442, allocations: 0 / 401.7 MB, free: 9.82 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001394/0.5443, allocations: 322.8 kB / 402 MB, free: 9.496 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.559e-05/0.5444, allocations: 8 kB / 402 MB, free: 9.488 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.454e-05/0.5445, allocations: 29.7 kB / 402 MB, free: 9.453 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.605e-05/0.5446, allocations: 45.89 kB / 402.1 MB, free: 9.402 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.5446, allocations: 4.031 kB / 402.1 MB, free: 9.398 MB / 330.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000199/0.5448, allocations: 87.39 kB / 402.1 MB, free: 9.301 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.441e-05/0.5449, allocations: 33.7 kB / 402.2 MB, free: 9.262 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.5449, allocations: 4 kB / 402.2 MB, free: 9.258 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.5449, allocations: 0 / 402.2 MB, free: 9.258 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001365/0.5451, allocations: 19.92 kB / 402.2 MB, free: 9.238 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.634e-06/0.5451, allocations: 0 / 402.2 MB, free: 9.238 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.033e-05/0.5452, allocations: 7.953 kB / 402.2 MB, free: 9.23 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.325e-05/0.5452, allocations: 8 kB / 402.2 MB, free: 9.223 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 9.252e-05/0.5453, allocations: 105 kB / 402.3 MB, free: 9.113 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.988e-05/0.5454, allocations: 4 kB / 402.3 MB, free: 9.109 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002214/0.5456, allocations: 73.69 kB / 402.4 MB, free: 9.035 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.5456, allocations: 0 / 402.4 MB, free: 9.035 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.5456, allocations: 4 kB / 402.4 MB, free: 9.031 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.5456, allocations: 0 / 402.4 MB, free: 9.031 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004913/0.5461, allocations: 326.5 kB / 402.7 MB, free: 8.656 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.5462, allocations: 4 kB / 402.7 MB, free: 8.652 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001167/0.5463, allocations: 15.98 kB / 402.7 MB, free: 8.637 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/0.5463, allocations: 0 / 402.7 MB, free: 8.637 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.029e-05/0.5463, allocations: 0 / 402.7 MB, free: 8.637 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.5463, allocations: 0 / 402.7 MB, free: 8.637 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.57e-06/0.5463, allocations: 3.953 kB / 402.7 MB, free: 8.633 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002087/0.5466, allocations: 159.7 kB / 402.9 MB, free: 8.461 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.233e-05/0.5466, allocations: 85.02 kB / 403 MB, free: 8.359 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.847e-05/0.5467, allocations: 8.062 kB / 403 MB, free: 8.352 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001156/0.5468, allocations: 7.984 kB / 403 MB, free: 8.344 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.345e-05/0.5469, allocations: 0 / 403 MB, free: 8.344 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.053e-05/0.5469, allocations: 7.953 kB / 403 MB, free: 8.336 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001127/0.547, allocations: 104.2 kB / 403.1 MB, free: 8.234 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.547, allocations: 3.938 kB / 403.1 MB, free: 8.23 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003983/0.5474, allocations: 28 kB / 403.1 MB, free: 8.203 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.001349/0.5488, allocations: 0.9088 MB / 404 MB, free: 7.32 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002181/0.549, allocations: 87.41 kB / 404.1 MB, free: 7.223 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.5491, allocations: 0 / 404.1 MB, free: 7.223 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.997e-05/0.5491, allocations: 20 kB / 404.1 MB, free: 7.203 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002708/0.5494, allocations: 4 kB / 404.2 MB, free: 7.199 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.002534/0.552, allocations: 0.7146 MB / 404.9 MB, free: 6.438 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003286/0.5523, allocations: 0.6887 MB / 405.6 MB, free: 5.723 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001006/0.5524, allocations: 23.42 kB / 405.6 MB, free: 5.699 MB / 330.7 MB Notification: Performance of SimCode: time 1.132e-06/0.5524, allocations: 0 / 405.6 MB, free: 5.699 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_Test24CalcHelperMain.o OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1Ds_Test24CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1Ds_Test24CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1Ds_Test24FMU.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_Test24.so OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1Ds_Test24CalcHelperMain.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_CombiTable1Ds_Test24_FMU.makefile:93: recipe for target 'ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1Ds_Test24.fmu' failed make: *** [ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1Ds_Test24.fmu] Error 1