Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Math.TestMatrices.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.TestMatrices,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Math_TestMatrices",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestMatrices,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Math_TestMatrices",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001046/0.001046, allocations: 199.7 kB / 16.1 MB, free: 5.703 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.315/1.315, allocations: 226.5 MB / 243.4 MB, free: 8.215 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008907/0.0008907, allocations: 95.66 kB / 295.5 MB, free: 6.871 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.352/0.352, allocations: 44.82 MB / 392.3 MB, free: 35.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002565/0.0002565, allocations: 8.219 kB / 465.4 MB, free: 12.54 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3242/0.3245, allocations: 62.96 MB / 0.516 GB, free: 37.17 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices): time 0.000521/0.3251, allocations: 220.3 kB / 0.5162 GB, free: 37.02 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001493/0.3266, allocations: 1.541 MB / 0.5177 GB, free: 35.91 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.244e-05/0.3266, allocations: 0 / 0.5177 GB, free: 35.91 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.084e-05/0.3266, allocations: 0 / 0.5177 GB, free: 35.91 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 6.603e-06/0.3267, allocations: 3.938 kB / 0.5177 GB, free: 35.91 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Math.mo:171:3-212:15:writable] Warning: Pure function ‘ModelicaTest.Math.Matrices‘ contains a call to impure function ‘Modelica.Utilities.Streams.print‘. Notification: Performance of NFTyping.typeClassSections: time 0.0006461/0.3273, allocations: 246 kB / 0.5179 GB, free: 35.84 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 2.602e-05/0.3273, allocations: 0 / 0.5179 GB, free: 35.84 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.604e-05/0.3274, allocations: 2.938 kB / 0.5179 GB, free: 35.84 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.306e-05/0.3274, allocations: 0 / 0.5179 GB, free: 35.84 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.801e-05/0.3274, allocations: 0 / 0.5179 GB, free: 35.84 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.278e-06/0.3274, allocations: 0 / 0.5179 GB, free: 35.84 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004589/0.3279, allocations: 449.3 kB / 0.5183 GB, free: 35.74 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.751e-06/0.3279, allocations: 0 / 0.5183 GB, free: 35.74 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 2.591e-05/0.3279, allocations: 28.61 kB / 0.5184 GB, free: 35.71 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002239/0.3282, allocations: 207.7 kB / 0.5186 GB, free: 35.68 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.3282, allocations: 0 / 0.5186 GB, free: 35.68 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.3282, allocations: 0 / 0.5186 GB, free: 35.68 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.937e-06/0.3282, allocations: 0 / 0.5186 GB, free: 35.68 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.0002326/0.3284, allocations: 370.6 kB / 0.5189 GB, free: 35.28 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.636e-05/0.3285, allocations: 8.719 kB / 0.5189 GB, free: 35.28 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.472e-05/0.3285, allocations: 34.75 kB / 0.519 GB, free: 35.24 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.307e-05/0.3286, allocations: 4.938 kB / 0.519 GB, free: 35.23 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.086e-05/0.3286, allocations: 163.5 kB / 0.5191 GB, free: 35.04 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.217e-06/0.3286, allocations: 384 / 0.5191 GB, free: 35.04 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.49e-06/0.3286, allocations: 384 / 0.5191 GB, free: 35.04 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.651e-05/0.3287, allocations: 36.34 kB / 0.5192 GB, free: 35 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.3287, allocations: 3.938 kB / 0.5192 GB, free: 35 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.623e-06/0.3287, allocations: 3.938 kB / 0.5192 GB, free: 35 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.3287, allocations: 0 / 0.5192 GB, free: 35 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.522e-05/0.3288, allocations: 2.625 kB / 0.5192 GB, free: 35 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.06e-05/0.3288, allocations: 149 kB / 0.5193 GB, free: 34.8 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.252e-05/0.3289, allocations: 21.08 kB / 0.5193 GB, free: 34.78 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.128e-05/0.3289, allocations: 12.84 kB / 0.5193 GB, free: 34.76 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.818e-06/0.3289, allocations: 6.406 kB / 0.5193 GB, free: 34.76 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.751e-05/0.3289, allocations: 60.2 kB / 0.5194 GB, free: 34.68 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 8.82e-07/0.3289, allocations: 0 / 0.5194 GB, free: 34.68 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001309/0.3291, allocations: 67.66 kB / 0.5195 GB, free: 34.62 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.893e-05/0.3291, allocations: 81.14 kB / 0.5195 GB, free: 34.52 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.968e-05/0.3291, allocations: 93.86 kB / 0.5196 GB, free: 34.42 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.572e-06/0.3292, allocations: 25.7 kB / 0.5197 GB, free: 34.39 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.074e-05/0.3292, allocations: 80.14 kB / 0.5197 GB, free: 34.3 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.691e-05/0.3292, allocations: 2.906 kB / 0.5197 GB, free: 34.3 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.285e-06/0.3292, allocations: 0 / 0.5197 GB, free: 34.3 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.416e-05/0.3293, allocations: 310.8 kB / 0.52 GB, free: 33.99 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.393e-06/0.3293, allocations: 0 / 0.52 GB, free: 33.99 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.401e-06/0.3293, allocations: 6.812 kB / 0.52 GB, free: 33.99 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.935e-05/0.3293, allocations: 66.69 kB / 0.5201 GB, free: 33.91 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.3293, allocations: 0 / 0.5201 GB, free: 33.91 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.615e-05/0.3294, allocations: 61.34 kB / 0.5202 GB, free: 33.85 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.587e-05/0.3294, allocations: 38.84 kB / 0.5202 GB, free: 33.81 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.3294, allocations: 0 / 0.5202 GB, free: 33.81 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.048e-05/0.3294, allocations: 0 / 0.5202 GB, free: 33.81 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.345e-06/0.3294, allocations: 6.969 kB / 0.5202 GB, free: 33.81 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.027e-06/0.3294, allocations: 0 / 0.5202 GB, free: 33.81 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.465e-05/0.3295, allocations: 4.094 kB / 0.5202 GB, free: 33.8 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.31e-06/0.3295, allocations: 0 / 0.5202 GB, free: 33.8 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 4.844e-05/0.3295, allocations: 134.6 kB / 0.5203 GB, free: 33.66 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.872e-06/0.3295, allocations: 3.938 kB / 0.5203 GB, free: 33.66 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.657e-06/0.3296, allocations: 6.359 kB / 0.5203 GB, free: 33.66 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.3296, allocations: 3.281 kB / 0.5204 GB, free: 33.66 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.3296, allocations: 0 / 0.5204 GB, free: 33.66 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.3296, allocations: 0 / 0.5204 GB, free: 33.66 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.117e-05/0.3296, allocations: 149.6 kB / 0.5205 GB, free: 33.46 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.82e-07/0.3296, allocations: 4 kB / 0.5205 GB, free: 33.46 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.513e-06/0.3296, allocations: 2.938 kB / 0.5205 GB, free: 33.46 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.3296, allocations: 7.172 kB / 0.5205 GB, free: 33.45 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.59e-06/0.3297, allocations: 0 / 0.5205 GB, free: 33.45 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.3297, allocations: 3.938 kB / 0.5205 GB, free: 33.45 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.3297, allocations: 0 / 0.5205 GB, free: 33.45 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.852e-05/0.3297, allocations: 89.62 kB / 0.5206 GB, free: 33.35 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.348e-05/0.3297, allocations: 81.05 kB / 0.5207 GB, free: 33.25 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.145e-05/0.3298, allocations: 8 kB / 0.5207 GB, free: 33.25 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.065e-06/0.3298, allocations: 0 / 0.5207 GB, free: 33.25 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.094e-05/0.3298, allocations: 0 / 0.5207 GB, free: 33.25 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.184e-06/0.3298, allocations: 0 / 0.5207 GB, free: 33.25 MB / 378.7 MB Notification: Performance of sorting global known variables: time 1.143e-05/0.3298, allocations: 83.22 kB / 0.5208 GB, free: 33.17 MB / 378.7 MB Notification: Performance of sort global known variables: time 9e-08/0.3298, allocations: 0 / 0.5208 GB, free: 33.17 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002806/0.3301, allocations: 64.5 kB / 0.5208 GB, free: 33.16 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.0005185/0.3306, allocations: 0.7196 MB / 0.5215 GB, free: 32.49 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 6.844e-05/0.3307, allocations: 57.78 kB / 0.5216 GB, free: 32.43 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.3307, allocations: 2.875 kB / 0.5216 GB, free: 32.43 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 1.711e-05/0.3307, allocations: 54.41 kB / 0.5216 GB, free: 32.37 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001252/0.3309, allocations: 0 / 0.5216 GB, free: 32.37 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002629/0.3311, allocations: 151.9 kB / 0.5218 GB, free: 32.19 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.17e-05/0.3312, allocations: 0.6791 MB / 0.5224 GB, free: 31.49 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.102e-05/0.3313, allocations: 7.438 kB / 0.5225 GB, free: 31.48 MB / 378.7 MB Notification: Performance of SimCode: time 2.1e-07/0.3313, allocations: 3.938 kB / 0.5225 GB, free: 31.48 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_TestMatricesCalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest_Math_TestMatricesCalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Math_TestMatricesCalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Math_TestMatricesFMU.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_TestMatricesCalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Math_TestMatricesFMU.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_TestMatrices.so OMCppModelicaTest_trunk_cpp_ModelicaTest_Math_TestMatricesCalcHelperMain.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_TestMatricesCalcHelperMain.o: in function `Functions::Modelica_Math_Matrices_LAPACK_dgglse__vec(BaseArray const&, BaseArray const&, BaseArray const&, BaseArray const&, Modelica_Math_Matrices_LAPACK_dgglse__vecType&)': /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ModelicaTest_trunk_cpp_ModelicaTest.Math.TestMatrices/./OMCppModelicaTest_trunk_cpp_ModelicaTest_Math_TestMatricesFunctions.cpp:246: undefined reference to `dgglse_' /usr/bin/ld: OMCppModelicaTest_trunk_cpp_ModelicaTest_Math_TestMatricesCalcHelperMain.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.TestMatrices/./OMCppModelicaTest_trunk_cpp_ModelicaTest_Math_TestMatricesFunctions.cpp:208: undefined reference to `dgelsy_' clang: error: linker command failed with exit code 1 (use -v to see invocation) make: *** [ModelicaTest_trunk_cpp_ModelicaTest_Math_TestMatrices_FMU.makefile:95: ModelicaTest_trunk_cpp_ModelicaTest_Math_TestMatrices.fmu] Error 1