Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test7,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test7",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.964/1.964, allocations: 209.3 MB / 221.9 MB, free: 1.926 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.895e-05/2.907e-05, allocations: 0 / 273.1 MB, free: 0.6445 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1038/0.1039, allocations: 48.7 MB / 321.8 MB, free: 15.85 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4324/0.5363, allocations: 74.32 MB / 396.2 MB, free: 15.62 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002786/0.5366, allocations: 71.06 kB / 396.2 MB, free: 15.56 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01876/0.5554, allocations: 5.051 MB / 401.3 MB, free: 10.51 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.5555, allocations: 0 / 401.3 MB, free: 10.51 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.015e-05/0.5555, allocations: 4 kB / 401.3 MB, free: 10.5 MB / 330.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.0008341/0.5564, allocations: 0.5654 MB / 401.8 MB, free: 9.887 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.731e-05/0.5564, allocations: 12.03 kB / 401.9 MB, free: 9.875 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.456e-05/0.5565, allocations: 34.56 kB / 401.9 MB, free: 9.832 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001038/0.5566, allocations: 35.53 kB / 401.9 MB, free: 9.797 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006867/0.5573, allocations: 327.2 kB / 402.2 MB, free: 9.438 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.356e-05/0.5573, allocations: 0 / 402.2 MB, free: 9.438 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.244e-05/0.5574, allocations: 4 kB / 402.2 MB, free: 9.434 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000139/0.5575, allocations: 37.7 kB / 402.3 MB, free: 9.391 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.341e-05/0.5575, allocations: 0 / 402.3 MB, free: 9.391 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.312e-05/0.5576, allocations: 4 kB / 402.3 MB, free: 9.387 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.5576, allocations: 0 / 402.3 MB, free: 9.387 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.122e-05/0.5576, allocations: 12 kB / 402.3 MB, free: 9.375 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009618/0.5586, allocations: 424.7 kB / 402.7 MB, free: 8.91 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.322e-05/0.5587, allocations: 26.58 kB / 402.7 MB, free: 8.875 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.459e-05/0.5588, allocations: 8.859 kB / 402.7 MB, free: 8.863 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.246e-05/0.5588, allocations: 4.062 kB / 402.8 MB, free: 8.859 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.827e-05/0.5589, allocations: 38.55 kB / 402.8 MB, free: 8.812 MB / 330.7 MB Notification: Performance of pre-optimization done (n=2): time 3.116e-06/0.5589, allocations: 0 / 402.8 MB, free: 8.812 MB / 330.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002697/0.5592, allocations: 85.03 kB / 402.9 MB, free: 8.723 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.083e-05/0.5592, allocations: 55.39 kB / 402.9 MB, free: 8.656 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001898/0.5611, allocations: 0.7615 MB / 403.7 MB, free: 7.883 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.18e-05/0.5612, allocations: 25.7 kB / 403.7 MB, free: 7.852 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002339/0.5615, allocations: 234.6 kB / 403.9 MB, free: 7.621 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.114e-05/0.5615, allocations: 3.906 kB / 403.9 MB, free: 7.617 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.539e-06/0.5615, allocations: 4.031 kB / 404 MB, free: 7.613 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000194/0.5617, allocations: 320.2 kB / 404.3 MB, free: 7.293 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.389e-05/0.5618, allocations: 4 kB / 404.3 MB, free: 7.289 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.122e-05/0.5618, allocations: 11.94 kB / 404.3 MB, free: 7.277 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.724e-05/0.5619, allocations: 33.69 kB / 404.3 MB, free: 7.238 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.5619, allocations: 0 / 404.3 MB, free: 7.238 MB / 330.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001759/0.5621, allocations: 71.34 kB / 404.4 MB, free: 7.156 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.988e-05/0.5622, allocations: 33.69 kB / 404.4 MB, free: 7.117 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.5622, allocations: 0 / 404.4 MB, free: 7.117 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/0.5622, allocations: 0 / 404.4 MB, free: 7.117 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001549/0.5624, allocations: 16 kB / 404.4 MB, free: 7.102 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.045e-05/0.5624, allocations: 7.891 kB / 404.4 MB, free: 7.094 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001263/0.5625, allocations: 4 kB / 404.4 MB, free: 7.09 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.047e-05/0.5626, allocations: 0 / 404.4 MB, free: 7.09 MB / 330.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 (3): * Single equations (assignments): 2 * 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.478e-05/0.5627, allocations: 104.9 kB / 404.5 MB, free: 6.98 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001166/0.5628, allocations: 43.44 kB / 404.6 MB, free: 6.938 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002586/0.5631, allocations: 92.52 kB / 404.7 MB, free: 6.84 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.5631, allocations: 7.969 kB / 404.7 MB, free: 6.832 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.342e-05/0.5631, allocations: 4 kB / 404.7 MB, free: 6.828 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/0.5631, allocations: 3.953 kB / 404.7 MB, free: 6.824 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004512/0.5636, allocations: 309.5 kB / 405 MB, free: 6.473 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.746e-06/0.5636, allocations: 11.98 kB / 405 MB, free: 6.461 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.553e-05/0.5637, allocations: 4 kB / 405 MB, free: 6.457 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.5637, allocations: 0 / 405 MB, free: 6.457 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.436e-06/0.5637, allocations: 0 / 405 MB, free: 6.457 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.5637, allocations: 0 / 405 MB, free: 6.457 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.5637, allocations: 0 / 405 MB, free: 6.457 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000243/0.564, allocations: 183 kB / 405.2 MB, free: 6.262 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002966/0.5643, allocations: 156.5 kB / 405.3 MB, free: 6.09 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.838e-05/0.5644, allocations: 0 / 405.3 MB, free: 6.09 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001325/0.5645, allocations: 7.984 kB / 405.3 MB, free: 6.082 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.869e-05/0.5645, allocations: 4 kB / 405.4 MB, free: 6.078 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.4e-06/0.5646, allocations: 0 / 405.4 MB, free: 6.078 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001173/0.5657, allocations: 0.6225 MB / 406 MB, free: 5.461 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.21e-07/0.5658, allocations: 7.938 kB / 406 MB, free: 5.453 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004003/0.5662, allocations: 44 kB / 406 MB, free: 5.41 MB / 330.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 (2): * Single equations (assignments): 2 * 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.001143/0.5673, allocations: 0.8087 MB / 406.8 MB, free: 4.613 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001712/0.5675, allocations: 71.41 kB / 406.9 MB, free: 4.531 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.5675, allocations: 3.938 kB / 406.9 MB, free: 4.527 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.407e-05/0.5676, allocations: 8 kB / 406.9 MB, free: 4.52 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003288/0.5679, allocations: 18.08 kB / 406.9 MB, free: 4.504 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001985/0.5699, allocations: 0.8191 MB / 407.8 MB, free: 3.641 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006114/0.5706, allocations: 0.8223 MB / 408.6 MB, free: 2.793 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002546/0.5708, allocations: 111.6 kB / 408.7 MB, free: 2.684 MB / 330.7 MB Notification: Performance of SimCode: time 9.31e-07/0.5708, allocations: 0 / 408.7 MB, free: 2.684 MB / 330.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_1_cpp_ModelicaTest_Tables_CombiTable2D_Test7CalcHelperMain.o OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test7CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test7CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test7FMU.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_1_cpp_ModelicaTest_Tables_CombiTable2D_Test7.so OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test7CalcHelperMain.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.1/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.1/Resources/Library/x86_64-linux" -Wl,-rpath="/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Resources/Library/x86_64-linux" "-L/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Resources/Library/linux64" -Wl,-rpath="/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Resources/Library/linux64" "-L/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Resources/Library" -Wl,-rpath="/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/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_1_cpp_ModelicaTest_Tables_CombiTable2D_Test7_FMU.makefile:93: recipe for target 'ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test7.fmu' failed make: *** [ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test7.fmu] Error 1