Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test2,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.416/2.416, allocations: 235 MB / 247.6 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.902e-05/5.908e-05, allocations: 4.938 kB / 305 MB, free: 5.562 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4179/0.418, allocations: 54.85 MB / 359.9 MB, free: 2.699 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1483/0.5664, allocations: 80.86 MB / 440.7 MB, free: 124 kB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002682/0.5667, allocations: 72.73 kB / 440.8 MB, free: 52 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01163/0.5783, allocations: 2.721 MB / 443.5 MB, free: 13.36 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.5784, allocations: 0 / 443.5 MB, free: 13.36 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.34e-05/0.5784, allocations: 4 kB / 443.5 MB, free: 13.35 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.0004807/0.5789, allocations: 388.1 kB / 443.9 MB, free: 12.92 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.895e-05/0.579, allocations: 8.031 kB / 443.9 MB, free: 12.91 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.465e-05/0.579, allocations: 40.19 kB / 443.9 MB, free: 12.87 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.675e-05/0.5791, allocations: 7.953 kB / 444 MB, free: 12.86 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002826/0.5794, allocations: 188.9 kB / 444.1 MB, free: 12.64 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.453e-05/0.5794, allocations: 4 kB / 444.1 MB, free: 12.63 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.473e-05/0.5794, allocations: 4 kB / 444.1 MB, free: 12.63 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001308/0.5796, allocations: 41.69 kB / 444.2 MB, free: 12.58 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.5796, allocations: 0 / 444.2 MB, free: 12.58 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/0.5796, allocations: 3.984 kB / 444.2 MB, free: 12.58 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.003e-05/0.5796, allocations: 7.953 kB / 444.2 MB, free: 12.57 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.581e-05/0.5797, allocations: 12 kB / 444.2 MB, free: 12.56 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004712/0.5802, allocations: 284.8 kB / 444.5 MB, free: 12.23 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000237/0.5805, allocations: 38.56 kB / 444.5 MB, free: 12.18 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.888e-05/0.5805, allocations: 12.86 kB / 444.5 MB, free: 12.17 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.071e-05/0.5805, allocations: 4 kB / 444.5 MB, free: 12.16 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.895e-05/0.5806, allocations: 38.52 kB / 444.6 MB, free: 12.12 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.603e-06/0.5806, allocations: 0.9375 kB / 444.6 MB, free: 12.12 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005176/0.5811, allocations: 111.3 kB / 444.7 MB, free: 12 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.022e-05/0.5812, allocations: 51.41 kB / 444.7 MB, free: 11.94 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000147/0.5813, allocations: 121.1 kB / 444.9 MB, free: 11.81 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.012e-05/0.5814, allocations: 29.7 kB / 444.9 MB, free: 11.78 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.031e-05/0.5815, allocations: 158.6 kB / 445 MB, free: 11.62 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.057e-05/0.5815, allocations: 23.73 kB / 445.1 MB, free: 11.6 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.242e-06/0.5815, allocations: 0 / 445.1 MB, free: 11.6 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001225/0.5816, allocations: 310.8 kB / 445.4 MB, free: 11.29 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.462e-05/0.5817, allocations: 16 kB / 445.4 MB, free: 11.27 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.317e-05/0.5818, allocations: 16.92 kB / 445.4 MB, free: 11.25 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.287e-05/0.5819, allocations: 41.7 kB / 445.4 MB, free: 11.21 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.11e-06/0.5819, allocations: 0 / 445.4 MB, free: 11.21 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001919/0.5821, allocations: 99.27 kB / 445.5 MB, free: 11.1 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.025e-05/0.5821, allocations: 37.64 kB / 445.6 MB, free: 11.05 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.5822, allocations: 8 kB / 445.6 MB, free: 11.05 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.5822, allocations: 0 / 445.6 MB, free: 11.05 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001277/0.5823, allocations: 12 kB / 445.6 MB, free: 11.04 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/0.5823, allocations: 0 / 445.6 MB, free: 11.04 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.378e-05/0.5824, allocations: 11.42 kB / 445.6 MB, free: 11.03 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.38e-05/0.5824, allocations: 6.594 kB / 445.6 MB, free: 11.02 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.162e-05/0.5825, allocations: 105 kB / 445.7 MB, free: 10.91 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.848e-05/0.5826, allocations: 11.91 kB / 445.7 MB, free: 10.9 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002359/0.5828, allocations: 89.64 kB / 445.8 MB, free: 10.8 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.307e-06/0.5829, allocations: 0 / 445.8 MB, free: 10.8 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.5829, allocations: 0 / 445.8 MB, free: 10.8 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.5829, allocations: 1.594 kB / 445.8 MB, free: 10.8 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004925/0.5834, allocations: 326.6 kB / 446.1 MB, free: 10.43 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.5834, allocations: 3.953 kB / 446.1 MB, free: 10.43 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001126/0.5835, allocations: 15.98 kB / 446.2 MB, free: 10.41 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.105e-06/0.5835, allocations: 4 kB / 446.2 MB, free: 10.41 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.276e-05/0.5836, allocations: 4 kB / 446.2 MB, free: 10.4 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.355e-06/0.5836, allocations: 0 / 446.2 MB, free: 10.4 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/0.5836, allocations: 3.938 kB / 446.2 MB, free: 10.4 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002048/0.5838, allocations: 159.5 kB / 446.3 MB, free: 10.23 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.564e-05/0.5839, allocations: 96.95 kB / 446.4 MB, free: 10.11 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.023e-05/0.5839, allocations: 0 / 446.4 MB, free: 10.11 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000111/0.584, allocations: 8.875 kB / 446.4 MB, free: 10.11 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.68e-05/0.5841, allocations: 7.984 kB / 446.4 MB, free: 10.1 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.024e-06/0.5841, allocations: 0 / 446.4 MB, free: 10.1 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.47e-05/0.5842, allocations: 99.28 kB / 446.5 MB, free: 10 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.5842, allocations: 0 / 446.5 MB, free: 10 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003319/0.5846, allocations: 19.98 kB / 446.5 MB, free: 9.98 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.001192/0.5858, allocations: 0.8866 MB / 447.4 MB, free: 9.141 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002013/0.586, allocations: 87.41 kB / 447.5 MB, free: 9.043 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.586, allocations: 0 / 447.5 MB, free: 9.043 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.471e-05/0.5861, allocations: 27.86 kB / 447.5 MB, free: 9.016 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002543/0.5863, allocations: 8 kB / 447.6 MB, free: 9.008 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005715/0.5869, allocations: 177.6 kB / 447.7 MB, free: 8.789 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003209/0.5873, allocations: 0.7005 MB / 448.4 MB, free: 8.062 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.671e-05/0.5874, allocations: 19.42 kB / 448.4 MB, free: 8.043 MB / 378.7 MB Notification: Performance of SimCode: time 6.82e-07/0.5874, allocations: 0 / 448.4 MB, free: 8.043 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_Test2CalcHelperMain.o OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test2CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test2CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test2FMU.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_Test2.so OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test2CalcHelperMain.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_Test2_FMU.makefile:93: recipe for target 'ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test2.fmu' failed make: *** [ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test2.fmu] Error 1