Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test4,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test4",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.364/2.364, allocations: 235 MB / 247.6 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.894e-05/4.897e-05, allocations: 4 kB / 305 MB, free: 5.57 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5304/0.5305, allocations: 54.86 MB / 359.9 MB, free: 2.711 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1482/0.6788, allocations: 81.01 MB / 440.9 MB, free: 15.97 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002713/0.6792, allocations: 67.97 kB / 440.9 MB, free: 15.91 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01501/0.6942, allocations: 3.441 MB / 444.4 MB, free: 12.49 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.6942, allocations: 0 / 444.4 MB, free: 12.49 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.486e-05/0.6943, allocations: 0 / 444.4 MB, free: 12.49 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.0005541/0.6948, allocations: 431.8 kB / 444.8 MB, free: 12.02 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.728e-05/0.6949, allocations: 8.031 kB / 444.8 MB, free: 12.01 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.759e-05/0.695, allocations: 38.56 kB / 444.8 MB, free: 11.96 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.963e-05/0.695, allocations: 19.77 kB / 444.9 MB, free: 11.94 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003032/0.6953, allocations: 198.9 kB / 445.1 MB, free: 11.71 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.601e-05/0.6954, allocations: 4 kB / 445.1 MB, free: 11.7 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.782e-05/0.6954, allocations: 8 kB / 445.1 MB, free: 11.7 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000194/0.6956, allocations: 71.33 kB / 445.1 MB, free: 11.61 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.43e-05/0.6956, allocations: 0 / 445.1 MB, free: 11.61 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.9e-05/0.6957, allocations: 4 kB / 445.1 MB, free: 11.61 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/0.6957, allocations: 7.953 kB / 445.2 MB, free: 11.6 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001123/0.6958, allocations: 24 kB / 445.2 MB, free: 11.58 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000719/0.6966, allocations: 401.9 kB / 445.6 MB, free: 11.13 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003721/0.697, allocations: 85.14 kB / 445.7 MB, free: 11.03 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.622e-05/0.6971, allocations: 25.89 kB / 445.7 MB, free: 11 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.322e-05/0.6971, allocations: 11.94 kB / 445.7 MB, free: 10.99 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.485e-05/0.6972, allocations: 37 kB / 445.7 MB, free: 10.95 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.905e-06/0.6972, allocations: 0 / 445.7 MB, free: 10.95 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0009026/0.6981, allocations: 200.9 kB / 445.9 MB, free: 10.74 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.501e-05/0.6982, allocations: 77.11 kB / 446 MB, free: 10.65 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003349/0.6985, allocations: 194.5 kB / 446.2 MB, free: 10.45 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.829e-05/0.6986, allocations: 29.7 kB / 446.2 MB, free: 10.41 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.896e-05/0.6987, allocations: 171.4 kB / 446.4 MB, free: 10.24 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.571e-05/0.6987, allocations: 31.56 kB / 446.4 MB, free: 10.21 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.175e-06/0.6988, allocations: 0 / 446.4 MB, free: 10.21 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001371/0.6989, allocations: 322.8 kB / 446.7 MB, free: 9.887 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.84e-05/0.699, allocations: 20 kB / 446.7 MB, free: 9.867 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.598e-05/0.6991, allocations: 37.89 kB / 446.8 MB, free: 9.832 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001153/0.6992, allocations: 53.69 kB / 446.8 MB, free: 9.773 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.6993, allocations: 4 kB / 446.8 MB, free: 9.77 MB / 378.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003144/0.6996, allocations: 135.2 kB / 447 MB, free: 9.625 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.762e-05/0.6996, allocations: 33.7 kB / 447 MB, free: 9.586 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.114e-05/0.6997, allocations: 0.5625 kB / 447 MB, free: 9.586 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.6997, allocations: 0 / 447 MB, free: 9.586 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002125/0.6999, allocations: 23.98 kB / 447 MB, free: 9.562 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.857e-06/0.7, allocations: 4 kB / 447 MB, free: 9.559 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001019/0.7001, allocations: 8.172 kB / 447 MB, free: 9.551 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.715e-05/0.7001, allocations: 4 kB / 447 MB, free: 9.547 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 9.535e-05/0.7002, allocations: 110.5 kB / 447.2 MB, free: 9.434 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.658e-05/0.7003, allocations: 15.86 kB / 447.2 MB, free: 9.418 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004122/0.7007, allocations: 130.6 kB / 447.3 MB, free: 9.285 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.7007, allocations: 7.938 kB / 447.3 MB, free: 9.277 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.856e-06/0.7008, allocations: 4.859 kB / 447.3 MB, free: 9.273 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.7008, allocations: 0 / 447.3 MB, free: 9.273 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009222/0.7017, allocations: 0.5024 MB / 447.8 MB, free: 8.711 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.02e-06/0.7017, allocations: 2.812 kB / 447.8 MB, free: 8.711 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001806/0.7019, allocations: 23.98 kB / 447.8 MB, free: 8.688 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.762e-06/0.7019, allocations: 4.031 kB / 447.8 MB, free: 8.684 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.89e-05/0.702, allocations: 8 kB / 447.8 MB, free: 8.676 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.138e-06/0.702, allocations: 0 / 447.8 MB, free: 8.676 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.651e-06/0.702, allocations: 6.328 kB / 447.9 MB, free: 8.672 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003746/0.7024, allocations: 315.8 kB / 448.2 MB, free: 8.332 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.319e-05/0.7025, allocations: 93.02 kB / 448.3 MB, free: 8.223 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.166e-05/0.7025, allocations: 4 kB / 448.3 MB, free: 8.219 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001733/0.7027, allocations: 7.984 kB / 448.3 MB, free: 8.211 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.14e-05/0.7028, allocations: 19.88 kB / 448.3 MB, free: 8.191 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.373e-05/0.7028, allocations: 4 kB / 448.3 MB, free: 8.188 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002306/0.703, allocations: 156 kB / 448.4 MB, free: 8.035 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.136e-06/0.7031, allocations: 4 kB / 448.4 MB, free: 8.031 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004314/0.7035, allocations: 28.5 kB / 448.5 MB, free: 8.004 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.001429/0.705, allocations: 1.164 MB / 449.6 MB, free: 6.871 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003074/0.7053, allocations: 127.3 kB / 449.8 MB, free: 6.734 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.7053, allocations: 0 / 449.8 MB, free: 6.734 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001133/0.7054, allocations: 39.92 kB / 449.8 MB, free: 6.695 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003439/0.7058, allocations: 8 kB / 449.8 MB, free: 6.688 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009444/0.7068, allocations: 299.7 kB / 450.1 MB, free: 6.352 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003699/0.7071, allocations: 0.7316 MB / 450.8 MB, free: 5.594 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001173/0.7073, allocations: 35.42 kB / 450.9 MB, free: 5.559 MB / 378.7 MB Notification: Performance of SimCode: time 1.052e-06/0.7073, allocations: 0 / 450.9 MB, free: 5.559 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_Test4CalcHelperMain.o OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test4CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test4CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test4FMU.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_Test4.so OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test4CalcHelperMain.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_Test4_FMU.makefile:93: recipe for target 'ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test4.fmu' failed make: *** [ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test4.fmu] Error 1