Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test10,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test10",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.051/2.051, allocations: 209.3 MB / 221.9 MB, free: 1.941 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.861e-05/3.895e-05, allocations: 7.984 kB / 273.1 MB, free: 0.6484 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1113/0.1114, allocations: 48.7 MB / 321.8 MB, free: 15.85 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4243/0.5357, allocations: 74.65 MB / 396.5 MB, free: 15.29 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004422/0.5363, allocations: 71.62 kB / 396.5 MB, free: 15.23 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02411/0.5604, allocations: 3.492 MB / 400 MB, free: 11.75 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.495e-06/0.5605, allocations: 0 / 400 MB, free: 11.75 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.774e-05/0.5605, allocations: 0 / 400 MB, free: 11.75 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0008203/0.5614, allocations: 404.1 kB / 400.4 MB, free: 11.31 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.563e-05/0.5615, allocations: 12.03 kB / 400.4 MB, free: 11.3 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.634e-05/0.5616, allocations: 34.5 kB / 400.5 MB, free: 11.25 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.722e-05/0.5617, allocations: 7.906 kB / 400.5 MB, free: 11.25 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003652/0.562, allocations: 183 kB / 400.7 MB, free: 11.03 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.082e-05/0.5621, allocations: 4 kB / 400.7 MB, free: 11.02 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.911e-05/0.5621, allocations: 4 kB / 400.7 MB, free: 11.02 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002634/0.5624, allocations: 67.39 kB / 400.7 MB, free: 10.94 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.495e-05/0.5625, allocations: 7.891 kB / 400.7 MB, free: 10.93 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.805e-05/0.5625, allocations: 0 / 400.7 MB, free: 10.93 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.255e-06/0.5625, allocations: 0 / 400.7 MB, free: 10.93 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001415/0.5627, allocations: 23.94 kB / 400.8 MB, free: 10.91 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006906/0.5634, allocations: 276.8 kB / 401 MB, free: 10.59 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001732/0.5636, allocations: 42.56 kB / 401.1 MB, free: 10.54 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.502e-05/0.5637, allocations: 16.86 kB / 401.1 MB, free: 10.52 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.293e-05/0.5638, allocations: 0 / 401.1 MB, free: 10.52 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.922e-05/0.5638, allocations: 34.5 kB / 401.1 MB, free: 10.48 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 2.846e-06/0.5639, allocations: 4 kB / 401.1 MB, free: 10.47 MB / 330.7 MB Notification: Performance of matching and sorting (n=7): time 0.001107/0.565, allocations: 141.4 kB / 401.3 MB, free: 10.33 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.071e-05/0.5651, allocations: 81.09 kB / 401.4 MB, free: 10.23 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000208/0.5653, allocations: 105 kB / 401.5 MB, free: 10.12 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.097e-05/0.5654, allocations: 29.7 kB / 401.5 MB, free: 10.09 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001194/0.5655, allocations: 158.5 kB / 401.6 MB, free: 9.93 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.494e-05/0.5656, allocations: 27.64 kB / 401.7 MB, free: 9.902 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.331e-05/0.5656, allocations: 0 / 401.7 MB, free: 9.902 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001847/0.5658, allocations: 318.8 kB / 402 MB, free: 9.582 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001122/0.566, allocations: 16 kB / 402 MB, free: 9.566 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001399/0.5661, allocations: 37.64 kB / 402 MB, free: 9.523 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001507/0.5663, allocations: 50 kB / 402.1 MB, free: 9.469 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.5663, allocations: 0 / 402.1 MB, free: 9.469 MB / 330.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004143/0.5668, allocations: 107.3 kB / 402.2 MB, free: 9.352 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.312e-05/0.5668, allocations: 37.64 kB / 402.2 MB, free: 9.309 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.326e-05/0.5669, allocations: 4 kB / 402.2 MB, free: 9.305 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.781e-05/0.5669, allocations: 7.938 kB / 402.2 MB, free: 9.297 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003563/0.5673, allocations: 24.02 kB / 402.3 MB, free: 9.273 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.481e-05/0.5673, allocations: 4 kB / 402.3 MB, free: 9.27 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000211/0.5676, allocations: 11.98 kB / 402.3 MB, free: 9.258 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.594e-05/0.5676, allocations: 4 kB / 402.3 MB, free: 9.254 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 (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.0001599/0.5678, allocations: 105 kB / 402.4 MB, free: 9.145 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.977e-05/0.5679, allocations: 11.91 kB / 402.4 MB, free: 9.133 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004743/0.5684, allocations: 86.23 kB / 402.5 MB, free: 9.043 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.158e-05/0.5684, allocations: 4 kB / 402.5 MB, free: 9.039 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.038e-05/0.5685, allocations: 3.953 kB / 402.5 MB, free: 9.035 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.5685, allocations: 0 / 402.5 MB, free: 9.035 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000869/0.5694, allocations: 342.6 kB / 402.8 MB, free: 8.645 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.172e-06/0.5694, allocations: 0 / 402.8 MB, free: 8.645 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003268/0.5698, allocations: 31.92 kB / 402.9 MB, free: 8.613 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.032e-05/0.5698, allocations: 0 / 402.9 MB, free: 8.613 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.625e-05/0.5698, allocations: 7.953 kB / 402.9 MB, free: 8.605 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.759e-06/0.5698, allocations: 0 / 402.9 MB, free: 8.605 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.135e-06/0.5699, allocations: 4 kB / 402.9 MB, free: 8.602 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004028/0.5703, allocations: 167.5 kB / 403 MB, free: 8.422 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001054/0.5704, allocations: 93 kB / 403.1 MB, free: 8.312 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.941e-05/0.5705, allocations: 0 / 403.1 MB, free: 8.312 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002767/0.5708, allocations: 23.94 kB / 403.1 MB, free: 8.289 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.228e-05/0.5709, allocations: 0 / 403.1 MB, free: 8.289 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.129e-05/0.5709, allocations: 4 kB / 403.1 MB, free: 8.285 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001503/0.5711, allocations: 100.2 kB / 403.2 MB, free: 8.188 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.807e-06/0.5711, allocations: 4 kB / 403.2 MB, free: 8.184 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006129/0.5717, allocations: 39.92 kB / 403.3 MB, free: 8.145 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 (7): * Single equations (assignments): 7 * 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.001882/0.5736, allocations: 0.9161 MB / 404.2 MB, free: 7.258 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002992/0.574, allocations: 103.3 kB / 404.3 MB, free: 7.145 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.207e-06/0.574, allocations: 0 / 404.3 MB, free: 7.145 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 8.117e-05/0.5741, allocations: 24 kB / 404.3 MB, free: 7.121 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002873/0.5744, allocations: 11.95 kB / 404.3 MB, free: 7.109 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.002759/0.5772, allocations: 0.7339 MB / 405.1 MB, free: 6.332 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003275/0.5775, allocations: 0.6887 MB / 405.8 MB, free: 5.617 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000118/0.5777, allocations: 27.42 kB / 405.8 MB, free: 5.59 MB / 330.7 MB Notification: Performance of SimCode: time 1.993e-06/0.5777, allocations: 3.938 kB / 405.8 MB, free: 5.586 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_CombiTable2D_Test10CalcHelperMain.o OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test10CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test10CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test10FMU.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_CombiTable2D_Test10.so OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test10CalcHelperMain.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_CombiTable2D_Test10_FMU.makefile:93: recipe for target 'ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test10.fmu' failed make: *** [ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test10.fmu] Error 1