Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test29,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test29",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.487/2.487, allocations: 235 MB / 247.6 MB, free: 14.34 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.846e-05/3.85e-05, allocations: 4 kB / 305 MB, free: 5.543 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4089/0.4089, allocations: 54.85 MB / 359.9 MB, free: 2.68 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1546/0.5636, allocations: 80.94 MB / 440.8 MB, free: 32 kB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002852/0.5639, allocations: 68.05 kB / 440.9 MB, free: 15.96 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01955/0.5835, allocations: 3.102 MB / 444 MB, free: 12.89 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.913e-06/0.5836, allocations: 0 / 444 MB, free: 12.89 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.579e-05/0.5836, allocations: 4 kB / 444 MB, free: 12.89 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005288/0.5841, allocations: 396 kB / 444.4 MB, free: 12.45 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.976e-05/0.5842, allocations: 16.03 kB / 444.4 MB, free: 12.44 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.575e-05/0.5843, allocations: 38.55 kB / 444.4 MB, free: 12.39 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.422e-05/0.5843, allocations: 11.86 kB / 444.4 MB, free: 12.38 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002694/0.5846, allocations: 183 kB / 444.6 MB, free: 12.16 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.248e-05/0.5846, allocations: 0 / 444.6 MB, free: 12.16 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.847e-05/0.5847, allocations: 8 kB / 444.6 MB, free: 12.15 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001586/0.5848, allocations: 57.66 kB / 444.7 MB, free: 12.09 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.291e-05/0.5848, allocations: 0 / 444.7 MB, free: 12.09 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/0.5849, allocations: 0 / 444.7 MB, free: 12.09 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.048e-05/0.5849, allocations: 7.953 kB / 444.7 MB, free: 12.08 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.972e-05/0.585, allocations: 20 kB / 444.7 MB, free: 12.06 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005116/0.5855, allocations: 292.7 kB / 445 MB, free: 11.73 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001297/0.5857, allocations: 46.56 kB / 445 MB, free: 11.67 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.481e-05/0.5857, allocations: 17.83 kB / 445 MB, free: 11.65 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.278e-05/0.5858, allocations: 7.953 kB / 445 MB, free: 11.64 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.991e-05/0.5858, allocations: 34.56 kB / 445.1 MB, free: 11.6 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.934e-06/0.5858, allocations: 0 / 445.1 MB, free: 11.6 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006631/0.5865, allocations: 141.2 kB / 445.2 MB, free: 11.46 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.029e-05/0.5866, allocations: 51.41 kB / 445.3 MB, free: 11.39 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000177/0.5867, allocations: 134.2 kB / 445.4 MB, free: 11.26 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.548e-05/0.5868, allocations: 25.7 kB / 445.4 MB, free: 11.23 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.217e-05/0.5869, allocations: 170.8 kB / 445.6 MB, free: 11.05 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.451e-05/0.5869, allocations: 24.12 kB / 445.6 MB, free: 11.03 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.829e-06/0.5869, allocations: 4 kB / 445.6 MB, free: 11.03 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001394/0.5871, allocations: 314.8 kB / 445.9 MB, free: 10.71 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.641e-05/0.5872, allocations: 20 kB / 445.9 MB, free: 10.69 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.267e-05/0.5872, allocations: 24.97 kB / 446 MB, free: 10.67 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.248e-05/0.5874, allocations: 43.2 kB / 446 MB, free: 10.62 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.5874, allocations: 0 / 446 MB, free: 10.62 MB / 378.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002483/0.5876, allocations: 116.9 kB / 446.1 MB, free: 10.5 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.121e-05/0.5877, allocations: 33.64 kB / 446.2 MB, free: 10.46 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/0.5877, allocations: 4 kB / 446.2 MB, free: 10.45 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.708e-05/0.5877, allocations: 4 kB / 446.2 MB, free: 10.45 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001911/0.5879, allocations: 19.98 kB / 446.2 MB, free: 10.43 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.567e-06/0.588, allocations: 1.172 kB / 446.2 MB, free: 10.43 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.996e-05/0.588, allocations: 8 kB / 446.2 MB, free: 10.42 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.625e-05/0.5881, allocations: 4 kB / 446.2 MB, free: 10.42 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 (9): * Single equations (assignments): 8 * 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.346e-05/0.5882, allocations: 101.9 kB / 446.3 MB, free: 10.31 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.032e-05/0.5882, allocations: 19.84 kB / 446.3 MB, free: 10.29 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003084/0.5886, allocations: 110.1 kB / 446.4 MB, free: 10.18 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.323e-06/0.5886, allocations: 4 kB / 446.4 MB, free: 10.17 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.5886, allocations: 0 / 446.4 MB, free: 10.17 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/0.5886, allocations: 3.984 kB / 446.4 MB, free: 10.17 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005889/0.5892, allocations: 366.5 kB / 446.8 MB, free: 9.754 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.968e-06/0.5892, allocations: 0.875 kB / 446.8 MB, free: 9.754 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001585/0.5894, allocations: 27.92 kB / 446.8 MB, free: 9.727 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.054e-06/0.5894, allocations: 4 kB / 446.8 MB, free: 9.723 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.352e-05/0.5894, allocations: 4.844 kB / 446.8 MB, free: 9.719 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.5895, allocations: 0 / 446.8 MB, free: 9.719 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.5895, allocations: 0 / 446.8 MB, free: 9.719 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002496/0.5898, allocations: 175.4 kB / 447 MB, free: 9.531 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.221e-05/0.5898, allocations: 91.58 kB / 447.1 MB, free: 9.426 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.437e-05/0.5899, allocations: 11.92 kB / 447.1 MB, free: 9.414 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001118/0.59, allocations: 4 kB / 447.1 MB, free: 9.41 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.52e-05/0.5901, allocations: 7.984 kB / 447.1 MB, free: 9.402 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.235e-05/0.5901, allocations: 4 kB / 447.1 MB, free: 9.398 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001286/0.5902, allocations: 111.3 kB / 447.2 MB, free: 9.293 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.5902, allocations: 4 kB / 447.2 MB, free: 9.289 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003482/0.5906, allocations: 16 kB / 447.2 MB, free: 9.273 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 (8): * Single equations (assignments): 8 * 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.001806/0.5924, allocations: 0.8939 MB / 448.1 MB, free: 8.414 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004527/0.5929, allocations: 107.4 kB / 448.2 MB, free: 8.297 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.56e-06/0.593, allocations: 3.938 kB / 448.2 MB, free: 8.293 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001374/0.5931, allocations: 27.98 kB / 448.3 MB, free: 8.266 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004781/0.5936, allocations: 11.94 kB / 448.3 MB, free: 8.254 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001189/0.5948, allocations: 205.8 kB / 448.5 MB, free: 8.012 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00057/0.5955, allocations: 0.6965 MB / 449.2 MB, free: 7.289 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001705/0.5957, allocations: 27.44 kB / 449.2 MB, free: 7.262 MB / 378.7 MB Notification: Performance of SimCode: time 1.684e-06/0.5957, allocations: 0 / 449.2 MB, free: 7.262 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_Test29CalcHelperMain.o OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test29CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test29CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test29FMU.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_Test29.so OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test29CalcHelperMain.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_Test29_FMU.makefile:93: recipe for target 'ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test29.fmu' failed make: *** [ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test29.fmu] Error 1