Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test30,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test30",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.447/2.447, allocations: 235 MB / 247.6 MB, free: 14.39 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.006e-05/4.012e-05, allocations: 4 kB / 305 MB, free: 5.559 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4004/0.4005, allocations: 54.86 MB / 359.9 MB, free: 2.68 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1509/0.5515, allocations: 80.9 MB / 440.8 MB, free: 92 kB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002709/0.5518, allocations: 73.17 kB / 440.8 MB, free: 20 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01381/0.5656, allocations: 3.103 MB / 443.9 MB, free: 12.94 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.5657, allocations: 0 / 443.9 MB, free: 12.94 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.394e-05/0.5657, allocations: 0 / 443.9 MB, free: 12.94 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.0005369/0.5662, allocations: 411.9 kB / 444.3 MB, free: 12.48 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.173e-05/0.5663, allocations: 12.03 kB / 444.3 MB, free: 12.47 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.623e-05/0.5664, allocations: 34.55 kB / 444.4 MB, free: 12.43 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.591e-05/0.5664, allocations: 11.86 kB / 444.4 MB, free: 12.42 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002951/0.5667, allocations: 191.5 kB / 444.6 MB, free: 12.19 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.197e-05/0.5667, allocations: 4 kB / 444.6 MB, free: 12.18 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.059e-05/0.5668, allocations: 8 kB / 444.6 MB, free: 12.18 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001301/0.5669, allocations: 41.69 kB / 444.6 MB, free: 12.13 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/0.567, allocations: 0 / 444.6 MB, free: 12.13 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.074e-05/0.567, allocations: 0 / 444.6 MB, free: 12.13 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.765e-06/0.567, allocations: 3.953 kB / 444.6 MB, free: 12.12 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.42e-05/0.5671, allocations: 14 kB / 444.7 MB, free: 12.11 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004807/0.5676, allocations: 284.8 kB / 444.9 MB, free: 11.79 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002407/0.5678, allocations: 46.5 kB / 445 MB, free: 11.73 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.966e-05/0.5679, allocations: 8.859 kB / 445 MB, free: 11.72 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.668e-05/0.5679, allocations: 3.984 kB / 445 MB, free: 11.71 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.546e-05/0.568, allocations: 41.14 kB / 445 MB, free: 11.67 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 2.555e-06/0.568, allocations: 0 / 445 MB, free: 11.67 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005626/0.5685, allocations: 113.4 kB / 445.1 MB, free: 11.55 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.535e-05/0.5686, allocations: 55.41 kB / 445.2 MB, free: 11.48 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002731/0.5689, allocations: 166.2 kB / 445.4 MB, free: 11.31 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.886e-05/0.5689, allocations: 25.7 kB / 445.4 MB, free: 11.28 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.84e-05/0.569, allocations: 162.6 kB / 445.5 MB, free: 11.12 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.084e-05/0.5691, allocations: 23.72 kB / 445.6 MB, free: 11.1 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.687e-06/0.5691, allocations: 4 kB / 445.6 MB, free: 11.09 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001309/0.5692, allocations: 314.8 kB / 445.9 MB, free: 10.78 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.944e-05/0.5693, allocations: 16 kB / 445.9 MB, free: 10.76 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.867e-05/0.5693, allocations: 8 kB / 445.9 MB, free: 10.75 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.545e-05/0.5694, allocations: 41.69 kB / 445.9 MB, free: 10.71 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.5694, allocations: 3.938 kB / 445.9 MB, free: 10.7 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002091/0.5697, allocations: 91.25 kB / 446 MB, free: 10.6 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.187e-05/0.5697, allocations: 47.36 kB / 446.1 MB, free: 10.55 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.674e-06/0.5697, allocations: 0.8125 kB / 446.1 MB, free: 10.55 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/0.5698, allocations: 0 / 446.1 MB, free: 10.55 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001507/0.5699, allocations: 12 kB / 446.1 MB, free: 10.54 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.17e-05/0.57, allocations: 7.984 kB / 446.1 MB, free: 10.53 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.1e-05/0.5701, allocations: 4 kB / 446.1 MB, free: 10.53 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.377e-05/0.5701, allocations: 4 kB / 446.1 MB, free: 10.52 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.873e-05/0.5702, allocations: 101 kB / 446.2 MB, free: 10.42 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.67e-05/0.5702, allocations: 7.906 kB / 446.2 MB, free: 10.41 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002405/0.5705, allocations: 83.03 kB / 446.3 MB, free: 10.33 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.584e-06/0.5705, allocations: 0 / 446.3 MB, free: 10.33 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.5705, allocations: 11.94 kB / 446.3 MB, free: 10.32 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.5705, allocations: 0 / 446.3 MB, free: 10.32 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005079/0.5711, allocations: 339.6 kB / 446.6 MB, free: 9.93 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.051e-06/0.5711, allocations: 6.953 kB / 446.6 MB, free: 9.926 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001217/0.5712, allocations: 12 kB / 446.7 MB, free: 9.914 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.751e-06/0.5712, allocations: 0 / 446.7 MB, free: 9.914 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.027e-05/0.5713, allocations: 0 / 446.7 MB, free: 9.914 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.651e-06/0.5713, allocations: 3.984 kB / 446.7 MB, free: 9.91 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/0.5713, allocations: 4 kB / 446.7 MB, free: 9.906 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000204/0.5715, allocations: 163.4 kB / 446.8 MB, free: 9.73 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.418e-05/0.5716, allocations: 92.97 kB / 446.9 MB, free: 9.621 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.501e-05/0.5716, allocations: 0 / 446.9 MB, free: 9.621 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001137/0.5717, allocations: 8 kB / 446.9 MB, free: 9.613 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.811e-05/0.5718, allocations: 4.641 kB / 446.9 MB, free: 9.609 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.243e-05/0.5718, allocations: 8 kB / 446.9 MB, free: 9.602 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001897/0.572, allocations: 149.5 kB / 447.1 MB, free: 9.457 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.572, allocations: 0 / 447.1 MB, free: 9.457 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004041/0.5725, allocations: 23.91 kB / 447.1 MB, free: 9.434 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.00121/0.5737, allocations: 0.8793 MB / 448 MB, free: 8.602 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002135/0.5739, allocations: 87.41 kB / 448.1 MB, free: 8.504 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/0.5739, allocations: 4 kB / 448.1 MB, free: 8.5 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.258e-05/0.574, allocations: 12 kB / 448.1 MB, free: 8.488 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002699/0.5743, allocations: 7.984 kB / 448.1 MB, free: 8.48 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006937/0.575, allocations: 229.7 kB / 448.3 MB, free: 8.211 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002993/0.5753, allocations: 0.7004 MB / 449 MB, free: 7.484 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.587e-05/0.5754, allocations: 31.42 kB / 449 MB, free: 7.457 MB / 378.7 MB Notification: Performance of SimCode: time 9.32e-07/0.5754, allocations: 0 / 449 MB, free: 7.457 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_Test30CalcHelperMain.o OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test30CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test30CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test30FMU.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_Test30.so OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test30CalcHelperMain.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_Test30_FMU.makefile:93: recipe for target 'ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test30.fmu' failed make: *** [ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test30.fmu] Error 1