Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Math.TestMatrices2.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.TestMatrices2,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Math_TestMatrices2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestMatrices2,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Math_TestMatrices2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001014/0.001014, allocations: 193.1 kB / 16.1 MB, free: 5.551 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.308/1.308, allocations: 226.5 MB / 243.4 MB, free: 8.195 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009884/0.0009884, allocations: 97.09 kB / 295.5 MB, free: 6.863 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3764/0.3764, allocations: 44.82 MB / 392.3 MB, free: 35.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002774/0.0002777, allocations: 8 kB / 465.4 MB, free: 12.55 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.31/0.3103, allocations: 62.96 MB / 0.516 GB, free: 37.11 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2): time 0.0004938/0.3108, allocations: 217.2 kB / 0.5162 GB, free: 36.96 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.005025/0.3158, allocations: 4.613 MB / 0.5207 GB, free: 33.91 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.249e-05/0.3159, allocations: 0 / 0.5207 GB, free: 33.91 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.287e-05/0.3159, allocations: 0 / 0.5207 GB, free: 33.91 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 7.003e-06/0.3159, allocations: 0 / 0.5207 GB, free: 33.91 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Math.mo:214:3-483:16:writable] Warning: Pure function ‘ModelicaTest.Math.Matrices2‘ contains a call to impure function ‘Modelica.Utilities.Streams.print‘. Notification: Performance of NFTyping.typeClassSections: time 0.005131/0.321, allocations: 2.579 MB / 0.5232 GB, free: 33.11 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 2.891e-05/0.3211, allocations: 2.906 kB / 0.5232 GB, free: 33.11 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.994e-05/0.3211, allocations: 3.516 kB / 0.5232 GB, free: 33.11 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.419e-05/0.3212, allocations: 3.984 kB / 0.5232 GB, free: 33.11 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.65e-05/0.3212, allocations: 6.844 kB / 0.5232 GB, free: 33.1 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.688e-06/0.3212, allocations: 4 kB / 0.5232 GB, free: 33.1 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03018/0.3514, allocations: 19.8 MB / 0.5425 GB, free: 29.96 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.423e-05/0.3514, allocations: 7.984 kB / 0.5425 GB, free: 29.95 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.223e-05/0.3515, allocations: 26.22 kB / 0.5426 GB, free: 29.92 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02649/0.378, allocations: 20.34 MB / 0.5624 GB, free: 9.777 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.042e-06/0.378, allocations: 4 kB / 0.5624 GB, free: 9.773 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.854e-06/0.378, allocations: 4 kB / 0.5624 GB, free: 9.77 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.137e-06/0.378, allocations: 0 / 0.5624 GB, free: 9.77 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.006292/0.3843, allocations: 0.6495 MB / 0.5631 GB, free: 9.066 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.3844, allocations: 8.031 kB / 0.5631 GB, free: 9.059 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.08e-05/0.3844, allocations: 30.75 kB / 0.5631 GB, free: 9.02 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.17e-05/0.3844, allocations: 4.938 kB / 0.5631 GB, free: 9.016 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.194e-05/0.3845, allocations: 168.8 kB / 0.5633 GB, free: 8.812 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.177e-06/0.3845, allocations: 0 / 0.5633 GB, free: 8.812 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.584e-06/0.3845, allocations: 4 kB / 0.5633 GB, free: 8.809 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.318e-05/0.3846, allocations: 33.69 kB / 0.5633 GB, free: 8.77 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.542e-06/0.3846, allocations: 7.875 kB / 0.5633 GB, free: 8.762 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.662e-06/0.3846, allocations: 0 / 0.5633 GB, free: 8.762 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.456e-06/0.3846, allocations: 0 / 0.5633 GB, free: 8.762 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.39e-05/0.3846, allocations: 0 / 0.5633 GB, free: 8.762 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.474e-05/0.3847, allocations: 153.6 kB / 0.5635 GB, free: 8.562 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 2.616e-05/0.3847, allocations: 14.58 kB / 0.5635 GB, free: 8.539 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.155e-05/0.3847, allocations: 8.859 kB / 0.5635 GB, free: 8.527 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.79e-06/0.3848, allocations: 0 / 0.5635 GB, free: 8.527 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.438e-05/0.3848, allocations: 64.34 kB / 0.5636 GB, free: 8.449 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 8.01e-07/0.3848, allocations: 0 / 0.5636 GB, free: 8.449 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001269/0.3849, allocations: 67.34 kB / 0.5636 GB, free: 8.371 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.206e-05/0.3849, allocations: 77.11 kB / 0.5637 GB, free: 8.277 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.445e-05/0.385, allocations: 89.86 kB / 0.5638 GB, free: 8.18 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.689e-06/0.385, allocations: 29.83 kB / 0.5638 GB, free: 8.145 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.825e-06/0.385, allocations: 80.14 kB / 0.5639 GB, free: 8.062 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.472e-05/0.385, allocations: 3.984 kB / 0.5639 GB, free: 8.059 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.753e-06/0.385, allocations: 0 / 0.5639 GB, free: 8.059 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 3.323e-05/0.3851, allocations: 318.8 kB / 0.5642 GB, free: 7.738 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.392e-06/0.3851, allocations: 0 / 0.5642 GB, free: 7.738 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.378e-06/0.3851, allocations: 0 / 0.5642 GB, free: 7.738 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.701e-05/0.3851, allocations: 68.2 kB / 0.5643 GB, free: 7.656 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.3851, allocations: 4.062 kB / 0.5643 GB, free: 7.652 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.641e-05/0.3852, allocations: 67.33 kB / 0.5643 GB, free: 7.574 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/0.3852, allocations: 32.67 kB / 0.5644 GB, free: 7.539 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.352e-05/0.3852, allocations: 0 / 0.5644 GB, free: 7.539 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.003e-05/0.3853, allocations: 0 / 0.5644 GB, free: 7.539 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.21e-07/0.3853, allocations: 0 / 0.5644 GB, free: 7.539 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.3853, allocations: 4 kB / 0.5644 GB, free: 7.535 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.651e-05/0.3853, allocations: 7.844 kB / 0.5644 GB, free: 7.527 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.381e-06/0.3853, allocations: 0 / 0.5644 GB, free: 7.527 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.392e-05/0.3854, allocations: 143.6 kB / 0.5645 GB, free: 7.371 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.452e-06/0.3854, allocations: 0 / 0.5645 GB, free: 7.371 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.224e-06/0.3854, allocations: 7.109 kB / 0.5645 GB, free: 7.367 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.02e-07/0.3854, allocations: 0 / 0.5645 GB, free: 7.367 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.3854, allocations: 0 / 0.5645 GB, free: 7.367 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.3854, allocations: 3.938 kB / 0.5645 GB, free: 7.363 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.412e-05/0.3854, allocations: 145.7 kB / 0.5647 GB, free: 7.172 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.41e-07/0.3855, allocations: 0 / 0.5647 GB, free: 7.172 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.072e-06/0.3855, allocations: 4 kB / 0.5647 GB, free: 7.168 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.52e-07/0.3855, allocations: 0 / 0.5647 GB, free: 7.168 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.081e-06/0.3855, allocations: 3.984 kB / 0.5647 GB, free: 7.164 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.3855, allocations: 11.92 kB / 0.5647 GB, free: 7.152 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.3855, allocations: 3.938 kB / 0.5647 GB, free: 7.148 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.917e-05/0.3855, allocations: 90.78 kB / 0.5648 GB, free: 7.035 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.1e-05/0.3856, allocations: 77.11 kB / 0.5648 GB, free: 6.941 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.138e-05/0.3856, allocations: 3.984 kB / 0.5648 GB, free: 6.938 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.002e-05/0.3856, allocations: 4 kB / 0.5648 GB, free: 6.934 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.436e-06/0.3856, allocations: 0 / 0.5648 GB, free: 6.934 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.805e-06/0.3856, allocations: 7.969 kB / 0.5649 GB, free: 6.926 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.155e-06/0.3856, allocations: 75.28 kB / 0.5649 GB, free: 6.852 MB / 378.7 MB Notification: Performance of sort global known variables: time 1e-07/0.3856, allocations: 0 / 0.5649 GB, free: 6.852 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.008526/0.3942, allocations: 3.781 MB / 0.5686 GB, free: 3.07 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.01726/0.4114, allocations: 1.489 MB / 0.5701 GB, free: 1.566 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 9.975e-05/0.4116, allocations: 59.41 kB / 0.5701 GB, free: 1.496 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.4116, allocations: 0 / 0.5701 GB, free: 1.496 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 1.597e-05/0.4116, allocations: 55.34 kB / 0.5702 GB, free: 1.43 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001288/0.4117, allocations: 7.938 kB / 0.5702 GB, free: 1.422 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00506/0.4168, allocations: 361.9 kB / 0.5705 GB, free: 1.02 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.47e-05/0.4169, allocations: 0.6772 MB / 0.5712 GB, free: 324 kB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.518e-05/0.4169, allocations: 11.44 kB / 0.5712 GB, free: 316 kB / 378.7 MB Notification: Performance of SimCode: time 5.61e-07/0.4169, allocations: 0 / 0.5712 GB, free: 316 kB / 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_TestMatrices2CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest_Math_TestMatrices2CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Math_TestMatrices2CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Math_TestMatrices2Functions.cpp:5566:5: warning: expression result unused [-Wunused-value] tmp859; ^~~~~~ ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Math_TestMatrices2Functions.cpp:5603:5: warning: expression result unused [-Wunused-value] tmp869; ^~~~~~ In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Math_TestMatrices2CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Math_TestMatrices2FMU.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_TestMatrices2CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Math_TestMatrices2FMU.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) { ^ 4 warnings generated. clang++ -std=c++14 -shared -o ModelicaTest_trunk_cpp_ModelicaTest_Math_TestMatrices2.so OMCppModelicaTest_trunk_cpp_ModelicaTest_Math_TestMatrices2CalcHelperMain.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_TestMatrices2CalcHelperMain.o: in function `Functions::Modelica_Math_Matrices_LAPACK_dpotrf(BaseArray const&, bool, Modelica_Math_Matrices_LAPACK_dpotrfType&)': /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ModelicaTest_trunk_cpp_ModelicaTest.Math.TestMatrices2/./OMCppModelicaTest_trunk_cpp_ModelicaTest_Math_TestMatrices2Functions.cpp:3332: undefined reference to `dpotrf_' /usr/bin/ld: OMCppModelicaTest_trunk_cpp_ModelicaTest_Math_TestMatrices2CalcHelperMain.o: in function `Functions::Modelica_Math_Matrices_LAPACK_dgesvx(BaseArray const&, BaseArray const&, bool, Modelica_Math_Matrices_LAPACK_dgesvxType&)': /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ModelicaTest_trunk_cpp_ModelicaTest.Math.TestMatrices2/./OMCppModelicaTest_trunk_cpp_ModelicaTest_Math_TestMatrices2Functions.cpp:3068: undefined reference to `dgesvx_' /usr/bin/ld: OMCppModelicaTest_trunk_cpp_ModelicaTest_Math_TestMatrices2CalcHelperMain.o: in function `Functions::Modelica_Math_Matrices_LAPACK_dtrsyl(BaseArray const&, BaseArray const&, BaseArray const&, bool, bool, int, Modelica_Math_Matrices_LAPACK_dtrsylType&)': /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ModelicaTest_trunk_cpp_ModelicaTest.Math.TestMatrices2/./OMCppModelicaTest_trunk_cpp_ModelicaTest_Math_TestMatrices2Functions.cpp:3507: undefined reference to `dtrsyl_' /usr/bin/ld: OMCppModelicaTest_trunk_cpp_ModelicaTest_Math_TestMatrices2CalcHelperMain.o: in function `Functions::Modelica_Math_Matrices_LAPACK_dorghr(BaseArray const&, int, int, BaseArray const&, Modelica_Math_Matrices_LAPACK_dorghrType&)': /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ModelicaTest_trunk_cpp_ModelicaTest.Math.TestMatrices2/./OMCppModelicaTest_trunk_cpp_ModelicaTest_Math_TestMatrices2Functions.cpp:3295: undefined reference to `dorghr_' /usr/bin/ld: OMCppModelicaTest_trunk_cpp_ModelicaTest_Math_TestMatrices2CalcHelperMain.o: in function `Functions::Modelica_Math_Matrices_LAPACK_dgetri(BaseArray const&, BaseArray const&, Modelica_Math_Matrices_LAPACK_dgetriType&)': /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ModelicaTest_trunk_cpp_ModelicaTest.Math.TestMatrices2/./OMCppModelicaTest_trunk_cpp_ModelicaTest_Math_TestMatrices2Functions.cpp:3141: undefined reference to `dgetri_' /usr/bin/ld: OMCppModelicaTest_trunk_cpp_ModelicaTest_Math_TestMatrices2CalcHelperMain.o: in function `Functions::Modelica_Math_Matrices_LAPACK_dlange(BaseArray const&, std::__cxx11::basic_string, std::allocator >, double&)': /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ModelicaTest_trunk_cpp_ModelicaTest.Math.TestMatrices2/./OMCppModelicaTest_trunk_cpp_ModelicaTest_Math_TestMatrices2Functions.cpp:3267: undefined reference to `dlange_' /usr/bin/ld: OMCppModelicaTest_trunk_cpp_ModelicaTest_Math_TestMatrices2CalcHelperMain.o: in function `Functions::Modelica_Math_Matrices_LAPACK_dgecon(BaseArray const&, bool, double, Modelica_Math_Matrices_LAPACK_dgeconType&)': /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ModelicaTest_trunk_cpp_ModelicaTest.Math.TestMatrices2/./OMCppModelicaTest_trunk_cpp_ModelicaTest_Math_TestMatrices2Functions.cpp:2782: undefined reference to `dgecon_' /usr/bin/ld: OMCppModelicaTest_trunk_cpp_ModelicaTest_Math_TestMatrices2CalcHelperMain.o: in function `Functions::Modelica_Math_Matrices_LAPACK_dgees(BaseArray const&, Modelica_Math_Matrices_LAPACK_dgeesType&)': /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ModelicaTest_trunk_cpp_ModelicaTest.Math.TestMatrices2/./OMCppModelicaTest_trunk_cpp_ModelicaTest_Math_TestMatrices2Functions.cpp:2841: undefined reference to `dgees_' /usr/bin/ld: OMCppModelicaTest_trunk_cpp_ModelicaTest_Math_TestMatrices2CalcHelperMain.o: in function `Functions::Modelica_Math_Matrices_LAPACK_dgesvd(BaseArray const&, Modelica_Math_Matrices_LAPACK_dgesvdType&)': /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ModelicaTest_trunk_cpp_ModelicaTest.Math.TestMatrices2/./OMCppModelicaTest_trunk_cpp_ModelicaTest_Math_TestMatrices2Functions.cpp:3011: undefined reference to `dgesvd_' /usr/bin/ld: OMCppModelicaTest_trunk_cpp_ModelicaTest_Math_TestMatrices2CalcHelperMain.o: in function `Functions::Modelica_Math_Matrices_LAPACK_dgehrd(BaseArray const&, int, int, Modelica_Math_Matrices_LAPACK_dgehrdType&)': /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ModelicaTest_trunk_cpp_ModelicaTest.Math.TestMatrices2/./OMCppModelicaTest_trunk_cpp_ModelicaTest_Math_TestMatrices2Functions.cpp:2885: undefined reference to `dgehrd_' /usr/bin/ld: OMCppModelicaTest_trunk_cpp_ModelicaTest_Math_TestMatrices2CalcHelperMain.o: in function `Functions::Modelica_Math_Matrices_LAPACK_dhseqr(BaseArray const&, bool, std::__cxx11::basic_string, std::allocator >, BaseArray const&, Modelica_Math_Matrices_LAPACK_dhseqrType&)': /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ModelicaTest_trunk_cpp_ModelicaTest.Math.TestMatrices2/./OMCppModelicaTest_trunk_cpp_ModelicaTest_Math_TestMatrices2Functions.cpp:3235: undefined reference to `dhseqr_' /usr/bin/ld: OMCppModelicaTest_trunk_cpp_ModelicaTest_Math_TestMatrices2CalcHelperMain.o: in function `Functions::Modelica_Math_Matrices_LAPACK_dtrsen(std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, BaseArray const&, BaseArray const&, BaseArray const&, Modelica_Math_Matrices_LAPACK_dtrsenType&)': /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ModelicaTest_trunk_cpp_ModelicaTest.Math.TestMatrices2/./OMCppModelicaTest_trunk_cpp_ModelicaTest_Math_TestMatrices2Functions.cpp:3434: undefined reference to `dtrsen_' clang: error: linker command failed with exit code 1 (use -v to see invocation) make: *** [ModelicaTest_trunk_cpp_ModelicaTest_Math_TestMatrices2_FMU.makefile:95: ModelicaTest_trunk_cpp_ModelicaTest_Math_TestMatrices2.fmu] Error 1