Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Math.TestPolynomials.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Math.TestPolynomials,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Math_TestPolynomials",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestPolynomials,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Math_TestPolynomials",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00137/0.00137, allocations: 196.8 kB / 16.1 MB, free: 5.578 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.335/1.335, allocations: 226.5 MB / 243.4 MB, free: 6.496 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008076/0.0008076, allocations: 106.3 kB / 295.5 MB, free: 6.633 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3494/0.3494, allocations: 44.82 MB / 392.3 MB, free: 35.66 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003001/0.0003001, allocations: 8 kB / 465.4 MB, free: 12.52 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3537/0.354, allocations: 62.96 MB / 0.516 GB, free: 37.12 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestPolynomials): time 0.0005802/0.3546, allocations: 220.8 kB / 0.5162 GB, free: 36.97 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002337/0.357, allocations: 1.716 MB / 0.5178 GB, free: 35.74 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.339e-05/0.357, allocations: 0 / 0.5178 GB, free: 35.74 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.146e-05/0.3571, allocations: 0 / 0.5178 GB, free: 35.74 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 7.965e-06/0.3571, allocations: 0 / 0.5178 GB, free: 35.74 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Math.mo:120:3-169:18:writable] Warning: Pure function ‘ModelicaTest.Math.Polynomials‘ contains a call to impure function ‘Modelica.Utilities.Streams.print‘. Notification: Performance of NFTyping.typeClassSections: time 0.001005/0.3581, allocations: 190 kB / 0.518 GB, free: 35.67 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 3.072e-05/0.3581, allocations: 0 / 0.518 GB, free: 35.67 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.734e-05/0.3582, allocations: 3.625 kB / 0.518 GB, free: 35.67 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.563e-05/0.3582, allocations: 0 / 0.518 GB, free: 35.67 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.832e-05/0.3582, allocations: 4 kB / 0.518 GB, free: 35.67 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 5.32e-06/0.3582, allocations: 0 / 0.518 GB, free: 35.67 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006526/0.3589, allocations: 377.9 kB / 0.5184 GB, free: 35.56 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 7.585e-06/0.3589, allocations: 0 / 0.5184 GB, free: 35.56 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.353e-05/0.359, allocations: 25.7 kB / 0.5184 GB, free: 35.53 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003271/0.3593, allocations: 216.7 kB / 0.5186 GB, free: 35.48 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.3593, allocations: 0 / 0.5186 GB, free: 35.48 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3593, allocations: 0 / 0.5186 GB, free: 35.48 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.616e-06/0.3593, allocations: 0 / 0.5186 GB, free: 35.48 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002936/0.3596, allocations: 383.1 kB / 0.519 GB, free: 35.07 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/0.3597, allocations: 8.875 kB / 0.519 GB, free: 35.07 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.162e-05/0.3597, allocations: 34.69 kB / 0.519 GB, free: 35.03 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.09e-05/0.3597, allocations: 0.9375 kB / 0.519 GB, free: 35.03 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.821e-05/0.3598, allocations: 164.4 kB / 0.5192 GB, free: 34.83 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.066e-05/0.3598, allocations: 384 / 0.5192 GB, free: 34.83 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.246e-06/0.3598, allocations: 7.156 kB / 0.5192 GB, free: 34.83 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.485e-05/0.3599, allocations: 40 kB / 0.5192 GB, free: 34.79 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.3599, allocations: 0 / 0.5192 GB, free: 34.79 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.454e-06/0.3599, allocations: 0 / 0.5192 GB, free: 34.79 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.614e-06/0.36, allocations: 0 / 0.5192 GB, free: 34.79 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.747e-05/0.36, allocations: 0 / 0.5192 GB, free: 34.79 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.145e-05/0.3601, allocations: 148.6 kB / 0.5194 GB, free: 34.6 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.343e-05/0.3601, allocations: 25.39 kB / 0.5194 GB, free: 34.57 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.64e-05/0.3602, allocations: 12.33 kB / 0.5194 GB, free: 34.55 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.707e-06/0.3602, allocations: 0 / 0.5194 GB, free: 34.55 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.408e-05/0.3602, allocations: 62.98 kB / 0.5195 GB, free: 34.48 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 1.613e-06/0.3602, allocations: 0 / 0.5195 GB, free: 34.48 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001578/0.3604, allocations: 57.25 kB / 0.5195 GB, free: 34.42 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.863e-05/0.3604, allocations: 87 kB / 0.5196 GB, free: 34.32 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.021e-05/0.3605, allocations: 93.86 kB / 0.5197 GB, free: 34.22 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.993e-06/0.3605, allocations: 29.83 kB / 0.5197 GB, free: 34.18 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.13e-05/0.3605, allocations: 80.14 kB / 0.5198 GB, free: 34.1 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.494e-05/0.3605, allocations: 0 / 0.5198 GB, free: 34.1 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.345e-06/0.3606, allocations: 0 / 0.5198 GB, free: 34.1 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.117e-05/0.3606, allocations: 313.7 kB / 0.5201 GB, free: 33.79 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.478e-06/0.3606, allocations: 0 / 0.5201 GB, free: 33.79 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.343e-06/0.3606, allocations: 0 / 0.5201 GB, free: 33.79 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.869e-05/0.3607, allocations: 59.11 kB / 0.5202 GB, free: 33.72 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.3607, allocations: 6.938 kB / 0.5202 GB, free: 33.71 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.348e-05/0.3608, allocations: 68.34 kB / 0.5202 GB, free: 33.64 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.817e-05/0.3608, allocations: 35.39 kB / 0.5203 GB, free: 33.61 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.3608, allocations: 0 / 0.5203 GB, free: 33.61 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.3609, allocations: 3.984 kB / 0.5203 GB, free: 33.61 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.262e-06/0.3609, allocations: 0 / 0.5203 GB, free: 33.61 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.3609, allocations: 7.312 kB / 0.5203 GB, free: 33.6 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.016e-05/0.3609, allocations: 3.031 kB / 0.5203 GB, free: 33.6 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.612e-06/0.3609, allocations: 0 / 0.5203 GB, free: 33.6 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: 1 (result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * 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 5.588e-05/0.361, allocations: 138.4 kB / 0.5204 GB, free: 33.45 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.11e-05/0.361, allocations: 3.938 kB / 0.5204 GB, free: 33.45 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.776e-06/0.361, allocations: 3.125 kB / 0.5204 GB, free: 33.45 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.3611, allocations: 0 / 0.5204 GB, free: 33.45 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.3611, allocations: 2.844 kB / 0.5204 GB, free: 33.45 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.3611, allocations: 3.938 kB / 0.5204 GB, free: 33.45 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.075e-05/0.3611, allocations: 144.9 kB / 0.5206 GB, free: 33.26 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.3612, allocations: 0 / 0.5206 GB, free: 33.26 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.052e-06/0.3612, allocations: 0 / 0.5206 GB, free: 33.26 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.3612, allocations: 6.938 kB / 0.5206 GB, free: 33.25 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.955e-06/0.3612, allocations: 8 kB / 0.5206 GB, free: 33.25 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.3612, allocations: 0 / 0.5206 GB, free: 33.25 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3612, allocations: 0 / 0.5206 GB, free: 33.25 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.476e-05/0.3613, allocations: 93.3 kB / 0.5207 GB, free: 33.14 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.96e-05/0.3613, allocations: 84.23 kB / 0.5207 GB, free: 33.05 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.511e-05/0.3614, allocations: 2.875 kB / 0.5207 GB, free: 33.05 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.318e-05/0.3614, allocations: 0 / 0.5207 GB, free: 33.05 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.582e-05/0.3614, allocations: 0 / 0.5207 GB, free: 33.05 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.469e-06/0.3614, allocations: 6.906 kB / 0.5207 GB, free: 33.04 MB / 378.7 MB Notification: Performance of sorting global known variables: time 1.233e-05/0.3614, allocations: 75.28 kB / 0.5208 GB, free: 32.97 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3615, allocations: 0 / 0.5208 GB, free: 32.97 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004544/0.3619, allocations: 60.19 kB / 0.5209 GB, free: 32.96 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: 1 (result) * Number of discrete states: 1 (result) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.0007014/0.3626, allocations: 0.7179 MB / 0.5216 GB, free: 32.3 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 7.817e-05/0.3627, allocations: 64.75 kB / 0.5216 GB, free: 32.23 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.3627, allocations: 0 / 0.5216 GB, free: 32.23 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 2.409e-05/0.3628, allocations: 54.28 kB / 0.5217 GB, free: 32.17 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001861/0.363, allocations: 2.781 kB / 0.5217 GB, free: 32.17 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003624/0.3633, allocations: 158.1 kB / 0.5218 GB, free: 31.99 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.663e-05/0.3634, allocations: 0.6722 MB / 0.5225 GB, free: 31.29 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.019e-05/0.3635, allocations: 7.438 kB / 0.5225 GB, free: 31.29 MB / 378.7 MB Notification: Performance of SimCode: time 4e-07/0.3635, allocations: 0 / 0.5225 GB, free: 31.29 MB / 378.7 MB Error: Error building simulator. Build log: clang++ -std=c++14 -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -DFMU_BUILD -DRUNTIME_STATIC_LINKING -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp" -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -I"." "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Resources/C-Sources" -DUSE_LOGGER -c -o OMCppModelicaTest_trunk_cpp_ModelicaTest_Math_TestPolynomialsCalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest_Math_TestPolynomialsCalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Math_TestPolynomialsCalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Math_TestPolynomialsFMU.cpp:11: In file included from /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/FMU2/FMU2Wrapper.cpp:37: In file included from /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/FMU2/FMU2Wrapper.h:44: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/FMU2/FMU2GlobalSettings.h:65:56: warning: returning reference to local temporary object [-Wreturn-stack-address] virtual const string& getVariableFilter() { return "";} ^~ In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Math_TestPolynomialsCalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Math_TestPolynomialsFMU.cpp:11: /var/lib/jenkins1/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) { ^ 2 warnings generated. clang++ -std=c++14 -shared -o ModelicaTest_trunk_cpp_ModelicaTest_Math_TestPolynomials.so OMCppModelicaTest_trunk_cpp_ModelicaTest_Math_TestPolynomialsCalcHelperMain.o -L"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/cpp" -Wl,--no-undefined -L"/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk" "-L/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc" -Wl,-rpath="/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc" "-L/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/" -Wl,-rpath="/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/" "-L/home/hudson/saved_omc/libraries/.openmodelica/binaries/Modelica" -Wl,-rpath="/home/hudson/saved_omc/libraries/.openmodelica/binaries/Modelica" "-L/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Resources/Library/x86_64-linux" -Wl,-rpath="/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Resources/Library/x86_64-linux" "-L/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Resources/Library/linux64" -Wl,-rpath="/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Resources/Library/linux64" "-L/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Resources/Library" -Wl,-rpath="/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Resources/Library" -lModelicaExternalC -lOMCppSystem_static -lOMCppMath_static -lOMCppFMU_static -lOMCppNewton_static -lOMCppDgesvSolver_static -lOMCppSolver_static -lOMCppExtensionUtilities_static -lOMCppModelicaUtilities_static -lOMCppDgesv_static -static-libstdc++ -static-libgcc /usr/bin/ld: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/cpp/libModelicaExternalC.a(ModelicaInternal.c.o): in function `ModelicaInternal_temporaryFileName': /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/SimulationRuntime/ModelicaExternalC/C-Sources/ModelicaInternal.c:682: warning: the use of `tmpnam' is dangerous, better use `mkstemp' /usr/bin/ld: OMCppModelicaTest_trunk_cpp_ModelicaTest_Math_TestPolynomialsCalcHelperMain.o: in function `Functions::Modelica_Math_Matrices_LAPACK_dgelsy__vec(BaseArray const&, BaseArray const&, double, Modelica_Math_Matrices_LAPACK_dgelsy__vecType&)': /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ModelicaTest_trunk_cpp_ModelicaTest.Math.TestPolynomials/./OMCppModelicaTest_trunk_cpp_ModelicaTest_Math_TestPolynomialsFunctions.cpp:154: undefined reference to `dgelsy_' clang: error: linker command failed with exit code 1 (use -v to see invocation) make: *** [ModelicaTest_trunk_cpp_ModelicaTest_Math_TestPolynomials_FMU.makefile:95: ModelicaTest_trunk_cpp_ModelicaTest_Math_TestPolynomials.fmu] Error 1