Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test9,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test9",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.437/2.437, allocations: 235 MB / 247.6 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.142e-05/4.153e-05, allocations: 8 kB / 305 MB, free: 5.566 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4008/0.4008, allocations: 54.85 MB / 359.9 MB, free: 2.312 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1548/0.5557, allocations: 80.72 MB / 440.6 MB, free: 184 kB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002737/0.556, allocations: 80.98 kB / 440.7 MB, free: 104 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01911/0.5751, allocations: 5.246 MB / 445.9 MB, free: 10.87 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.5752, allocations: 0 / 445.9 MB, free: 10.87 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.049e-05/0.5752, allocations: 4 kB / 445.9 MB, free: 10.87 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.0007999/0.576, allocations: 0.5693 MB / 446.5 MB, free: 10.25 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.849e-05/0.5761, allocations: 8.031 kB / 446.5 MB, free: 10.24 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.282e-05/0.5762, allocations: 35.25 kB / 446.5 MB, free: 10.2 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.547e-05/0.5763, allocations: 39.44 kB / 446.6 MB, free: 10.16 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006428/0.5769, allocations: 319.4 kB / 446.9 MB, free: 9.801 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.2e-05/0.5769, allocations: 0 / 446.9 MB, free: 9.801 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.524e-05/0.577, allocations: 4 kB / 446.9 MB, free: 9.797 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001389/0.5771, allocations: 48.25 kB / 446.9 MB, free: 9.746 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.5771, allocations: 7.125 kB / 446.9 MB, free: 9.742 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.06e-05/0.5772, allocations: 0 / 446.9 MB, free: 9.742 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.027e-06/0.5772, allocations: 0 / 446.9 MB, free: 9.742 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.014e-05/0.5773, allocations: 19.94 kB / 447 MB, free: 9.723 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007671/0.578, allocations: 408.9 kB / 447.4 MB, free: 9.273 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001024/0.5782, allocations: 38.52 kB / 447.4 MB, free: 9.227 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.278e-05/0.5782, allocations: 12.86 kB / 447.4 MB, free: 9.211 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.231e-05/0.5783, allocations: 4 kB / 447.4 MB, free: 9.207 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.931e-05/0.5783, allocations: 33.19 kB / 447.4 MB, free: 9.168 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 2.164e-06/0.5783, allocations: 0 / 447.4 MB, free: 9.168 MB / 378.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002776/0.5786, allocations: 89.16 kB / 447.5 MB, free: 9.074 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.216e-05/0.5786, allocations: 51.41 kB / 447.6 MB, free: 9.012 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001858/0.5805, allocations: 0.7654 MB / 448.3 MB, free: 8.242 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.008e-05/0.5806, allocations: 29.7 kB / 448.4 MB, free: 8.207 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002167/0.5808, allocations: 226.6 kB / 448.6 MB, free: 7.984 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.989e-05/0.5808, allocations: 11.84 kB / 448.6 MB, free: 7.973 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.31e-06/0.5809, allocations: 0 / 448.6 MB, free: 7.973 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001484/0.581, allocations: 314.8 kB / 448.9 MB, free: 7.656 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.91e-05/0.5811, allocations: 4 kB / 448.9 MB, free: 7.652 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.6e-05/0.5811, allocations: 12 kB / 448.9 MB, free: 7.641 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.574e-05/0.5812, allocations: 37.69 kB / 449 MB, free: 7.598 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.5812, allocations: 0 / 449 MB, free: 7.598 MB / 378.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001673/0.5814, allocations: 83.34 kB / 449 MB, free: 7.504 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.343e-05/0.5814, allocations: 35.36 kB / 449.1 MB, free: 7.465 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/0.5815, allocations: 0 / 449.1 MB, free: 7.465 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.5815, allocations: 0 / 449.1 MB, free: 7.465 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001482/0.5816, allocations: 12 kB / 449.1 MB, free: 7.453 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.016e-05/0.5817, allocations: 3.984 kB / 449.1 MB, free: 7.449 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001272/0.5818, allocations: 11.91 kB / 449.1 MB, free: 7.438 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.512e-05/0.5818, allocations: 7.938 kB / 449.1 MB, free: 7.43 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 (4): * Single equations (assignments): 3 * 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.58e-05/0.5819, allocations: 105 kB / 449.2 MB, free: 7.32 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001218/0.5821, allocations: 43.48 kB / 449.3 MB, free: 7.277 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000237/0.5823, allocations: 97.08 kB / 449.4 MB, free: 7.168 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.055e-05/0.5823, allocations: 4 kB / 449.4 MB, free: 7.164 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.5823, allocations: 48 / 449.4 MB, free: 7.164 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.451e-06/0.5824, allocations: 3.984 kB / 449.4 MB, free: 7.16 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004742/0.5828, allocations: 322.5 kB / 449.7 MB, free: 6.797 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.5829, allocations: 0 / 449.7 MB, free: 6.797 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.579e-05/0.583, allocations: 16.75 kB / 449.7 MB, free: 6.781 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.583, allocations: 0 / 449.7 MB, free: 6.781 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.41e-05/0.583, allocations: 7.938 kB / 449.7 MB, free: 6.773 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.583, allocations: 4 kB / 449.7 MB, free: 6.77 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.583, allocations: 0 / 449.7 MB, free: 6.77 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002396/0.5833, allocations: 179 kB / 449.9 MB, free: 6.578 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002623/0.5835, allocations: 152.6 kB / 450 MB, free: 6.41 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.987e-05/0.5836, allocations: 4.938 kB / 450 MB, free: 6.406 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000154/0.5838, allocations: 15.94 kB / 450 MB, free: 6.391 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.451e-05/0.5838, allocations: 0.6562 kB / 450 MB, free: 6.391 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.105e-06/0.5839, allocations: 4 kB / 450.1 MB, free: 6.387 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001095/0.585, allocations: 0.6186 MB / 450.7 MB, free: 5.77 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.585, allocations: 0 / 450.7 MB, free: 5.77 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004094/0.5854, allocations: 56 kB / 450.7 MB, free: 5.715 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 (3): * Single equations (assignments): 3 * 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.001116/0.5865, allocations: 0.834 MB / 451.6 MB, free: 4.918 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001701/0.5867, allocations: 75.39 kB / 451.6 MB, free: 4.832 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.5867, allocations: 0 / 451.6 MB, free: 4.832 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.486e-05/0.5868, allocations: 19.94 kB / 451.7 MB, free: 4.812 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003231/0.5871, allocations: 21.98 kB / 451.7 MB, free: 4.793 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001893/0.589, allocations: 0.8244 MB / 452.5 MB, free: 3.93 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005319/0.5896, allocations: 0.8223 MB / 453.3 MB, free: 3.078 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002504/0.5898, allocations: 111.6 kB / 453.4 MB, free: 2.969 MB / 378.7 MB Notification: Performance of SimCode: time 7.92e-07/0.5899, allocations: 0 / 453.4 MB, free: 2.969 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_CombiTable2D_Test9CalcHelperMain.o OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test9CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test9CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test9FMU.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_CombiTable2D_Test9.so OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test9CalcHelperMain.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_CombiTable2D_Test9_FMU.makefile:93: recipe for target 'ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test9.fmu' failed make: *** [ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test9.fmu] Error 1