Notification: Performance of loadModel(ModelicaTest): time 1.936/1.936, allocations: 235 MB / 241.2 MB, free: 7.441 MB / 200.6 MB Notification: Performance of FrontEnd - loaded program: time 0.2376/2.174, allocations: 56.81 MB / 298.1 MB, free: 8.352 MB / 248.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08678/2.261, allocations: 54.87 MB / 352.9 MB, free: 9.699 MB / 296.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4105/2.671, allocations: 214.7 MB / 0.5543 GB, free: 2.949 MB / 424.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002388/2.672, allocations: 89.73 kB / 0.5544 GB, free: 2.902 MB / 424.6 MB Notification: Performance of Generate backend data structure: time 2.469/5.141, allocations: 0.6472 GB / 1.202 GB, free: 77.32 MB / 488.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/5.141, allocations: 14.2 kB / 1.202 GB, free: 77.32 MB / 488.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00569/5.147, allocations: 375.1 kB / 1.202 GB, free: 77.25 MB / 488.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002675/5.149, allocations: 0.9592 MB / 1.203 GB, free: 76.98 MB / 488.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.16e-05/5.149, allocations: 29 kB / 1.203 GB, free: 76.98 MB / 488.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000302/5.15, allocations: 52.97 kB / 1.203 GB, free: 76.98 MB / 488.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002018/5.152, allocations: 0.7696 MB / 1.204 GB, free: 76.98 MB / 488.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002127/5.154, allocations: 1.026 MB / 1.205 GB, free: 76.71 MB / 488.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.274e-05/5.154, allocations: 0 / 1.205 GB, free: 76.71 MB / 488.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001932/5.154, allocations: 3.969 kB / 1.205 GB, free: 76.71 MB / 488.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.205e-05/5.154, allocations: 21.78 kB / 1.205 GB, free: 76.71 MB / 488.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009584/5.164, allocations: 6.446 MB / 1.211 GB, free: 72.54 MB / 488.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001036/5.165, allocations: 475.8 kB / 1.212 GB, free: 72.51 MB / 488.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004841/5.165, allocations: 234.5 kB / 1.212 GB, free: 72.5 MB / 488.6 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004892/5.166, allocations: 0.754 MB / 1.213 GB, free: 71.65 MB / 488.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.332e-05/5.166, allocations: 49.25 kB / 1.213 GB, free: 71.61 MB / 488.6 MB Notification: Performance of pre-optimization done (n=48): time 3.268e-06/5.166, allocations: 0 / 1.213 GB, free: 71.61 MB / 488.6 MB Notification: Performance of matching and sorting (n=48): time 0.01177/5.178, allocations: 1.221 MB / 1.214 GB, free: 71.52 MB / 488.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.542e-05/5.178, allocations: 187 kB / 1.214 GB, free: 71.3 MB / 488.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001285/5.179, allocations: 0.6937 MB / 1.215 GB, free: 71.16 MB / 488.6 MB Notification: Performance of collectPreVariables (initialization): time 0.0001679/5.179, allocations: 29.45 kB / 1.215 GB, free: 71.12 MB / 488.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003582/5.18, allocations: 0.6108 MB / 1.215 GB, free: 70.82 MB / 488.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002378/5.18, allocations: 166.5 kB / 1.215 GB, free: 70.73 MB / 488.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001058/5.18, allocations: 2.469 kB / 1.215 GB, free: 70.73 MB / 488.6 MB Notification: Performance of setup shared object (initialization): time 8.616e-05/5.18, allocations: 349.7 kB / 1.216 GB, free: 70.42 MB / 488.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006705/5.181, allocations: 284.7 kB / 1.216 GB, free: 70.42 MB / 488.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008264/5.182, allocations: 0.6128 MB / 1.217 GB, free: 69.99 MB / 488.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01514/5.197, allocations: 1.625 MB / 1.218 GB, free: 69.98 MB / 488.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.7e-05/5.197, allocations: 3.938 kB / 1.218 GB, free: 69.98 MB / 488.6 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.01695/5.214, allocations: 2.282 MB / 1.22 GB, free: 69.91 MB / 488.6 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008194/5.215, allocations: 4.174 MB / 1.224 GB, free: 65.57 MB / 488.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.266e-05/5.215, allocations: 10.22 kB / 1.224 GB, free: 65.57 MB / 488.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003029/5.218, allocations: 460.8 kB / 1.225 GB, free: 65.56 MB / 488.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001591/5.219, allocations: 334.9 kB / 1.225 GB, free: 65.56 MB / 488.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004106/5.224, allocations: 1.01 MB / 1.226 GB, free: 65.03 MB / 488.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00193/5.226, allocations: 145.2 kB / 1.226 GB, free: 65 MB / 488.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003582/5.226, allocations: 178.6 kB / 1.227 GB, free: 65 MB / 488.6 MB Notification: Performance of prepare postOptimizeDAE: time 1.085e-05/5.226, allocations: 7.125 kB / 1.227 GB, free: 65 MB / 488.6 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01332/5.239, allocations: 1.907 MB / 1.228 GB, free: 64.97 MB / 488.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.353e-05/5.239, allocations: 7.781 kB / 1.228 GB, free: 64.97 MB / 488.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003083/5.24, allocations: 80.44 kB / 1.228 GB, free: 64.96 MB / 488.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001392/5.241, allocations: 340.7 kB / 1.229 GB, free: 64.96 MB / 488.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001857/5.243, allocations: 1.57 MB / 1.23 GB, free: 63.69 MB / 488.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001363/5.244, allocations: 117.5 kB / 1.23 GB, free: 63.67 MB / 488.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000251/5.245, allocations: 134.3 kB / 1.231 GB, free: 63.67 MB / 488.6 MB Notification: Performance of prepare postOptimizeDAE: time 0.000131/5.245, allocations: 82 kB / 1.231 GB, free: 63.6 MB / 488.6 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01472/5.26, allocations: 1.795 MB / 1.232 GB, free: 63.5 MB / 488.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002458/5.26, allocations: 101.8 kB / 1.233 GB, free: 63.45 MB / 488.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01352/5.273, allocations: 3.326 MB / 1.236 GB, free: 63.24 MB / 488.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.224e-05/5.273, allocations: 15.56 kB / 1.236 GB, free: 63.24 MB / 488.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.995e-06/5.273, allocations: 0 / 1.236 GB, free: 63.24 MB / 488.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.376e-05/5.274, allocations: 3.516 kB / 1.236 GB, free: 63.24 MB / 488.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007017/5.281, allocations: 2.142 MB / 1.238 GB, free: 62.89 MB / 488.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.121e-05/5.281, allocations: 3.188 kB / 1.238 GB, free: 62.89 MB / 488.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006667/5.281, allocations: 148.9 kB / 1.238 GB, free: 62.89 MB / 488.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001373/5.283, allocations: 314.2 kB / 1.238 GB, free: 62.88 MB / 488.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001286/5.283, allocations: 18.77 kB / 1.238 GB, free: 62.88 MB / 488.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001963/5.285, allocations: 0.9625 MB / 1.239 GB, free: 62.35 MB / 488.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.654e-06/5.285, allocations: 5 kB / 1.239 GB, free: 62.35 MB / 488.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005009/5.29, allocations: 1.409 MB / 1.241 GB, free: 62 MB / 488.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007346/5.291, allocations: 344.8 kB / 1.241 GB, free: 61.85 MB / 488.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002624/5.291, allocations: 3.812 kB / 1.241 GB, free: 61.85 MB / 488.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009783/5.292, allocations: 67.25 kB / 1.241 GB, free: 61.85 MB / 488.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001435/5.292, allocations: 56.23 kB / 1.241 GB, free: 61.84 MB / 488.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001009/5.292, allocations: 56.05 kB / 1.241 GB, free: 61.84 MB / 488.6 MB Notification: Performance of sort global known variables: time 0.0008437/5.293, allocations: 0.5194 MB / 1.242 GB, free: 61.73 MB / 488.6 MB Notification: Performance of remove unused functions: time 0.005335/5.298, allocations: 1.17 MB / 1.243 GB, free: 61.53 MB / 488.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.009207/5.308, allocations: 3.23 MB / 1.246 GB, free: 60.16 MB / 488.6 MB Notification: Performance of simCode: created initialization part: time 0.003295/5.311, allocations: 1.416 MB / 1.247 GB, free: 60.04 MB / 488.6 MB Notification: Performance of simCode: created event and clocks part: time 6.771e-06/5.311, allocations: 0 / 1.247 GB, free: 60.04 MB / 488.6 MB Notification: Performance of simCode: created simulation system equations: time 0.0009827/5.312, allocations: 423.3 kB / 1.248 GB, free: 60.03 MB / 488.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002947/5.315, allocations: 406.6 kB / 1.248 GB, free: 60.02 MB / 488.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005422/5.32, allocations: 1.989 MB / 1.25 GB, free: 59.51 MB / 488.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002441/5.323, allocations: 1.702 MB / 1.252 GB, free: 58.79 MB / 488.6 MB Notification: Performance of SimCode: time 1.009e-06/5.323, allocations: 3.125 kB / 1.252 GB, free: 58.79 MB / 488.6 MB Notification: Performance of translateModelFMU complete: time 0.0617/5.385, allocations: 36.31 MB / 1.287 GB, free: 47.48 MB / 488.6 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=5 -DPMC_USE_SUNDIALS -DFMU_BUILD -DRUNTIME_STATIC_LINKING -I"/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/cpp" -I"." -I"." -I"." -DUSE_LOGGER -c -o OMCppModelicaTest_3_2_2_fmi_cpp_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverseCalcHelperMain.o OMCppModelicaTest_3_2_2_fmi_cpp_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverseCalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_2_fmi_cpp_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverseCalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_2_fmi_cpp_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverseFMU.cpp:11: /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/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_fmi_cpp_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse.so OMCppModelicaTest_3_2_2_fmi_cpp_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverseCalcHelperMain.o -L"/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/cpp" -Wl,--no-undefined -lOMCppSystem_static -lOMCppMath_static -lOMCppModelicaUtilities_static -lOMCppFMU_static -lOMCppNewton_static -lOMCppDgesvSolver_static -lOMCppExtensionUtilities_static -lModelicaExternalC -lModelicaStandardTables -lOMCppModelicaUtilities_static -L"/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Fluid/TestComponents/Valves" "-L/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc" -Wl,-rpath="/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc" "-L/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/" -Wl,-rpath="/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/" "-L/var/lib/hudson/.openmodelica/binaries/Modelica" -Wl,-rpath="/var/lib/hudson/.openmodelica/binaries/Modelica" "-L/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Resources/Library/x86_64-linux" -Wl,-rpath="/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Resources/Library/x86_64-linux" "-L/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Resources/Library/linux64" -Wl,-rpath="/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Resources/Library/linux64" "-L/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Resources/Library" -Wl,-rpath="/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Resources/Library" -lModelicaExternalC -lOMCppDgesv_static OMCppModelicaTest_3_2_2_fmi_cpp_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverseCalcHelperMain.o: In function `Functions::Modelica_Math_Matrices_LAPACK_dgelsy__vec(BaseArray&, BaseArray&, double, Modelica_Math_Matrices_LAPACK_dgelsy__vecType&)': /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelicaLibraryTesting/ModelicaTest_3.2.2_fmi_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse/./OMCppModelicaTest_3_2_2_fmi_cpp_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverseFunctions.cpp:4687: undefined reference to `dgelsy_' clang: error: linker command failed with exit code 1 (use -v to see invocation) ModelicaTest_3_2_2_fmi_cpp_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse_FMU.makefile:93: recipe for target 'ModelicaTest_3_2_2_fmi_cpp_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse.fmu' failed make: *** [ModelicaTest_3_2_2_fmi_cpp_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse.fmu] Error 1