Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test23,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_Test23",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.951/1.951, allocations: 209.3 MB / 221.9 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.877e-05/3.882e-05, allocations: 4 kB / 273.2 MB, free: 0.6406 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1012/0.1012, allocations: 48.7 MB / 321.8 MB, free: 15.84 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4052/0.5065, allocations: 74.67 MB / 396.5 MB, free: 15.25 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002868/0.5068, allocations: 75.05 kB / 396.6 MB, free: 15.18 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01536/0.5222, allocations: 3.529 MB / 400.1 MB, free: 11.67 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.5223, allocations: 0 / 400.1 MB, free: 11.67 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.081e-05/0.5223, allocations: 0 / 400.1 MB, free: 11.67 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.0004685/0.5228, allocations: 392 kB / 400.5 MB, free: 11.23 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.763e-05/0.5228, allocations: 8.031 kB / 400.5 MB, free: 11.23 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.26e-05/0.5229, allocations: 38.56 kB / 400.5 MB, free: 11.18 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.374e-05/0.5229, allocations: 3.906 kB / 400.6 MB, free: 11.18 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002607/0.5232, allocations: 190.9 kB / 400.7 MB, free: 10.95 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.533e-05/0.5232, allocations: 4 kB / 400.7 MB, free: 10.95 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.366e-05/0.5233, allocations: 0 / 400.7 MB, free: 10.95 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001557/0.5234, allocations: 64.97 kB / 400.8 MB, free: 10.87 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.5235, allocations: 0 / 400.8 MB, free: 10.87 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.231e-05/0.5235, allocations: 0 / 400.8 MB, free: 10.87 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.5235, allocations: 0 / 400.8 MB, free: 10.87 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.181e-05/0.5236, allocations: 19.98 kB / 400.8 MB, free: 10.85 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004611/0.524, allocations: 280.9 kB / 401.1 MB, free: 10.53 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002211/0.5243, allocations: 38.56 kB / 401.1 MB, free: 10.48 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.094e-05/0.5243, allocations: 20.78 kB / 401.2 MB, free: 10.46 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.008e-05/0.5244, allocations: 0 / 401.2 MB, free: 10.46 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.022e-05/0.5244, allocations: 34.56 kB / 401.2 MB, free: 10.41 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 1.543e-06/0.5244, allocations: 0 / 401.2 MB, free: 10.41 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005112/0.5249, allocations: 113.5 kB / 401.3 MB, free: 10.3 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.192e-05/0.525, allocations: 88.94 kB / 401.4 MB, free: 10.19 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001308/0.5252, allocations: 113 kB / 401.5 MB, free: 10.07 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.969e-05/0.5252, allocations: 25.7 kB / 401.5 MB, free: 10.04 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.728e-05/0.5253, allocations: 154.6 kB / 401.7 MB, free: 9.891 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.78e-05/0.5253, allocations: 23.66 kB / 401.7 MB, free: 9.867 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.12e-05/0.5253, allocations: 4 kB / 401.7 MB, free: 9.863 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001196/0.5255, allocations: 318.8 kB / 402 MB, free: 9.543 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.451e-05/0.5255, allocations: 16 kB / 402 MB, free: 9.527 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.914e-05/0.5256, allocations: 29.78 kB / 402.1 MB, free: 9.492 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.832e-05/0.5257, allocations: 45.69 kB / 402.1 MB, free: 9.441 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.5257, allocations: 0 / 402.1 MB, free: 9.441 MB / 330.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001985/0.5259, allocations: 95.39 kB / 402.2 MB, free: 9.336 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.708e-05/0.526, allocations: 33.73 kB / 402.2 MB, free: 9.297 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.526, allocations: 3.984 kB / 402.2 MB, free: 9.293 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.526, allocations: 0 / 402.2 MB, free: 9.293 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001239/0.5261, allocations: 15.94 kB / 402.2 MB, free: 9.277 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.5262, allocations: 0 / 402.2 MB, free: 9.277 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.066e-05/0.5263, allocations: 19.94 kB / 402.3 MB, free: 9.258 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.071e-05/0.5263, allocations: 0 / 402.3 MB, free: 9.258 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 8.091e-05/0.5264, allocations: 109 kB / 402.4 MB, free: 9.145 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.747e-05/0.5264, allocations: 4 kB / 402.4 MB, free: 9.141 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002346/0.5267, allocations: 81.67 kB / 402.5 MB, free: 9.059 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/0.5267, allocations: 0 / 402.5 MB, free: 9.059 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.5267, allocations: 0 / 402.5 MB, free: 9.059 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.5267, allocations: 0 / 402.5 MB, free: 9.059 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004853/0.5272, allocations: 334.5 kB / 402.8 MB, free: 8.676 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.042e-06/0.5272, allocations: 4 kB / 402.8 MB, free: 8.672 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001209/0.5274, allocations: 15.98 kB / 402.8 MB, free: 8.656 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.413e-06/0.5274, allocations: 4 kB / 402.8 MB, free: 8.652 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.168e-05/0.5274, allocations: 4 kB / 402.8 MB, free: 8.648 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.275e-06/0.5274, allocations: 0 / 402.8 MB, free: 8.648 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.5274, allocations: 4.266 kB / 402.8 MB, free: 8.645 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002036/0.5277, allocations: 167.5 kB / 403 MB, free: 8.465 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.772e-05/0.5277, allocations: 85.02 kB / 403.1 MB, free: 8.363 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.258e-05/0.5278, allocations: 0 / 403.1 MB, free: 8.363 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001156/0.5279, allocations: 15.98 kB / 403.1 MB, free: 8.348 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.702e-05/0.5279, allocations: 4 kB / 403.1 MB, free: 8.344 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.184e-05/0.528, allocations: 3.953 kB / 403.1 MB, free: 8.34 MB / 330.7 MB Notification: Performance of sorting global known variables: time 8.847e-05/0.5281, allocations: 96.25 kB / 403.2 MB, free: 8.246 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.5281, allocations: 3.938 kB / 403.2 MB, free: 8.242 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003826/0.5285, allocations: 32 kB / 403.2 MB, free: 8.211 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.001269/0.5298, allocations: 0.9193 MB / 404.1 MB, free: 7.316 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002187/0.53, allocations: 87.41 kB / 404.2 MB, free: 7.219 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.53, allocations: 0 / 404.2 MB, free: 7.219 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.368e-05/0.5301, allocations: 19.98 kB / 404.2 MB, free: 7.199 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002809/0.5304, allocations: 8 kB / 404.2 MB, free: 7.191 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.00257/0.533, allocations: 0.7224 MB / 405 MB, free: 6.422 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003011/0.5333, allocations: 0.6926 MB / 405.7 MB, free: 5.703 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001013/0.5334, allocations: 19.42 kB / 405.7 MB, free: 5.684 MB / 330.7 MB Notification: Performance of SimCode: time 1.052e-06/0.5334, allocations: 0 / 405.7 MB, free: 5.684 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_Test23CalcHelperMain.o OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_Test23CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_Test23CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_Test23FMU.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_Test23.so OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_Test23CalcHelperMain.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_CombiTable1D_Test23_FMU.makefile:93: recipe for target 'ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_Test23.fmu' failed make: *** [ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_Test23.fmu] Error 1