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.Test11.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.Test11,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test11",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.408/2.408, allocations: 235 MB / 248.1 MB, free: 14.55 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.088e-05/3.11e-05, allocations: 4 kB / 309.8 MB, free: 1.457 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3967/0.3968, allocations: 54.85 MB / 364.6 MB, free: 5.531 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1448/0.5416, allocations: 80.85 MB / 445.5 MB, free: 15.67 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002778/0.5419, allocations: 67.97 kB / 445.5 MB, free: 15.61 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01157/0.5535, allocations: 2.789 MB / 448.3 MB, free: 12.84 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.452e-06/0.5535, allocations: 0 / 448.3 MB, free: 12.84 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.187e-05/0.5536, allocations: 0 / 448.3 MB, free: 12.84 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.0004714/0.5541, allocations: 397 kB / 448.7 MB, free: 12.4 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.45e-05/0.5541, allocations: 11.97 kB / 448.7 MB, free: 12.39 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.113e-05/0.5542, allocations: 34.5 kB / 448.8 MB, free: 12.34 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.385e-05/0.5542, allocations: 15.86 kB / 448.8 MB, free: 12.33 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000255/0.5545, allocations: 187.8 kB / 449 MB, free: 12.11 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.31e-05/0.5545, allocations: 4 kB / 449 MB, free: 12.1 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.581e-05/0.5545, allocations: 4 kB / 449 MB, free: 12.1 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001191/0.5547, allocations: 38.58 kB / 449 MB, free: 12.05 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.5547, allocations: 0 / 449 MB, free: 12.05 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.247e-06/0.5547, allocations: 4 kB / 449 MB, free: 12.05 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.672e-06/0.5547, allocations: 3.953 kB / 449 MB, free: 12.05 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.829e-05/0.5548, allocations: 15.98 kB / 449 MB, free: 12.03 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003894/0.5552, allocations: 276.8 kB / 449.3 MB, free: 11.71 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002101/0.5554, allocations: 39.41 kB / 449.3 MB, free: 11.66 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.437e-05/0.5555, allocations: 12.86 kB / 449.4 MB, free: 11.65 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.862e-05/0.5555, allocations: 4 kB / 449.4 MB, free: 11.64 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.648e-05/0.5556, allocations: 38.52 kB / 449.4 MB, free: 11.6 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.733e-06/0.5556, allocations: 0 / 449.4 MB, free: 11.6 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.000478/0.5561, allocations: 105.5 kB / 449.5 MB, free: 11.49 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.683e-05/0.5561, allocations: 55.41 kB / 449.6 MB, free: 11.42 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001849/0.5563, allocations: 138 kB / 449.7 MB, free: 11.28 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.761e-05/0.5563, allocations: 29.7 kB / 449.7 MB, free: 11.24 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.239e-05/0.5564, allocations: 171.3 kB / 449.9 MB, free: 11.07 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.037e-05/0.5565, allocations: 7.812 kB / 449.9 MB, free: 11.07 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.708e-06/0.5565, allocations: 4 kB / 449.9 MB, free: 11.06 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001181/0.5566, allocations: 318.8 kB / 450.2 MB, free: 10.74 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.365e-05/0.5567, allocations: 8 kB / 450.2 MB, free: 10.73 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.869e-05/0.5567, allocations: 12 kB / 450.2 MB, free: 10.72 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.319e-05/0.5568, allocations: 41.69 kB / 450.3 MB, free: 10.68 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.5568, allocations: 0 / 450.3 MB, free: 10.68 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001712/0.557, allocations: 95.39 kB / 450.4 MB, free: 10.57 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.19e-05/0.557, allocations: 38.69 kB / 450.4 MB, free: 10.53 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.5571, allocations: 3.938 kB / 450.4 MB, free: 10.52 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.5571, allocations: 0 / 450.4 MB, free: 10.52 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001346/0.5572, allocations: 12 kB / 450.4 MB, free: 10.51 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.087e-06/0.5572, allocations: 3.984 kB / 450.4 MB, free: 10.51 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.054e-05/0.5573, allocations: 4 kB / 450.4 MB, free: 10.5 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.375e-05/0.5574, allocations: 4 kB / 450.4 MB, free: 10.5 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.912e-05/0.5574, allocations: 112.9 kB / 450.5 MB, free: 10.38 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.965e-05/0.5575, allocations: 7.906 kB / 450.5 MB, free: 10.38 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002081/0.5577, allocations: 81.62 kB / 450.6 MB, free: 10.29 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.5577, allocations: 0 / 450.6 MB, free: 10.29 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.5577, allocations: 3.938 kB / 450.6 MB, free: 10.28 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.5578, allocations: 0 / 450.6 MB, free: 10.28 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004503/0.5582, allocations: 330.5 kB / 451 MB, free: 9.902 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.5582, allocations: 0 / 451 MB, free: 9.902 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001086/0.5584, allocations: 24.31 kB / 451 MB, free: 9.879 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.486e-06/0.5584, allocations: 0 / 451 MB, free: 9.879 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.266e-05/0.5584, allocations: 4.141 kB / 451 MB, free: 9.875 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.119e-06/0.5584, allocations: 7.984 kB / 451 MB, free: 9.867 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.5584, allocations: 0 / 451 MB, free: 9.867 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000192/0.5586, allocations: 163.4 kB / 451.2 MB, free: 9.691 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.241e-05/0.5587, allocations: 85.11 kB / 451.2 MB, free: 9.59 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.421e-05/0.5587, allocations: 7.953 kB / 451.2 MB, free: 9.582 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001105/0.5588, allocations: 11.98 kB / 451.3 MB, free: 9.57 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.386e-05/0.5589, allocations: 0 / 451.3 MB, free: 9.57 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.015e-05/0.5589, allocations: 4 kB / 451.3 MB, free: 9.566 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001402/0.5591, allocations: 120.6 kB / 451.4 MB, free: 9.449 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.5591, allocations: 0 / 451.4 MB, free: 9.449 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003231/0.5594, allocations: 27.92 kB / 451.4 MB, free: 9.422 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.001189/0.5606, allocations: 0.8747 MB / 452.3 MB, free: 8.602 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002057/0.5609, allocations: 83.39 kB / 452.4 MB, free: 8.508 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.075e-06/0.5609, allocations: 0 / 452.4 MB, free: 8.508 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.483e-05/0.5609, allocations: 16 kB / 452.4 MB, free: 8.492 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002793/0.5612, allocations: 11.95 kB / 452.4 MB, free: 8.48 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006374/0.5619, allocations: 203.9 kB / 452.6 MB, free: 8.238 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002942/0.5622, allocations: 0.7004 MB / 453.3 MB, free: 7.512 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.554e-05/0.5623, allocations: 19.44 kB / 453.3 MB, free: 7.492 MB / 378.7 MB Notification: Performance of SimCode: time 9.62e-07/0.5623, allocations: 0 / 453.3 MB, free: 7.492 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_Test11CalcHelperMain.o OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test11CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test11CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test11FMU.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_Test11.so OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test11CalcHelperMain.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_Test11_FMU.makefile:93: recipe for target 'ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test11.fmu' failed make: *** [ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test11.fmu] Error 1