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.Test32.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.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.523/2.523, allocations: 235 MB / 248.1 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.022e-05/4.042e-05, allocations: 4 kB / 309.8 MB, free: 1.238 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4377/0.4378, allocations: 54.84 MB / 364.6 MB, free: 5.414 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1511/0.589, allocations: 80.9 MB / 445.5 MB, free: 15.5 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003116/0.5893, allocations: 68.75 kB / 445.6 MB, free: 15.43 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01364/0.603, allocations: 3.221 MB / 448.8 MB, free: 12.23 MB / 378.7 MB Notification: Performance of FrontEnd: time 4.489e-06/0.6031, allocations: 4 kB / 448.8 MB, free: 12.23 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.428e-05/0.6031, allocations: 4 kB / 448.8 MB, free: 12.23 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.0005105/0.6036, allocations: 419.9 kB / 449.2 MB, free: 11.77 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.699e-05/0.6037, allocations: 8.031 kB / 449.2 MB, free: 11.76 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.635e-05/0.6037, allocations: 30.56 kB / 449.3 MB, free: 11.72 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.844e-05/0.6038, allocations: 16.38 kB / 449.3 MB, free: 11.7 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002962/0.6041, allocations: 199.6 kB / 449.5 MB, free: 11.46 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.302e-05/0.6041, allocations: 4 kB / 449.5 MB, free: 11.46 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.275e-05/0.6041, allocations: 0 / 449.5 MB, free: 11.46 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00013/0.6043, allocations: 49.69 kB / 449.5 MB, free: 11.41 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.402e-05/0.6043, allocations: 3.953 kB / 449.5 MB, free: 11.4 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.196e-05/0.6043, allocations: 4.75 kB / 449.5 MB, free: 11.4 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.6043, allocations: 0 / 449.5 MB, free: 11.4 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.871e-05/0.6044, allocations: 15.94 kB / 449.6 MB, free: 11.38 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004438/0.6049, allocations: 288.9 kB / 449.8 MB, free: 11.05 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002282/0.6051, allocations: 42.53 kB / 449.9 MB, free: 11 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.615e-05/0.6052, allocations: 12.86 kB / 449.9 MB, free: 10.98 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.161e-05/0.6052, allocations: 0 / 449.9 MB, free: 10.98 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.112e-05/0.6052, allocations: 38.5 kB / 449.9 MB, free: 10.94 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.573e-06/0.6053, allocations: 1.688 kB / 449.9 MB, free: 10.94 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005461/0.6058, allocations: 116.7 kB / 450 MB, free: 10.82 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.986e-05/0.6059, allocations: 59.34 kB / 450.1 MB, free: 10.75 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003368/0.6062, allocations: 213.4 kB / 450.3 MB, free: 10.54 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.308e-05/0.6063, allocations: 29.69 kB / 450.3 MB, free: 10.5 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.48e-05/0.6064, allocations: 162.6 kB / 450.5 MB, free: 10.34 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.335e-05/0.6064, allocations: 11.81 kB / 450.5 MB, free: 10.33 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.375e-06/0.6064, allocations: 4 kB / 450.5 MB, free: 10.32 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000119/0.6065, allocations: 310.8 kB / 450.8 MB, free: 10.01 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.806e-05/0.6066, allocations: 12 kB / 450.8 MB, free: 10 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.56e-05/0.6067, allocations: 16 kB / 450.8 MB, free: 9.984 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.823e-05/0.6067, allocations: 45.62 kB / 450.9 MB, free: 9.934 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.502e-06/0.6068, allocations: 0 / 450.9 MB, free: 9.934 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001891/0.6069, allocations: 95.34 kB / 451 MB, free: 9.828 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.355e-05/0.607, allocations: 29.7 kB / 451 MB, free: 9.793 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.607, allocations: 0 / 451 MB, free: 9.793 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.607, allocations: 0 / 451 MB, free: 9.793 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001408/0.6072, allocations: 19.92 kB / 451 MB, free: 9.773 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-06/0.6072, allocations: 0.6562 kB / 451 MB, free: 9.773 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.886e-05/0.6073, allocations: 12 kB / 451 MB, free: 9.762 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.129e-05/0.6073, allocations: 0 / 451 MB, free: 9.762 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.361e-05/0.6074, allocations: 109 kB / 451.1 MB, free: 9.648 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.295e-05/0.6075, allocations: 15.77 kB / 451.2 MB, free: 9.633 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002257/0.6077, allocations: 78.61 kB / 451.2 MB, free: 9.551 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.823e-06/0.6078, allocations: 4 kB / 451.2 MB, free: 9.547 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.6078, allocations: 1.031 kB / 451.2 MB, free: 9.547 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.6078, allocations: 0 / 451.2 MB, free: 9.547 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00053/0.6083, allocations: 367.3 kB / 451.6 MB, free: 9.133 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.6083, allocations: 0 / 451.6 MB, free: 9.133 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001097/0.6085, allocations: 12 kB / 451.6 MB, free: 9.121 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.6085, allocations: 0 / 451.6 MB, free: 9.121 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.284e-05/0.6085, allocations: 3.984 kB / 451.6 MB, free: 9.117 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.6085, allocations: 384 / 451.6 MB, free: 9.117 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.053e-06/0.6085, allocations: 0 / 451.6 MB, free: 9.117 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000198/0.6087, allocations: 179.3 kB / 451.8 MB, free: 8.926 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.571e-05/0.6088, allocations: 92.92 kB / 451.9 MB, free: 8.816 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.825e-05/0.6089, allocations: 7.938 kB / 451.9 MB, free: 8.809 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001129/0.609, allocations: 7.984 kB / 451.9 MB, free: 8.801 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.01e-05/0.6091, allocations: 4.141 kB / 451.9 MB, free: 8.797 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.847e-06/0.6091, allocations: 3.984 kB / 451.9 MB, free: 8.793 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002506/0.6093, allocations: 172.7 kB / 452.1 MB, free: 8.625 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.6094, allocations: 0 / 452.1 MB, free: 8.625 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003206/0.6097, allocations: 24 kB / 452.1 MB, free: 8.602 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.001172/0.6109, allocations: 0.8748 MB / 453 MB, free: 7.777 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002167/0.6111, allocations: 87.41 kB / 453.1 MB, free: 7.68 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.6111, allocations: 0 / 453.1 MB, free: 7.68 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.757e-05/0.6112, allocations: 19.94 kB / 453.1 MB, free: 7.66 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002699/0.6115, allocations: 12.44 kB / 453.1 MB, free: 7.648 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007721/0.6123, allocations: 268.5 kB / 453.4 MB, free: 7.34 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003218/0.6126, allocations: 0.7082 MB / 454.1 MB, free: 6.605 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.912e-05/0.6127, allocations: 31.42 kB / 454.1 MB, free: 6.574 MB / 378.7 MB Notification: Performance of SimCode: time 1.473e-06/0.6127, allocations: 0 / 454.1 MB, free: 6.574 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