Notification: Performance of loadModel(Modelica): time 1.479/1.479, allocations: 194.8 MB / 201.1 MB, free: 4.848 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 0.196/1.675, allocations: 46.45 MB / 247.6 MB, free: 4.738 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06458/1.74, allocations: 44.5 MB / 292.1 MB, free: 8.926 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5439/2.284, allocations: 276.5 MB / 0.5552 GB, free: 88.21 MB / 392.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001943/2.284, allocations: 80.03 kB / 0.5553 GB, free: 88.13 MB / 392.6 MB Notification: Performance of Generate backend data structure: time 8.477/10.76, allocations: 2.208 GB / 2.764 GB, free: 23.34 MB / 0.4928 GB Notification: Performance of prepare preOptimizeDAE: time 3.837e-05/10.76, allocations: 12.03 kB / 2.764 GB, free: 23.34 MB / 0.4928 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01468/10.78, allocations: 1.264 MB / 2.765 GB, free: 22.93 MB / 0.4928 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02472/10.8, allocations: 6.521 MB / 2.771 GB, free: 21.7 MB / 0.4928 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004555/10.8, allocations: 186.7 kB / 2.771 GB, free: 21.7 MB / 0.4928 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002778/10.8, allocations: 330 kB / 2.772 GB, free: 21.69 MB / 0.4928 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01994/10.82, allocations: 7.872 MB / 2.779 GB, free: 21.67 MB / 0.4928 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02535/10.85, allocations: 8.872 MB / 2.788 GB, free: 20.14 MB / 0.4928 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002098/10.85, allocations: 18.81 kB / 2.788 GB, free: 20.13 MB / 0.4928 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00249/10.85, allocations: 18.53 kB / 2.788 GB, free: 20.13 MB / 0.4928 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007392/10.85, allocations: 0.6331 MB / 2.789 GB, free: 20.11 MB / 0.4928 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07401/10.93, allocations: 34.58 MB / 2.822 GB, free: 11.05 MB / 0.5084 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01225/10.94, allocations: 6.047 MB / 2.828 GB, free: 5.703 MB / 0.5084 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007766/10.95, allocations: 3.661 MB / 2.832 GB, free: 2.449 MB / 0.5084 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2553/11.2, allocations: 5.703 MB / 2.837 GB, free: 57.74 MB / 0.5084 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.428e-05/11.2, allocations: 98.73 kB / 2.838 GB, free: 57.7 MB / 0.5084 GB Notification: Performance of pre-optimization done (n=500): time 1.821e-05/11.2, allocations: 2.625 kB / 2.838 GB, free: 57.7 MB / 0.5084 GB Notification: Performance of matching and sorting (n=632): time 0.2091/11.41, allocations: 39.7 MB / 2.876 GB, free: 54.11 MB / 0.5084 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.256e-05/11.41, allocations: 171.5 kB / 2.876 GB, free: 53.98 MB / 0.5084 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00684/11.42, allocations: 3.245 MB / 2.88 GB, free: 53.66 MB / 0.5084 GB Notification: Performance of collectPreVariables (initialization): time 0.001878/11.42, allocations: 36.11 kB / 2.88 GB, free: 53.63 MB / 0.5084 GB Notification: Performance of collectInitialEqns (initialization): time 0.002335/11.42, allocations: 2.703 MB / 2.882 GB, free: 52.69 MB / 0.5084 GB Notification: Performance of collectInitialBindings (initialization): time 0.003215/11.43, allocations: 2.079 MB / 2.884 GB, free: 51.47 MB / 0.5084 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009338/11.43, allocations: 3.906 kB / 2.884 GB, free: 51.47 MB / 0.5084 GB Notification: Performance of setup shared object (initialization): time 0.0005162/11.43, allocations: 0.5986 MB / 2.885 GB, free: 51.14 MB / 0.5084 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008431/11.44, allocations: 3.956 MB / 2.889 GB, free: 51.13 MB / 0.5084 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01047/11.45, allocations: 5.59 MB / 2.894 GB, free: 49.46 MB / 0.5084 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05548/11.5, allocations: 8.844 MB / 2.903 GB, free: 49.38 MB / 0.5084 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.985e-05/11.5, allocations: 17.31 kB / 2.903 GB, free: 49.37 MB / 0.5084 GB Notification: Performance of matching and sorting (n=917) (initialization): time 0.07596/11.58, allocations: 15.68 MB / 2.918 GB, free: 48.84 MB / 0.5084 GB Notification: Performance of prepare postOptimizeDAE: time 0.003459/11.58, allocations: 17.65 MB / 2.935 GB, free: 30.42 MB / 0.5084 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002054/11.58, allocations: 48.78 kB / 2.936 GB, free: 30.42 MB / 0.5084 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01303/11.59, allocations: 3.581 MB / 2.939 GB, free: 30.23 MB / 0.5084 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007769/11.6, allocations: 1.471 MB / 2.94 GB, free: 30.23 MB / 0.5084 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02882/11.63, allocations: 18.88 MB / 2.959 GB, free: 18.24 MB / 0.5084 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01003/11.64, allocations: 380.7 kB / 2.959 GB, free: 18.21 MB / 0.5084 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002876/11.64, allocations: 0.6882 MB / 2.96 GB, free: 18.21 MB / 0.5084 GB Notification: Performance of prepare postOptimizeDAE: time 1.248e-05/11.64, allocations: 3.5 kB / 2.96 GB, free: 18.21 MB / 0.5084 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.07338/11.72, allocations: 14.94 MB / 2.974 GB, free: 17.82 MB / 0.5084 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001594/11.72, allocations: 47.56 kB / 2.975 GB, free: 17.82 MB / 0.5084 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01096/11.73, allocations: 2.885 MB / 2.977 GB, free: 17.64 MB / 0.5084 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008107/11.74, allocations: 1.502 MB / 2.979 GB, free: 17.64 MB / 0.5084 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03257/11.77, allocations: 22.08 MB / 3 GB, free: 20.36 MB / 0.5241 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00752/11.78, allocations: 369.1 kB / 3.001 GB, free: 20.33 MB / 0.5241 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002562/11.78, allocations: 0.6569 MB / 3.001 GB, free: 20.27 MB / 0.5241 GB Warning: There are iteration variables with default zero start attribute. For more information set -d=initialization. In OMEdit Tools->Options->Simulation->OMCFlags, in OMNotebook call setCommandLineOptions("-d=initialization"). Notification: Performance of prepare postOptimizeDAE: time 0.001163/11.78, allocations: 84.19 kB / 3.001 GB, free: 20.2 MB / 0.5241 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.07119/11.85, allocations: 13.93 MB / 3.015 GB, free: 16.5 MB / 0.5241 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003184/11.86, allocations: 0.5897 MB / 3.016 GB, free: 16.19 MB / 0.5241 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.09637/11.95, allocations: 22.42 MB / 3.038 GB, free: 1.582 MB / 0.5241 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003353/11.95, allocations: 123.1 kB / 3.038 GB, free: 1.477 MB / 0.5241 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.865e-05/11.95, allocations: 0 / 3.038 GB, free: 1.477 MB / 0.5241 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.348/12.3, allocations: 15.87 MB / 3.053 GB, free: 70.63 MB / 0.5241 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1013/12.4, allocations: 29.4 MB / 3.082 GB, free: 68.37 MB / 0.5241 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.653e-05/12.4, allocations: 18.19 kB / 3.082 GB, free: 68.37 MB / 0.5241 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005138/12.41, allocations: 0.8581 MB / 3.083 GB, free: 68.37 MB / 0.5241 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02126/12.43, allocations: 4.399 MB / 3.087 GB, free: 68.18 MB / 0.5241 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00162/12.43, allocations: 170.9 kB / 3.087 GB, free: 68.18 MB / 0.5241 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02448/12.45, allocations: 18.86 MB / 3.106 GB, free: 56.31 MB / 0.5241 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.195e-05/12.45, allocations: 25.28 kB / 3.106 GB, free: 56.31 MB / 0.5241 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.07645/12.53, allocations: 24.37 MB / 3.129 GB, free: 52.26 MB / 0.5241 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006406/12.54, allocations: 1.745 MB / 3.131 GB, free: 51.98 MB / 0.5241 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002714/12.54, allocations: 63.27 kB / 3.131 GB, free: 51.98 MB / 0.5241 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007528/12.55, allocations: 218.9 kB / 3.131 GB, free: 51.97 MB / 0.5241 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001895/12.55, allocations: 454.7 kB / 3.132 GB, free: 51.95 MB / 0.5241 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001259/12.55, allocations: 388.1 kB / 3.132 GB, free: 51.95 MB / 0.5241 GB Notification: Performance of sort global known variables: time 0.005879/12.56, allocations: 2.348 MB / 3.134 GB, free: 51.77 MB / 0.5241 GB Notification: Performance of remove unused functions: time 0.02934/12.59, allocations: 5.977 MB / 3.14 GB, free: 51.77 MB / 0.5241 GB Notification: Performance of Backend phase and start with SimCode phase: time 0.09498/12.68, allocations: 32.39 MB / 3.172 GB, free: 43.55 MB / 0.5241 GB Notification: Performance of simCode: created initialization part: time 0.03738/12.72, allocations: 16.38 MB / 3.188 GB, free: 42.63 MB / 0.5241 GB Notification: Performance of simCode: created event and clocks part: time 2.379e-05/12.72, allocations: 9.156 kB / 3.188 GB, free: 42.63 MB / 0.5241 GB Notification: Performance of simCode: created simulation system equations: time 0.01348/12.73, allocations: 5.606 MB / 3.193 GB, free: 41.07 MB / 0.5241 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01448/12.75, allocations: 2.215 MB / 3.196 GB, free: 40.68 MB / 0.5241 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04418/12.79, allocations: 18.13 MB / 3.213 GB, free: 29.84 MB / 0.5241 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01846/12.81, allocations: 8.33 MB / 3.221 GB, free: 23.06 MB / 0.5241 GB Notification: Performance of SimCode: time 1.05e-06/12.81, allocations: 0 / 3.221 GB, free: 23.06 MB / 0.5241 GB Notification: Performance of translateModelFMU complete: time 2.233/15.04, allocations: 0.7734 GB / 3.995 GB, free: 64.2 MB / 0.5241 GB 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 OMCppModelica_3_2_2_fmi_cpp_Modelica_Fluid_Examples_IncompressibleFluidNetworkCalcHelperMain.o OMCppModelica_3_2_2_fmi_cpp_Modelica_Fluid_Examples_IncompressibleFluidNetworkCalcHelperMain.cpp In file included from OMCppModelica_3_2_2_fmi_cpp_Modelica_Fluid_Examples_IncompressibleFluidNetworkCalcHelperMain.cpp:35: In file included from ./OMCppModelica_3_2_2_fmi_cpp_Modelica_Fluid_Examples_IncompressibleFluidNetworkFMU.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 Modelica_3_2_2_fmi_cpp_Modelica_Fluid_Examples_IncompressibleFluidNetwork.so OMCppModelica_3_2_2_fmi_cpp_Modelica_Fluid_Examples_IncompressibleFluidNetworkCalcHelperMain.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/Modelica 3.2.2/Fluid/Examples" "-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 OMCppModelica_3_2_2_fmi_cpp_Modelica_Fluid_Examples_IncompressibleFluidNetworkCalcHelperMain.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/Modelica_3.2.2_fmi_cpp_Modelica.Fluid.Examples.IncompressibleFluidNetwork/./OMCppModelica_3_2_2_fmi_cpp_Modelica_Fluid_Examples_IncompressibleFluidNetworkFunctions.cpp:16482: undefined reference to `dgelsy_' clang: error: linker command failed with exit code 1 (use -v to see invocation) Modelica_3_2_2_fmi_cpp_Modelica_Fluid_Examples_IncompressibleFluidNetwork_FMU.makefile:93: recipe for target 'Modelica_3_2_2_fmi_cpp_Modelica_Fluid_Examples_IncompressibleFluidNetwork.fmu' failed make: *** [Modelica_3_2_2_fmi_cpp_Modelica_Fluid_Examples_IncompressibleFluidNetwork.fmu] Error 1