Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test16,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test16",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.476/2.476, allocations: 235 MB / 247.6 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.797e-05/4.793e-05, allocations: 4 kB / 305 MB, free: 5.566 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4822/0.4823, allocations: 54.85 MB / 359.9 MB, free: 2.301 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1496/0.632, allocations: 80.89 MB / 440.7 MB, free: 4 kB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002854/0.6323, allocations: 71.95 kB / 440.8 MB, free: 15.93 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01351/0.6459, allocations: 3.107 MB / 443.9 MB, free: 12.84 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.884e-06/0.6459, allocations: 0 / 443.9 MB, free: 12.84 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.549e-05/0.6459, allocations: 4 kB / 443.9 MB, free: 12.84 MB / 378.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.0005443/0.6465, allocations: 407.9 kB / 444.3 MB, free: 12.39 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.977e-05/0.6466, allocations: 12.03 kB / 444.3 MB, free: 12.38 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.352e-05/0.6466, allocations: 38.5 kB / 444.4 MB, free: 12.33 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.522e-05/0.6467, allocations: 13.48 kB / 444.4 MB, free: 12.32 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002946/0.647, allocations: 191.5 kB / 444.6 MB, free: 12.09 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.239e-05/0.647, allocations: 0.5625 kB / 444.6 MB, free: 12.09 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.482e-05/0.6471, allocations: 4 kB / 444.6 MB, free: 12.09 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001346/0.6472, allocations: 45.69 kB / 444.6 MB, free: 12.04 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.279e-05/0.6472, allocations: 0 / 444.6 MB, free: 12.04 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.341e-05/0.6473, allocations: 4 kB / 444.6 MB, free: 12.03 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.247e-05/0.6473, allocations: 3.953 kB / 444.6 MB, free: 12.03 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.394e-05/0.6474, allocations: 8.562 kB / 444.6 MB, free: 12.02 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004502/0.6478, allocations: 288.8 kB / 444.9 MB, free: 11.69 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002205/0.6481, allocations: 42.56 kB / 445 MB, free: 11.64 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.819e-05/0.6481, allocations: 12.86 kB / 445 MB, free: 11.62 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.491e-05/0.6482, allocations: 4 kB / 445 MB, free: 11.62 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.993e-05/0.6482, allocations: 34.52 kB / 445 MB, free: 11.57 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.863e-06/0.6482, allocations: 1.594 kB / 445 MB, free: 11.57 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.000528/0.6487, allocations: 101.4 kB / 445.1 MB, free: 11.47 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.168e-05/0.6488, allocations: 59.41 kB / 445.2 MB, free: 11.4 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002664/0.6491, allocations: 177.3 kB / 445.3 MB, free: 11.22 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.962e-05/0.6491, allocations: 25.7 kB / 445.4 MB, free: 11.19 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.623e-05/0.6492, allocations: 162.6 kB / 445.5 MB, free: 11.03 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.373e-05/0.6492, allocations: 23.72 kB / 445.6 MB, free: 11 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.012e-06/0.6493, allocations: 4 kB / 445.6 MB, free: 11 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001185/0.6494, allocations: 310.8 kB / 445.9 MB, free: 10.69 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.816e-05/0.6495, allocations: 12 kB / 445.9 MB, free: 10.68 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.846e-05/0.6495, allocations: 10.69 kB / 445.9 MB, free: 10.67 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.782e-05/0.6496, allocations: 41.7 kB / 445.9 MB, free: 10.62 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.631e-06/0.6496, allocations: 0 / 445.9 MB, free: 10.62 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001897/0.6498, allocations: 103.2 kB / 446 MB, free: 10.51 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.652e-05/0.6499, allocations: 39.38 kB / 446.1 MB, free: 10.46 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.6499, allocations: 0 / 446.1 MB, free: 10.46 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/0.6499, allocations: 0 / 446.1 MB, free: 10.46 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001434/0.6501, allocations: 17.39 kB / 446.1 MB, free: 10.45 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.6501, allocations: 0 / 446.1 MB, free: 10.45 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.896e-05/0.6502, allocations: 11.98 kB / 446.1 MB, free: 10.44 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.463e-05/0.6502, allocations: 5.641 kB / 446.1 MB, free: 10.43 MB / 378.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.642e-05/0.6503, allocations: 105 kB / 446.2 MB, free: 10.32 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.622e-05/0.6504, allocations: 8.047 kB / 446.2 MB, free: 10.32 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002341/0.6506, allocations: 85.64 kB / 446.3 MB, free: 10.23 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.492e-06/0.6506, allocations: 4 kB / 446.3 MB, free: 10.23 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.6507, allocations: 0 / 446.3 MB, free: 10.23 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.6507, allocations: 0 / 446.3 MB, free: 10.23 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005139/0.6512, allocations: 339.5 kB / 446.6 MB, free: 9.84 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.6512, allocations: 3.953 kB / 446.6 MB, free: 9.836 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001263/0.6514, allocations: 18.42 kB / 446.7 MB, free: 9.82 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.718e-06/0.6514, allocations: 3.938 kB / 446.7 MB, free: 9.816 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.019e-05/0.6514, allocations: 0 / 446.7 MB, free: 9.816 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.681e-06/0.6514, allocations: 5.312 kB / 446.7 MB, free: 9.812 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.6514, allocations: 0 / 446.7 MB, free: 9.812 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001974/0.6516, allocations: 163.5 kB / 446.8 MB, free: 9.637 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.21e-05/0.6517, allocations: 96.95 kB / 446.9 MB, free: 9.523 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.565e-05/0.6518, allocations: 0 / 446.9 MB, free: 9.523 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001185/0.6519, allocations: 8 kB / 446.9 MB, free: 9.516 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.167e-05/0.6519, allocations: 3.984 kB / 446.9 MB, free: 9.512 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.789e-06/0.652, allocations: 4 kB / 446.9 MB, free: 9.508 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002168/0.6522, allocations: 149.5 kB / 447.1 MB, free: 9.363 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.6522, allocations: 0 / 447.1 MB, free: 9.363 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000349/0.6526, allocations: 19.91 kB / 447.1 MB, free: 9.344 MB / 378.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.00122/0.6538, allocations: 0.8845 MB / 448 MB, free: 8.504 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002032/0.654, allocations: 83.41 kB / 448.1 MB, free: 8.41 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.6541, allocations: 0 / 448.1 MB, free: 8.41 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.419e-05/0.6541, allocations: 15.94 kB / 448.1 MB, free: 8.395 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002912/0.6544, allocations: 8 kB / 448.1 MB, free: 8.387 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007007/0.6551, allocations: 237.7 kB / 448.3 MB, free: 8.109 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003186/0.6555, allocations: 0.7043 MB / 449 MB, free: 7.379 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.507e-05/0.6556, allocations: 27.42 kB / 449 MB, free: 7.355 MB / 378.7 MB Notification: Performance of SimCode: time 8.92e-07/0.6556, allocations: 0 / 449 MB, free: 7.355 MB / 378.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_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test16CalcHelperMain.o OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test16CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test16CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test16FMU.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_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test16.so OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test16CalcHelperMain.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.2/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.2/Resources/Library/x86_64-linux" -Wl,-rpath="/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Resources/Library/x86_64-linux" "-L/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Resources/Library/linux64" -Wl,-rpath="/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Resources/Library/linux64" "-L/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Resources/Library" -Wl,-rpath="/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/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_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test16_FMU.makefile:93: recipe for target 'ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test16.fmu' failed make: *** [ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test16.fmu] Error 1