Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1Ds.Test27.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test27,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test27",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.523/2.523, allocations: 235 MB / 248.1 MB, free: 14.43 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.486e-05/3.5e-05, allocations: 8 kB / 309.8 MB, free: 1.227 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4569/0.457, allocations: 54.84 MB / 364.6 MB, free: 5.535 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1765/0.6335, allocations: 80.89 MB / 445.5 MB, free: 15.59 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003082/0.6339, allocations: 67.95 kB / 445.6 MB, free: 15.53 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01429/0.6482, allocations: 3.338 MB / 448.9 MB, free: 12.21 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.6483, allocations: 0 / 448.9 MB, free: 12.21 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.558e-05/0.6483, allocations: 0 / 448.9 MB, free: 12.21 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.0005662/0.6489, allocations: 435.7 kB / 449.3 MB, free: 11.73 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.043e-05/0.649, allocations: 8.031 kB / 449.4 MB, free: 11.73 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.111e-05/0.649, allocations: 38.56 kB / 449.4 MB, free: 11.68 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.909e-05/0.6491, allocations: 11.91 kB / 449.4 MB, free: 11.67 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003408/0.6494, allocations: 204.2 kB / 449.6 MB, free: 11.43 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.102e-05/0.6494, allocations: 0 / 449.6 MB, free: 11.43 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.697e-05/0.6495, allocations: 4 kB / 449.6 MB, free: 11.43 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001522/0.6496, allocations: 42.33 kB / 449.6 MB, free: 11.38 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.71e-05/0.6497, allocations: 7.859 kB / 449.7 MB, free: 11.37 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.263e-05/0.6497, allocations: 3.984 kB / 449.7 MB, free: 11.37 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.6497, allocations: 0 / 449.7 MB, free: 11.37 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.745e-05/0.6498, allocations: 23.92 kB / 449.7 MB, free: 11.34 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004806/0.6503, allocations: 289.8 kB / 450 MB, free: 11.02 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002348/0.6505, allocations: 42.52 kB / 450 MB, free: 10.96 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.241e-05/0.6506, allocations: 12.86 kB / 450 MB, free: 10.95 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.441e-05/0.6506, allocations: 7.938 kB / 450 MB, free: 10.94 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.699e-05/0.6507, allocations: 34.56 kB / 450.1 MB, free: 10.9 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.553e-06/0.6507, allocations: 0 / 450.1 MB, free: 10.9 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.000568/0.6513, allocations: 113.3 kB / 450.2 MB, free: 10.78 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.071e-05/0.6513, allocations: 59.34 kB / 450.2 MB, free: 10.71 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003961/0.6517, allocations: 230.5 kB / 450.5 MB, free: 10.47 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.12e-05/0.6518, allocations: 34.45 kB / 450.5 MB, free: 10.43 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.681e-05/0.6519, allocations: 162.6 kB / 450.6 MB, free: 10.27 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.806e-05/0.6519, allocations: 23.75 kB / 450.7 MB, free: 10.25 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.112e-06/0.6519, allocations: 0 / 450.7 MB, free: 10.25 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001225/0.6521, allocations: 314.8 kB / 451 MB, free: 9.93 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.258e-05/0.6521, allocations: 12 kB / 451 MB, free: 9.918 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.535e-05/0.6522, allocations: 12 kB / 451 MB, free: 9.906 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.739e-05/0.6523, allocations: 37.7 kB / 451 MB, free: 9.863 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/0.6523, allocations: 0.75 kB / 451 MB, free: 9.863 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001994/0.6525, allocations: 99.28 kB / 451.1 MB, free: 9.754 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.285e-05/0.6525, allocations: 29.7 kB / 451.2 MB, free: 9.719 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.493e-06/0.6526, allocations: 4 kB / 451.2 MB, free: 9.715 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/0.6526, allocations: 0 / 451.2 MB, free: 9.715 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001508/0.6527, allocations: 19.92 kB / 451.2 MB, free: 9.695 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.176e-05/0.6528, allocations: 3.984 kB / 451.2 MB, free: 9.691 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.916e-05/0.6529, allocations: 8 kB / 451.2 MB, free: 9.684 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.107e-05/0.6529, allocations: 0.8438 kB / 451.2 MB, free: 9.684 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.495e-05/0.653, allocations: 113 kB / 451.3 MB, free: 9.566 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.445e-05/0.6531, allocations: 15.77 kB / 451.3 MB, free: 9.551 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002377/0.6533, allocations: 82.69 kB / 451.4 MB, free: 9.461 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.6533, allocations: 0 / 451.4 MB, free: 9.461 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.6533, allocations: 0 / 451.4 MB, free: 9.461 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.6533, allocations: 3.984 kB / 451.4 MB, free: 9.457 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005858/0.6539, allocations: 367.4 kB / 451.8 MB, free: 9.043 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.654, allocations: 0 / 451.8 MB, free: 9.043 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001244/0.6541, allocations: 13.41 kB / 451.8 MB, free: 9.031 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.2e-06/0.6541, allocations: 4 kB / 451.8 MB, free: 9.027 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.061e-05/0.6541, allocations: 4 kB / 451.8 MB, free: 9.023 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.955e-06/0.6542, allocations: 0 / 451.8 MB, free: 9.023 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.6542, allocations: 0.875 kB / 451.8 MB, free: 9.023 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002144/0.6544, allocations: 171.2 kB / 452 MB, free: 8.84 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001014/0.6545, allocations: 97 kB / 452.1 MB, free: 8.727 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.932e-05/0.6546, allocations: 0 / 452.1 MB, free: 8.727 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001144/0.6547, allocations: 8.438 kB / 452.1 MB, free: 8.719 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.572e-05/0.6547, allocations: 11.98 kB / 452.1 MB, free: 8.707 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.744e-06/0.6548, allocations: 0 / 452.1 MB, free: 8.707 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000303/0.6551, allocations: 193.1 kB / 452.3 MB, free: 8.52 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.91e-07/0.6551, allocations: 0 / 452.3 MB, free: 8.52 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003518/0.6554, allocations: 20 kB / 452.3 MB, free: 8.5 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.001244/0.6567, allocations: 0.8893 MB / 453.2 MB, free: 7.664 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002141/0.657, allocations: 87.41 kB / 453.3 MB, free: 7.566 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.657, allocations: 0 / 453.3 MB, free: 7.566 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.706e-05/0.657, allocations: 19.94 kB / 453.3 MB, free: 7.547 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000279/0.6573, allocations: 12.17 kB / 453.3 MB, free: 7.531 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008219/0.6582, allocations: 273.3 kB / 453.6 MB, free: 7.227 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003581/0.6585, allocations: 0.7277 MB / 454.3 MB, free: 6.473 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001009/0.6587, allocations: 31.42 kB / 454.3 MB, free: 6.441 MB / 378.7 MB Notification: Performance of SimCode: time 1.463e-06/0.6587, allocations: 0 / 454.3 MB, free: 6.441 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_Test27CalcHelperMain.o OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test27CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test27CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test27FMU.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_Test27.so OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test27CalcHelperMain.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_Test27_FMU.makefile:93: recipe for target 'ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test27.fmu' failed make: *** [ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test27.fmu] Error 1