Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test29,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test29",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.436/2.436, allocations: 235 MB / 247.6 MB, free: 14.58 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.007e-05/4.015e-05, allocations: 4 kB / 305 MB, free: 5.773 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4126/0.4127, allocations: 54.85 MB / 359.9 MB, free: 2.219 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2032/0.6159, allocations: 81.01 MB / 440.9 MB, free: 15.9 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002624/0.6162, allocations: 68.75 kB / 440.9 MB, free: 15.83 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01355/0.6298, allocations: 3.138 MB / 444.1 MB, free: 12.72 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.6299, allocations: 0 / 444.1 MB, free: 12.72 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.581e-05/0.6299, allocations: 8 kB / 444.1 MB, free: 12.71 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005367/0.6304, allocations: 404.5 kB / 444.5 MB, free: 12.27 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.837e-05/0.6305, allocations: 12.03 kB / 444.5 MB, free: 12.25 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.342e-05/0.6306, allocations: 33.38 kB / 444.5 MB, free: 12.21 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.608e-05/0.6306, allocations: 11.86 kB / 444.5 MB, free: 12.2 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002659/0.6309, allocations: 187 kB / 444.7 MB, free: 11.98 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.443e-05/0.6309, allocations: 4 kB / 444.7 MB, free: 11.98 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.437e-05/0.631, allocations: 4 kB / 444.7 MB, free: 11.97 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001915/0.6312, allocations: 71.41 kB / 444.8 MB, free: 11.89 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/0.6312, allocations: 4 kB / 444.8 MB, free: 11.89 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.455e-05/0.6312, allocations: 0 / 444.8 MB, free: 11.89 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.236e-06/0.6312, allocations: 7.891 kB / 444.8 MB, free: 11.88 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001059/0.6313, allocations: 27.98 kB / 444.8 MB, free: 11.85 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006352/0.632, allocations: 393 kB / 445.2 MB, free: 11.41 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003444/0.6324, allocations: 81.08 kB / 445.3 MB, free: 11.32 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.684e-05/0.6324, allocations: 29.89 kB / 445.3 MB, free: 11.28 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.852e-05/0.6325, allocations: 0 / 445.3 MB, free: 11.28 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.112e-05/0.6325, allocations: 46.52 kB / 445.4 MB, free: 11.23 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.763e-06/0.6325, allocations: 0 / 445.4 MB, free: 11.23 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0007768/0.6333, allocations: 186 kB / 445.5 MB, free: 11.04 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.817e-05/0.6334, allocations: 77.11 kB / 445.6 MB, free: 10.95 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000196/0.6336, allocations: 142.8 kB / 445.8 MB, free: 10.8 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.366e-05/0.6337, allocations: 25.7 kB / 445.8 MB, free: 10.77 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.203e-05/0.6338, allocations: 158.6 kB / 445.9 MB, free: 10.61 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.529e-05/0.6338, allocations: 31.55 kB / 446 MB, free: 10.58 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.35e-05/0.6338, allocations: 8 kB / 446 MB, free: 10.57 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001684/0.634, allocations: 310.8 kB / 446.3 MB, free: 10.26 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.556e-05/0.6341, allocations: 24 kB / 446.3 MB, free: 10.24 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.24e-05/0.6342, allocations: 29.02 kB / 446.3 MB, free: 10.21 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001374/0.6344, allocations: 59.66 kB / 446.4 MB, free: 10.15 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.6344, allocations: 0 / 446.4 MB, free: 10.15 MB / 378.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003047/0.6347, allocations: 143.1 kB / 446.5 MB, free: 9.996 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.444e-05/0.6348, allocations: 33.7 kB / 446.6 MB, free: 9.957 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.665e-06/0.6348, allocations: 0 / 446.6 MB, free: 9.957 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.765e-05/0.6348, allocations: 0 / 446.6 MB, free: 9.957 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001954/0.635, allocations: 23.98 kB / 446.6 MB, free: 9.934 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.937e-06/0.635, allocations: 0 / 446.6 MB, free: 9.934 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.121e-05/0.6351, allocations: 8.172 kB / 446.6 MB, free: 9.926 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.358e-05/0.6352, allocations: 4 kB / 446.6 MB, free: 9.922 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 (11): * Single equations (assignments): 10 * 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.0001037/0.6353, allocations: 115.4 kB / 446.7 MB, free: 9.805 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.516e-05/0.6353, allocations: 11.86 kB / 446.7 MB, free: 9.793 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000403/0.6358, allocations: 128.5 kB / 446.8 MB, free: 9.66 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.6358, allocations: 0 / 446.8 MB, free: 9.66 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.638e-06/0.6358, allocations: 8 kB / 446.9 MB, free: 9.652 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.6358, allocations: 0 / 446.9 MB, free: 9.652 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008636/0.6367, allocations: 498.4 kB / 447.3 MB, free: 9.105 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.6367, allocations: 0 / 447.3 MB, free: 9.105 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001824/0.6369, allocations: 27.98 kB / 447.4 MB, free: 9.078 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.142e-06/0.6369, allocations: 0 / 447.4 MB, free: 9.078 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.579e-05/0.6369, allocations: 4 kB / 447.4 MB, free: 9.074 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.548e-06/0.637, allocations: 0 / 447.4 MB, free: 9.074 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.564e-06/0.637, allocations: 0 / 447.4 MB, free: 9.074 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003471/0.6373, allocations: 310.9 kB / 447.7 MB, free: 8.738 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.277e-05/0.6374, allocations: 93 kB / 447.8 MB, free: 8.629 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.439e-05/0.6374, allocations: 0 / 447.8 MB, free: 8.629 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001596/0.6376, allocations: 4 kB / 447.8 MB, free: 8.625 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.83e-05/0.6377, allocations: 11.98 kB / 447.8 MB, free: 8.613 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.276e-05/0.6377, allocations: 11.95 kB / 447.8 MB, free: 8.602 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001156/0.6378, allocations: 110.1 kB / 447.9 MB, free: 8.496 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.6378, allocations: 1.406 kB / 447.9 MB, free: 8.496 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004072/0.6383, allocations: 31.88 kB / 447.9 MB, free: 8.465 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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.001382/0.6397, allocations: 1.145 MB / 449.1 MB, free: 7.344 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000277/0.6399, allocations: 119.4 kB / 449.2 MB, free: 7.215 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.93e-06/0.64, allocations: 0 / 449.2 MB, free: 7.215 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001072/0.6401, allocations: 39.92 kB / 449.2 MB, free: 7.176 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003163/0.6404, allocations: 11.95 kB / 449.2 MB, free: 7.164 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007477/0.6412, allocations: 247.6 kB / 449.5 MB, free: 6.871 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003209/0.6415, allocations: 0.7004 MB / 450.2 MB, free: 6.145 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.68e-05/0.6416, allocations: 27.42 kB / 450.2 MB, free: 6.121 MB / 378.7 MB Notification: Performance of SimCode: time 8.02e-07/0.6416, allocations: 3.938 kB / 450.2 MB, free: 6.117 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_CombiTable1D_Test29CalcHelperMain.o OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test29CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test29CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_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_CombiTable1D_Test29.so OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_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_CombiTable1D_Test29_FMU.makefile:93: recipe for target 'ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test29.fmu' failed make: *** [ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test29.fmu] Error 1