Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test28,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test28",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.434/2.434, allocations: 235 MB / 247.6 MB, free: 14.57 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.773e-05/3.785e-05, allocations: 4 kB / 305 MB, free: 5.781 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4141/0.4142, allocations: 54.85 MB / 359.9 MB, free: 2.211 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1605/0.5747, allocations: 80.9 MB / 440.8 MB, free: 28 kB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000363/0.5752, allocations: 71.95 kB / 440.8 MB, free: 15.96 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03772/0.6129, allocations: 3.239 MB / 444.1 MB, free: 12.74 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.205e-06/0.613, allocations: 4 kB / 444.1 MB, free: 12.73 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.93e-05/0.613, allocations: 4 kB / 444.1 MB, free: 12.73 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.0006328/0.6136, allocations: 420.8 kB / 444.5 MB, free: 12.27 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.996e-05/0.6137, allocations: 8.031 kB / 444.5 MB, free: 12.26 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.057e-05/0.6138, allocations: 30.56 kB / 444.5 MB, free: 12.22 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.735e-05/0.6139, allocations: 15.81 kB / 444.5 MB, free: 12.21 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004459/0.6183, allocations: 203.5 kB / 444.7 MB, free: 11.96 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.122e-05/0.6184, allocations: 8 kB / 444.7 MB, free: 11.96 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.815e-05/0.6184, allocations: 7.984 kB / 444.8 MB, free: 11.95 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001623/0.6186, allocations: 38.58 kB / 444.8 MB, free: 11.91 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.448e-05/0.6186, allocations: 0 / 444.8 MB, free: 11.91 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.563e-05/0.6187, allocations: 7.953 kB / 444.8 MB, free: 11.9 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.673e-06/0.6187, allocations: 0.5625 kB / 444.8 MB, free: 11.9 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001036/0.6188, allocations: 15.98 kB / 444.8 MB, free: 11.88 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006943/0.6195, allocations: 296.9 kB / 445.1 MB, free: 11.54 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003034/0.6198, allocations: 46.56 kB / 445.1 MB, free: 11.49 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.689e-05/0.6199, allocations: 12.81 kB / 445.2 MB, free: 11.47 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.144e-05/0.62, allocations: 4 kB / 445.2 MB, free: 11.47 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.288e-05/0.62, allocations: 36.16 kB / 445.2 MB, free: 11.43 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 2.375e-06/0.62, allocations: 0 / 445.2 MB, free: 11.43 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0007293/0.6208, allocations: 128.1 kB / 445.3 MB, free: 11.3 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.812e-05/0.6208, allocations: 51.41 kB / 445.4 MB, free: 11.23 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004813/0.6213, allocations: 209.5 kB / 445.6 MB, free: 11.02 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.6e-05/0.6214, allocations: 25.7 kB / 445.6 MB, free: 10.99 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001357/0.6215, allocations: 174.5 kB / 445.8 MB, free: 10.82 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.243e-05/0.6216, allocations: 11.81 kB / 445.8 MB, free: 10.81 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.236e-06/0.6216, allocations: 0 / 445.8 MB, free: 10.81 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001865/0.6218, allocations: 314.8 kB / 446.1 MB, free: 10.49 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.617e-05/0.6219, allocations: 16 kB / 446.1 MB, free: 10.48 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.595e-05/0.622, allocations: 15.98 kB / 446.1 MB, free: 10.46 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.904e-05/0.6221, allocations: 41.7 kB / 446.2 MB, free: 10.41 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.6221, allocations: 0 / 446.2 MB, free: 10.41 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002879/0.6224, allocations: 111.2 kB / 446.3 MB, free: 10.29 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.511e-05/0.6225, allocations: 29.7 kB / 446.3 MB, free: 10.26 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.6225, allocations: 0 / 446.3 MB, free: 10.26 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.6226, allocations: 0.9375 kB / 446.3 MB, free: 10.26 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001673/0.6228, allocations: 15.98 kB / 446.3 MB, free: 10.24 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/0.6228, allocations: 4 kB / 446.3 MB, free: 10.24 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001126/0.6229, allocations: 8 kB / 446.3 MB, free: 10.23 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.37e-05/0.6229, allocations: 0 / 446.3 MB, free: 10.23 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 0.0001038/0.6231, allocations: 105 kB / 446.4 MB, free: 10.12 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.715e-05/0.6232, allocations: 19.77 kB / 446.5 MB, free: 10.1 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000319/0.6235, allocations: 91.25 kB / 446.5 MB, free: 10 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-06/0.6235, allocations: 0 / 446.5 MB, free: 10 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.725e-06/0.6235, allocations: 4.688 kB / 446.5 MB, free: 10 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.682e-06/0.6236, allocations: 8.547 kB / 446.6 MB, free: 9.992 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007808/0.6244, allocations: 366.9 kB / 446.9 MB, free: 9.578 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.6244, allocations: 0 / 446.9 MB, free: 9.578 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001492/0.6245, allocations: 16 kB / 446.9 MB, free: 9.562 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/0.6246, allocations: 0 / 446.9 MB, free: 9.562 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.198e-05/0.6246, allocations: 0 / 446.9 MB, free: 9.562 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.6246, allocations: 3.938 kB / 446.9 MB, free: 9.559 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.103e-06/0.6246, allocations: 4 kB / 446.9 MB, free: 9.555 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002894/0.6249, allocations: 171.4 kB / 447.1 MB, free: 9.371 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001199/0.6251, allocations: 96.88 kB / 447.2 MB, free: 9.258 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.872e-05/0.6251, allocations: 8 kB / 447.2 MB, free: 9.25 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001827/0.6253, allocations: 7.984 kB / 447.2 MB, free: 9.242 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.135e-05/0.6254, allocations: 4 kB / 447.2 MB, free: 9.238 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.967e-06/0.6254, allocations: 0 / 447.2 MB, free: 9.238 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003298/0.6258, allocations: 172.7 kB / 447.4 MB, free: 9.07 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.51e-07/0.6258, allocations: 4 kB / 447.4 MB, free: 9.066 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.008635/0.6344, allocations: 20 kB / 447.4 MB, free: 9.047 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.00179/0.6363, allocations: 0.8815 MB / 448.3 MB, free: 8.207 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000286/0.6366, allocations: 91.39 kB / 448.4 MB, free: 8.105 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.6366, allocations: 0 / 448.4 MB, free: 8.105 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.782e-05/0.6367, allocations: 27.88 kB / 448.4 MB, free: 8.078 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004047/0.6371, allocations: 12.48 kB / 448.4 MB, free: 8.066 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001153/0.6383, allocations: 265.9 kB / 448.7 MB, free: 7.762 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004645/0.6388, allocations: 0.7121 MB / 449.4 MB, free: 7.023 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001393/0.6389, allocations: 35.42 kB / 449.4 MB, free: 6.992 MB / 378.7 MB Notification: Performance of SimCode: time 1.412e-06/0.639, allocations: 0 / 449.4 MB, free: 6.992 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_Test28CalcHelperMain.o OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test28CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test28CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test28FMU.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_Test28.so OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test28CalcHelperMain.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_Test28_FMU.makefile:93: recipe for target 'ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test28.fmu' failed make: *** [ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test28.fmu] Error 1