Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test11,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test11",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.526/2.526, allocations: 235 MB / 247.6 MB, free: 14.37 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.986e-05/3.997e-05, allocations: 4 kB / 305 MB, free: 5.562 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4175/0.4176, allocations: 54.85 MB / 359.9 MB, free: 2.316 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1731/0.5908, allocations: 80.86 MB / 440.7 MB, free: 28 kB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002779/0.5911, allocations: 73.05 kB / 440.8 MB, free: 15.96 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01236/0.6035, allocations: 2.782 MB / 443.6 MB, free: 13.2 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.6035, allocations: 4 kB / 443.6 MB, free: 13.2 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.184e-05/0.6036, allocations: 0 / 443.6 MB, free: 13.2 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.0004739/0.604, allocations: 400.6 kB / 444 MB, free: 12.75 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.009e-05/0.6041, allocations: 8.031 kB / 444 MB, free: 12.75 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.277e-05/0.6042, allocations: 34.5 kB / 444 MB, free: 12.7 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.294e-05/0.6042, allocations: 15.86 kB / 444 MB, free: 12.69 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002449/0.6045, allocations: 179.8 kB / 444.2 MB, free: 12.47 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.37e-05/0.6045, allocations: 4 kB / 444.2 MB, free: 12.47 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.522e-05/0.6045, allocations: 12.55 kB / 444.2 MB, free: 12.46 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001232/0.6047, allocations: 41.69 kB / 444.3 MB, free: 12.41 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.456e-05/0.6047, allocations: 3.938 kB / 444.3 MB, free: 12.41 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.035e-05/0.6047, allocations: 0 / 444.3 MB, free: 12.41 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.194e-06/0.6047, allocations: 3.953 kB / 444.3 MB, free: 12.4 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.665e-05/0.6048, allocations: 12 kB / 444.3 MB, free: 12.39 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000432/0.6053, allocations: 275.4 kB / 444.5 MB, free: 12.07 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002269/0.6055, allocations: 42.56 kB / 444.6 MB, free: 12.02 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.877e-05/0.6056, allocations: 14.86 kB / 444.6 MB, free: 12.01 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.903e-05/0.6056, allocations: 7.984 kB / 444.6 MB, free: 12 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.491e-05/0.6056, allocations: 38.45 kB / 444.6 MB, free: 11.95 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.873e-06/0.6056, allocations: 0 / 444.6 MB, free: 11.95 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005067/0.6062, allocations: 97.58 kB / 444.7 MB, free: 11.85 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.006e-05/0.6062, allocations: 55.41 kB / 444.8 MB, free: 11.79 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001964/0.6064, allocations: 146.8 kB / 444.9 MB, free: 11.63 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.989e-05/0.6065, allocations: 25.7 kB / 445 MB, free: 11.6 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.148e-05/0.6066, allocations: 166.4 kB / 445.1 MB, free: 11.44 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.327e-05/0.6066, allocations: 15.8 kB / 445.1 MB, free: 11.42 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.711e-06/0.6066, allocations: 0 / 445.1 MB, free: 11.42 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001213/0.6067, allocations: 314.8 kB / 445.4 MB, free: 11.11 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.785e-05/0.6068, allocations: 12 kB / 445.5 MB, free: 11.09 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.202e-05/0.6068, allocations: 16 kB / 445.5 MB, free: 11.08 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.642e-05/0.6069, allocations: 41.69 kB / 445.5 MB, free: 11.03 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.6069, allocations: 0 / 445.5 MB, free: 11.03 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001777/0.6071, allocations: 87.41 kB / 445.6 MB, free: 10.93 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.394e-05/0.6072, allocations: 38.42 kB / 445.6 MB, free: 10.89 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-06/0.6072, allocations: 0 / 445.6 MB, free: 10.89 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.6072, allocations: 3.938 kB / 445.6 MB, free: 10.89 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000131/0.6074, allocations: 12.62 kB / 445.7 MB, free: 10.88 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.055e-05/0.6074, allocations: 4 kB / 445.7 MB, free: 10.87 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.281e-05/0.6075, allocations: 11.98 kB / 445.7 MB, free: 10.86 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.101e-05/0.6075, allocations: 0 / 445.7 MB, free: 10.86 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.044e-05/0.6076, allocations: 108.9 kB / 445.8 MB, free: 10.75 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.14e-05/0.6076, allocations: 9.688 kB / 445.8 MB, free: 10.74 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002182/0.6079, allocations: 83.31 kB / 445.9 MB, free: 10.64 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.093e-06/0.6079, allocations: 4 kB / 445.9 MB, free: 10.64 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.6079, allocations: 0 / 445.9 MB, free: 10.64 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.6079, allocations: 0 / 445.9 MB, free: 10.64 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004722/0.6084, allocations: 330.5 kB / 446.2 MB, free: 10.26 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/0.6084, allocations: 3.953 kB / 446.2 MB, free: 10.26 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000111/0.6086, allocations: 12 kB / 446.2 MB, free: 10.25 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.027e-06/0.6086, allocations: 0 / 446.2 MB, free: 10.25 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.429e-05/0.6086, allocations: 10.61 kB / 446.2 MB, free: 10.24 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.6086, allocations: 0 / 446.2 MB, free: 10.24 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.6086, allocations: 0 / 446.2 MB, free: 10.24 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001943/0.6088, allocations: 163.5 kB / 446.4 MB, free: 10.06 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.986e-05/0.6089, allocations: 88.97 kB / 446.5 MB, free: 9.957 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.27e-05/0.6089, allocations: 0 / 446.5 MB, free: 9.957 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001135/0.6091, allocations: 8 kB / 446.5 MB, free: 9.949 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.907e-05/0.6091, allocations: 7.984 kB / 446.5 MB, free: 9.941 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.719e-06/0.6091, allocations: 0 / 446.5 MB, free: 9.941 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001498/0.6093, allocations: 120.9 kB / 446.6 MB, free: 9.824 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.91e-07/0.6093, allocations: 5.406 kB / 446.6 MB, free: 9.82 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003337/0.6097, allocations: 23.94 kB / 446.6 MB, free: 9.797 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.001176/0.6108, allocations: 0.8707 MB / 447.5 MB, free: 8.973 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002039/0.6111, allocations: 87.34 kB / 447.6 MB, free: 8.875 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.6111, allocations: 0 / 447.6 MB, free: 8.875 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.306e-05/0.6112, allocations: 19.98 kB / 447.6 MB, free: 8.855 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000265/0.6114, allocations: 11.05 kB / 447.6 MB, free: 8.848 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00063/0.6121, allocations: 197.4 kB / 447.8 MB, free: 8.613 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002957/0.6124, allocations: 0.7004 MB / 448.5 MB, free: 7.887 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.436e-05/0.6125, allocations: 19.44 kB / 448.5 MB, free: 7.871 MB / 378.7 MB Notification: Performance of SimCode: time 7.32e-07/0.6125, allocations: 0 / 448.5 MB, free: 7.871 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_Test11CalcHelperMain.o OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test11CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test11CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test11FMU.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_Test11.so OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test11CalcHelperMain.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_Test11_FMU.makefile:93: recipe for target 'ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test11.fmu' failed make: *** [ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test11.fmu] Error 1