Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test5,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test5",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.368/2.368, allocations: 235 MB / 247.6 MB, free: 14.37 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.379e-05/4.383e-05, allocations: 12.92 kB / 305 MB, free: 5.566 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3766/0.3767, allocations: 54.85 MB / 359.9 MB, free: 2.715 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1476/0.5243, allocations: 80.91 MB / 440.8 MB, free: 92 kB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002293/0.5246, allocations: 71.97 kB / 440.8 MB, free: 20 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01273/0.5373, allocations: 3.167 MB / 444 MB, free: 12.87 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.5374, allocations: 4 kB / 444 MB, free: 12.87 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.411e-05/0.5374, allocations: 4 kB / 444 MB, free: 12.86 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.0004883/0.5379, allocations: 415.9 kB / 444.4 MB, free: 12.41 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.062e-05/0.538, allocations: 12.02 kB / 444.4 MB, free: 12.39 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.072e-05/0.538, allocations: 34.56 kB / 444.5 MB, free: 12.35 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.422e-05/0.5381, allocations: 11.86 kB / 444.5 MB, free: 12.34 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002856/0.5384, allocations: 192.5 kB / 444.7 MB, free: 12.11 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.765e-06/0.5384, allocations: 0 / 444.7 MB, free: 12.11 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.258e-05/0.5384, allocations: 8 kB / 444.7 MB, free: 12.11 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001212/0.5386, allocations: 45.69 kB / 444.7 MB, free: 12.05 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.5386, allocations: 0 / 444.7 MB, free: 12.05 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.027e-05/0.5386, allocations: 0 / 444.7 MB, free: 12.05 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.727e-06/0.5386, allocations: 3.953 kB / 444.7 MB, free: 12.05 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.105e-05/0.5387, allocations: 19.98 kB / 444.7 MB, free: 12.03 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004803/0.5392, allocations: 296.8 kB / 445 MB, free: 11.69 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002141/0.5394, allocations: 38.56 kB / 445.1 MB, free: 11.64 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.819e-05/0.5395, allocations: 12.86 kB / 445.1 MB, free: 11.63 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.99e-05/0.5395, allocations: 4 kB / 445.1 MB, free: 11.62 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.354e-05/0.5396, allocations: 34.52 kB / 445.1 MB, free: 11.58 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.824e-06/0.5396, allocations: 0.9375 kB / 445.1 MB, free: 11.58 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.000523/0.5401, allocations: 129.2 kB / 445.2 MB, free: 11.45 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.611e-05/0.5402, allocations: 51.41 kB / 445.3 MB, free: 11.39 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000282/0.5404, allocations: 193.3 kB / 445.5 MB, free: 11.19 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.8e-05/0.5405, allocations: 25.7 kB / 445.5 MB, free: 11.16 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.317e-05/0.5406, allocations: 174.5 kB / 445.7 MB, free: 10.99 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.524e-05/0.5406, allocations: 11.75 kB / 445.7 MB, free: 10.98 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.072e-05/0.5406, allocations: 8 kB / 445.7 MB, free: 10.97 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001107/0.5408, allocations: 310.8 kB / 446 MB, free: 10.66 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.479e-05/0.5408, allocations: 19.98 kB / 446 MB, free: 10.64 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.836e-05/0.5409, allocations: 15.62 kB / 446 MB, free: 10.62 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.799e-05/0.541, allocations: 49.62 kB / 446.1 MB, free: 10.57 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.541, allocations: 0 / 446.1 MB, free: 10.57 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001832/0.5412, allocations: 99.33 kB / 446.2 MB, free: 10.46 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.788e-05/0.5412, allocations: 33.66 kB / 446.2 MB, free: 10.42 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.5412, allocations: 0 / 446.2 MB, free: 10.42 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/0.5413, allocations: 4 kB / 446.2 MB, free: 10.42 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000125/0.5414, allocations: 15.98 kB / 446.2 MB, free: 10.4 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.835e-06/0.5414, allocations: 4 kB / 446.2 MB, free: 10.4 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.765e-05/0.5415, allocations: 4 kB / 446.2 MB, free: 10.39 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.306e-05/0.5415, allocations: 4.562 kB / 446.2 MB, free: 10.39 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 7.122e-05/0.5416, allocations: 101 kB / 446.3 MB, free: 10.29 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.928e-05/0.5417, allocations: 11.81 kB / 446.4 MB, free: 10.27 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002288/0.5419, allocations: 91.84 kB / 446.4 MB, free: 10.18 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.002e-06/0.5419, allocations: 3.984 kB / 446.5 MB, free: 10.18 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.542, allocations: 4 kB / 446.5 MB, free: 10.18 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.542, allocations: 5.594 kB / 446.5 MB, free: 10.17 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005513/0.5425, allocations: 351.5 kB / 446.8 MB, free: 9.773 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.691e-06/0.5426, allocations: 3.953 kB / 446.8 MB, free: 9.77 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001139/0.5427, allocations: 20.06 kB / 446.8 MB, free: 9.75 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.5427, allocations: 2.812 kB / 446.8 MB, free: 9.75 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.308e-05/0.5427, allocations: 3.984 kB / 446.8 MB, free: 9.746 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.5427, allocations: 0 / 446.8 MB, free: 9.746 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.5427, allocations: 4 kB / 446.8 MB, free: 9.742 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002087/0.543, allocations: 167.5 kB / 447 MB, free: 9.562 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.3e-05/0.5431, allocations: 100.9 kB / 447.1 MB, free: 9.445 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.489e-05/0.5431, allocations: 0 / 447.1 MB, free: 9.445 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001135/0.5432, allocations: 8 kB / 447.1 MB, free: 9.438 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.294e-05/0.5433, allocations: 3.984 kB / 447.1 MB, free: 9.434 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.298e-05/0.5433, allocations: 8 kB / 447.1 MB, free: 9.426 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002/0.5435, allocations: 157.4 kB / 447.3 MB, free: 9.273 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.5435, allocations: 0 / 447.3 MB, free: 9.273 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003487/0.5439, allocations: 20 kB / 447.3 MB, free: 9.254 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.001158/0.545, allocations: 0.8804 MB / 448.2 MB, free: 8.418 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001974/0.5453, allocations: 87.41 kB / 448.3 MB, free: 8.32 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.5453, allocations: 4 kB / 448.3 MB, free: 8.316 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.742e-05/0.5454, allocations: 23.88 kB / 448.3 MB, free: 8.293 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002511/0.5456, allocations: 15.92 kB / 448.3 MB, free: 8.277 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007297/0.5464, allocations: 252.5 kB / 448.5 MB, free: 7.988 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003127/0.5467, allocations: 0.7121 MB / 449.3 MB, free: 7.25 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.418e-05/0.5468, allocations: 27.42 kB / 449.3 MB, free: 7.223 MB / 378.7 MB Notification: Performance of SimCode: time 6.61e-07/0.5468, allocations: 0 / 449.3 MB, free: 7.223 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_Test5CalcHelperMain.o OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test5CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test5CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test5FMU.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_Test5.so OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test5CalcHelperMain.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_Test5_FMU.makefile:93: recipe for target 'ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test5.fmu' failed make: *** [ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test5.fmu] Error 1