Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test32,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test32",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.347/2.347, allocations: 235 MB / 247.6 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.31e-05/5.305e-05, allocations: 8 kB / 305 MB, free: 5.562 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4094/0.4095, allocations: 54.85 MB / 359.9 MB, free: 2.715 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1542/0.5638, allocations: 80.9 MB / 440.8 MB, free: 92 kB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002843/0.5642, allocations: 67.97 kB / 440.8 MB, free: 24 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01342/0.5776, allocations: 3.223 MB / 444 MB, free: 12.82 MB / 378.7 MB Notification: Performance of FrontEnd: time 4.017e-06/0.5776, allocations: 0 / 444 MB, free: 12.82 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.52e-05/0.5777, allocations: 7.938 kB / 444.1 MB, free: 12.82 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.0005126/0.5782, allocations: 412 kB / 444.5 MB, free: 12.36 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.733e-05/0.5782, allocations: 8.031 kB / 444.5 MB, free: 12.36 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.215e-05/0.5783, allocations: 34.56 kB / 444.5 MB, free: 12.31 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.328e-05/0.5784, allocations: 18.88 kB / 444.5 MB, free: 12.3 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000293/0.5787, allocations: 199.6 kB / 444.7 MB, free: 12.06 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.4e-05/0.5787, allocations: 4 kB / 444.7 MB, free: 12.05 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.932e-05/0.5787, allocations: 0 / 444.7 MB, free: 12.05 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001317/0.5789, allocations: 49.62 kB / 444.8 MB, free: 12 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.34e-05/0.5789, allocations: 3.953 kB / 444.8 MB, free: 12 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.799e-06/0.5789, allocations: 0 / 444.8 MB, free: 12 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.245e-05/0.579, allocations: 7.984 kB / 444.8 MB, free: 11.99 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.189e-05/0.579, allocations: 12 kB / 444.8 MB, free: 11.98 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004455/0.5795, allocations: 289 kB / 445.1 MB, free: 11.64 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002193/0.5797, allocations: 39.09 kB / 445.1 MB, free: 11.6 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.999e-05/0.5798, allocations: 16.8 kB / 445.1 MB, free: 11.58 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.978e-05/0.5798, allocations: 0 / 445.1 MB, free: 11.58 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.854e-05/0.5798, allocations: 34.56 kB / 445.2 MB, free: 11.54 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.663e-06/0.5799, allocations: 0 / 445.2 MB, free: 11.54 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005307/0.5804, allocations: 113.3 kB / 445.3 MB, free: 11.42 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.379e-05/0.5805, allocations: 60.19 kB / 445.3 MB, free: 11.35 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003285/0.5808, allocations: 209.4 kB / 445.5 MB, free: 11.14 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.34e-05/0.5808, allocations: 25.7 kB / 445.6 MB, free: 11.11 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001022/0.5809, allocations: 170.5 kB / 445.7 MB, free: 10.94 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.418e-05/0.581, allocations: 11.8 kB / 445.7 MB, free: 10.93 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.392e-06/0.581, allocations: 8 kB / 445.7 MB, free: 10.92 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001718/0.5812, allocations: 314.8 kB / 446.1 MB, free: 10.6 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.854e-05/0.5813, allocations: 12 kB / 446.1 MB, free: 10.59 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.949e-05/0.5813, allocations: 8 kB / 446.1 MB, free: 10.58 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.396e-05/0.5814, allocations: 42.44 kB / 446.1 MB, free: 10.54 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.428e-06/0.5814, allocations: 0 / 446.1 MB, free: 10.54 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001999/0.5816, allocations: 99.28 kB / 446.2 MB, free: 10.43 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.849e-05/0.5817, allocations: 35.42 kB / 446.2 MB, free: 10.39 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.032e-06/0.5817, allocations: 0 / 446.2 MB, free: 10.39 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.5817, allocations: 4 kB / 446.2 MB, free: 10.38 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001373/0.5819, allocations: 17.23 kB / 446.3 MB, free: 10.37 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.919e-06/0.5819, allocations: 3.938 kB / 446.3 MB, free: 10.36 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.331e-05/0.582, allocations: 5.781 kB / 446.3 MB, free: 10.36 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.355e-05/0.582, allocations: 4 kB / 446.3 MB, free: 10.36 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.309e-05/0.5821, allocations: 105 kB / 446.4 MB, free: 10.25 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.737e-05/0.5822, allocations: 19.77 kB / 446.4 MB, free: 10.23 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002224/0.5824, allocations: 82.61 kB / 446.5 MB, free: 10.14 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.5824, allocations: 0 / 446.5 MB, free: 10.14 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.5824, allocations: 0 / 446.5 MB, free: 10.14 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.5825, allocations: 0 / 446.5 MB, free: 10.14 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005308/0.583, allocations: 363.3 kB / 446.8 MB, free: 9.727 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.583, allocations: 0 / 446.8 MB, free: 9.727 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001125/0.5831, allocations: 14.62 kB / 446.9 MB, free: 9.715 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.409e-06/0.5832, allocations: 0 / 446.9 MB, free: 9.715 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.037e-06/0.5832, allocations: 8 kB / 446.9 MB, free: 9.707 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.5832, allocations: 0 / 446.9 MB, free: 9.707 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.197e-06/0.5832, allocations: 3.984 kB / 446.9 MB, free: 9.703 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001913/0.5834, allocations: 159.4 kB / 447 MB, free: 9.531 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.419e-05/0.5835, allocations: 96.91 kB / 447.1 MB, free: 9.418 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.705e-05/0.5835, allocations: 0 / 447.1 MB, free: 9.418 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001117/0.5837, allocations: 11.94 kB / 447.1 MB, free: 9.406 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.099e-05/0.5837, allocations: 12.92 kB / 447.1 MB, free: 9.395 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.023e-05/0.5837, allocations: 4 kB / 447.1 MB, free: 9.391 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000231/0.584, allocations: 168.7 kB / 447.3 MB, free: 9.227 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.584, allocations: 0 / 447.3 MB, free: 9.227 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003641/0.5844, allocations: 24 kB / 447.3 MB, free: 9.203 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.001164/0.5855, allocations: 0.8801 MB / 448.2 MB, free: 8.363 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001955/0.5858, allocations: 87.34 kB / 448.3 MB, free: 8.266 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.5858, allocations: 0 / 448.3 MB, free: 8.266 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.32e-05/0.5858, allocations: 16 kB / 448.3 MB, free: 8.25 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002555/0.5861, allocations: 7.547 kB / 448.3 MB, free: 8.246 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00076/0.5869, allocations: 265.8 kB / 448.6 MB, free: 7.941 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003197/0.5872, allocations: 0.7121 MB / 449.3 MB, free: 7.203 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.924e-05/0.5873, allocations: 31.42 kB / 449.3 MB, free: 7.176 MB / 378.7 MB Notification: Performance of SimCode: time 8.82e-07/0.5873, allocations: 0 / 449.3 MB, free: 7.176 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_Test32CalcHelperMain.o OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test32CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test32CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test32FMU.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_Test32.so OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test32CalcHelperMain.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_Test32_FMU.makefile:93: recipe for target 'ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test32.fmu' failed make: *** [ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test32.fmu] Error 1