Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test12,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test12",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.453/2.453, allocations: 235 MB / 247.6 MB, free: 14.39 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.894e-05/3.894e-05, allocations: 7.984 kB / 305 MB, free: 5.559 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4162/0.4163, allocations: 54.86 MB / 359.9 MB, free: 2.699 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1505/0.5668, allocations: 80.86 MB / 440.7 MB, free: 112 kB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002562/0.5671, allocations: 68.75 kB / 440.8 MB, free: 44 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01169/0.5788, allocations: 2.807 MB / 443.6 MB, free: 13.26 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.5789, allocations: 0 / 443.6 MB, free: 13.26 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.231e-05/0.5789, allocations: 0 / 443.6 MB, free: 13.26 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.0004722/0.5794, allocations: 396 kB / 444 MB, free: 12.82 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.739e-05/0.5794, allocations: 12.03 kB / 444 MB, free: 12.81 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.805e-05/0.5795, allocations: 34.5 kB / 444 MB, free: 12.77 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.54e-05/0.5796, allocations: 14.17 kB / 444 MB, free: 12.76 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002686/0.5798, allocations: 187.8 kB / 444.2 MB, free: 12.54 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.147e-05/0.5799, allocations: 0 / 444.2 MB, free: 12.54 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.309e-05/0.5799, allocations: 8 kB / 444.2 MB, free: 12.53 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000129/0.58, allocations: 41.69 kB / 444.3 MB, free: 12.48 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.5801, allocations: 0 / 444.3 MB, free: 12.48 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.888e-06/0.5801, allocations: 0 / 444.3 MB, free: 12.48 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.056e-05/0.5801, allocations: 7.953 kB / 444.3 MB, free: 12.47 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.926e-05/0.5802, allocations: 19.94 kB / 444.3 MB, free: 12.45 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004749/0.5807, allocations: 280.9 kB / 444.6 MB, free: 12.13 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002204/0.5809, allocations: 42.56 kB / 444.6 MB, free: 12.08 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.63e-05/0.581, allocations: 8.859 kB / 444.6 MB, free: 12.07 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.891e-05/0.581, allocations: 7.984 kB / 444.6 MB, free: 12.06 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.149e-05/0.581, allocations: 42.59 kB / 444.7 MB, free: 12.01 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.794e-06/0.581, allocations: 3.938 kB / 444.7 MB, free: 12 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005098/0.5816, allocations: 101.5 kB / 444.8 MB, free: 11.9 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.336e-05/0.5816, allocations: 55.39 kB / 444.8 MB, free: 11.83 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001986/0.5818, allocations: 146.8 kB / 445 MB, free: 11.68 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.097e-05/0.5819, allocations: 26.36 kB / 445 MB, free: 11.65 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.102e-05/0.582, allocations: 162.5 kB / 445.2 MB, free: 11.49 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.956e-05/0.582, allocations: 23.78 kB / 445.2 MB, free: 11.46 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.251e-06/0.582, allocations: 0 / 445.2 MB, free: 11.46 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000136/0.5822, allocations: 310.8 kB / 445.5 MB, free: 11.15 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.635e-05/0.5822, allocations: 15.94 kB / 445.5 MB, free: 11.14 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.055e-05/0.5823, allocations: 20 kB / 445.5 MB, free: 11.12 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.166e-05/0.5824, allocations: 44.03 kB / 445.6 MB, free: 11.07 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.5824, allocations: 0 / 445.6 MB, free: 11.07 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001919/0.5826, allocations: 92.33 kB / 445.7 MB, free: 10.97 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.817e-05/0.5827, allocations: 46.42 kB / 445.7 MB, free: 10.92 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.081e-05/0.5827, allocations: 0 / 445.7 MB, free: 10.92 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.5827, allocations: 3.938 kB / 445.7 MB, free: 10.91 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000123/0.5828, allocations: 12 kB / 445.7 MB, free: 10.9 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.5829, allocations: 0 / 445.7 MB, free: 10.9 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.846e-05/0.5829, allocations: 13.11 kB / 445.7 MB, free: 10.89 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.038e-05/0.583, allocations: 0 / 445.7 MB, free: 10.89 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 8.789e-05/0.5831, allocations: 109 kB / 445.8 MB, free: 10.78 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.942e-05/0.5831, allocations: 11.84 kB / 445.8 MB, free: 10.77 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000241/0.5834, allocations: 91.27 kB / 445.9 MB, free: 10.66 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.5834, allocations: 0 / 445.9 MB, free: 10.66 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.441e-06/0.5834, allocations: 0 / 445.9 MB, free: 10.66 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.5834, allocations: 0 / 445.9 MB, free: 10.66 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004788/0.5839, allocations: 337.8 kB / 446.3 MB, free: 10.28 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.5839, allocations: 7.891 kB / 446.3 MB, free: 10.27 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001107/0.584, allocations: 16 kB / 446.3 MB, free: 10.26 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.005e-06/0.5841, allocations: 0 / 446.3 MB, free: 10.26 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.269e-05/0.5841, allocations: 4 kB / 446.3 MB, free: 10.25 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.321e-06/0.5841, allocations: 7.984 kB / 446.3 MB, free: 10.25 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.5841, allocations: 0 / 446.3 MB, free: 10.25 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002067/0.5843, allocations: 159.5 kB / 446.5 MB, free: 10.07 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.728e-05/0.5844, allocations: 88.97 kB / 446.5 MB, free: 9.969 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.072e-05/0.5844, allocations: 1.219 kB / 446.5 MB, free: 9.969 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001124/0.5846, allocations: 15.98 kB / 446.6 MB, free: 9.953 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.997e-05/0.5846, allocations: 4 kB / 446.6 MB, free: 9.949 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.021e-05/0.5846, allocations: 4 kB / 446.6 MB, free: 9.945 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001321/0.5848, allocations: 121 kB / 446.7 MB, free: 9.828 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.5848, allocations: 0 / 446.7 MB, free: 9.828 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003389/0.5851, allocations: 19.94 kB / 446.7 MB, free: 9.809 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.001291/0.5864, allocations: 0.8857 MB / 447.6 MB, free: 8.969 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001928/0.5866, allocations: 83.41 kB / 447.7 MB, free: 8.875 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.59e-06/0.5867, allocations: 4 kB / 447.7 MB, free: 8.871 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.612e-05/0.5867, allocations: 27.92 kB / 447.7 MB, free: 8.844 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002348/0.587, allocations: 10.98 kB / 447.7 MB, free: 8.836 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000614/0.5876, allocations: 205.4 kB / 447.9 MB, free: 8.594 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003476/0.588, allocations: 0.7004 MB / 448.6 MB, free: 7.867 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.283e-05/0.5881, allocations: 23.44 kB / 448.6 MB, free: 7.848 MB / 378.7 MB Notification: Performance of SimCode: time 7.31e-07/0.5881, allocations: 0 / 448.6 MB, free: 7.848 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_Test12CalcHelperMain.o OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test12CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test12CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test12FMU.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_Test12.so OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test12CalcHelperMain.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_Test12_FMU.makefile:93: recipe for target 'ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test12.fmu' failed make: *** [ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test12.fmu] Error 1