Running command: "" <> buildModelFMU(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Math_TestMatricesExamplesSolveLinearEquations",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.546/2.546, allocations: 270 MB / 282.7 MB, free: 1.832 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.704e-05/3.713e-05, allocations: 4 kB / 347 MB, free: 3.121 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.431/0.4311, allocations: 61.87 MB / 408.9 MB, free: 10.67 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2282/0.6594, allocations: 90.37 MB / 499.3 MB, free: 180 kB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002911/0.6597, allocations: 63.97 kB / 499.3 MB, free: 116 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05214/0.7119, allocations: 7.43 MB / 0.4949 GB, free: 8.664 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.657e-06/0.712, allocations: 4 kB / 0.4949 GB, free: 8.66 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.611e-06/0.712, allocations: 3.938 kB / 0.4949 GB, free: 8.656 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0006001/0.7126, allocations: 394.4 kB / 0.4953 GB, free: 8.227 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.875e-05/0.7126, allocations: 8.031 kB / 0.4953 GB, free: 8.219 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.568e-05/0.7127, allocations: 105.8 kB / 0.4954 GB, free: 8.105 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.131e-05/0.7128, allocations: 79.23 kB / 0.4955 GB, free: 8.027 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001315/0.7129, allocations: 234.4 kB / 0.4957 GB, free: 7.758 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.532e-05/0.7131, allocations: 162.6 kB / 0.4958 GB, free: 7.598 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.098e-05/0.7131, allocations: 150.6 kB / 0.496 GB, free: 7.449 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.013e-05/0.7132, allocations: 104.9 kB / 0.4961 GB, free: 7.34 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.242e-05/0.7133, allocations: 75.28 kB / 0.4962 GB, free: 7.266 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.071e-05/0.7133, allocations: 154.5 kB / 0.4963 GB, free: 7.113 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.685e-05/0.7134, allocations: 150.6 kB / 0.4965 GB, free: 6.965 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.812e-05/0.7135, allocations: 158.5 kB / 0.4966 GB, free: 6.809 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003112/0.7138, allocations: 446 kB / 0.497 GB, free: 6.324 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.632e-05/0.7139, allocations: 169.1 kB / 0.4972 GB, free: 6.148 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.608e-05/0.714, allocations: 80.14 kB / 0.4973 GB, free: 6.066 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.652e-05/0.714, allocations: 79.28 kB / 0.4973 GB, free: 5.988 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.686e-05/0.7141, allocations: 105.8 kB / 0.4974 GB, free: 5.875 MB / 426.7 MB Notification: Performance of pre-optimization done (n=0): time 2.355e-06/0.7141, allocations: 0 / 0.4974 GB, free: 5.875 MB / 426.7 MB Notification: Performance of matching and sorting (n=0): time 8.583e-05/0.7142, allocations: 29.7 kB / 0.4975 GB, free: 5.84 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.561e-05/0.7143, allocations: 156.4 kB / 0.4976 GB, free: 5.668 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.834e-05/0.7143, allocations: 85 kB / 0.4977 GB, free: 5.578 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.839e-05/0.7144, allocations: 29.7 kB / 0.4977 GB, free: 5.543 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.556e-05/0.7144, allocations: 162.4 kB / 0.4979 GB, free: 5.383 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.863e-06/0.7144, allocations: 0 / 0.4979 GB, free: 5.383 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.936e-06/0.7145, allocations: 0 / 0.4979 GB, free: 5.383 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000132/0.7146, allocations: 318.7 kB / 0.4982 GB, free: 5.062 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.098e-06/0.7146, allocations: 0 / 0.4982 GB, free: 5.062 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.304e-05/0.7146, allocations: 4 kB / 0.4982 GB, free: 5.059 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.379e-05/0.7147, allocations: 75.28 kB / 0.4983 GB, free: 4.984 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-05/0.7147, allocations: 75.28 kB / 0.4983 GB, free: 4.91 MB / 426.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.977e-05/0.7148, allocations: 29.73 kB / 0.4984 GB, free: 4.875 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.088e-05/0.7149, allocations: 83.28 kB / 0.4984 GB, free: 4.793 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.519e-05/0.7149, allocations: 75.28 kB / 0.4985 GB, free: 4.719 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.072e-05/0.715, allocations: 154.5 kB / 0.4987 GB, free: 4.566 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.684e-05/0.715, allocations: 79.27 kB / 0.4987 GB, free: 4.488 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-05/0.7151, allocations: 154.6 kB / 0.4989 GB, free: 4.336 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.181e-05/0.7152, allocations: 83.22 kB / 0.499 GB, free: 4.254 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.094e-05/0.7152, allocations: 79.33 kB / 0.499 GB, free: 4.176 MB / 426.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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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 0.0001281/0.7154, allocations: 259.5 kB / 0.4993 GB, free: 3.914 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.718e-05/0.7155, allocations: 105 kB / 0.4994 GB, free: 3.805 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.007e-05/0.7155, allocations: 112 kB / 0.4995 GB, free: 3.684 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.487e-05/0.7156, allocations: 176.3 kB / 0.4997 GB, free: 3.504 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.14e-05/0.7157, allocations: 180.3 kB / 0.4998 GB, free: 3.32 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.778e-05/0.7158, allocations: 184.2 kB / 0.5 GB, free: 3.133 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002818/0.7161, allocations: 405.2 kB / 0.5004 GB, free: 2.68 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.347e-05/0.7161, allocations: 101 kB / 0.5005 GB, free: 2.574 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.638e-05/0.7162, allocations: 104.9 kB / 0.5006 GB, free: 2.465 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.517e-05/0.7163, allocations: 184.3 kB / 0.5008 GB, free: 2.277 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.547e-05/0.7164, allocations: 176.3 kB / 0.5009 GB, free: 2.098 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.258e-05/0.7164, allocations: 181 kB / 0.5011 GB, free: 1.914 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.721e-05/0.7165, allocations: 184.2 kB / 0.5013 GB, free: 1.727 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001621/0.7167, allocations: 311.7 kB / 0.5016 GB, free: 1.398 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.798e-05/0.7168, allocations: 178.1 kB / 0.5018 GB, free: 1.199 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.428e-05/0.7169, allocations: 188.2 kB / 0.5019 GB, free: 1.008 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001278/0.717, allocations: 104.9 kB / 0.502 GB, free: 0.8984 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.696e-05/0.7171, allocations: 176.7 kB / 0.5022 GB, free: 0.7188 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.863e-05/0.7172, allocations: 101 kB / 0.5023 GB, free: 0.6133 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.953e-05/0.7172, allocations: 83.22 kB / 0.5024 GB, free: 0.5312 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.1e-07/0.7172, allocations: 3.938 kB / 0.5024 GB, free: 0.5273 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0009654/0.7182, allocations: 183.7 kB / 0.5026 GB, free: 356 kB / 426.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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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.001491/0.7197, allocations: 1.02 MB / 0.5035 GB, free: 15.32 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 4.925e-05/0.7198, allocations: 3.938 kB / 0.5036 GB, free: 15.32 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.7198, allocations: 3.938 kB / 0.5036 GB, free: 15.32 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 4.047e-06/0.7198, allocations: 4 kB / 0.5036 GB, free: 15.31 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000331/0.7202, allocations: 0.5146 MB / 0.5041 GB, free: 14.79 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005714/0.7208, allocations: 247.5 kB / 0.5043 GB, free: 14.51 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003113/0.7211, allocations: 0.6809 MB / 0.505 GB, free: 13.8 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.772e-05/0.7211, allocations: 7.438 kB / 0.505 GB, free: 13.79 MB / 442.7 MB Notification: Performance of SimCode: time 2.936e-06/0.7211, allocations: 0 / 0.505 GB, free: 13.79 MB / 442.7 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=6 -DPMC_USE_SUNDIALS -DFMU_BUILD -DRUNTIME_STATIC_LINKING -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp" -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -I"." "-I/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Resources/C-Sources" -DUSE_LOGGER -c -o OMCppModelicaTest_trunk_cpp_ModelicaTest_Math_TestMatricesExamplesSolveLinearEquationsCalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest_Math_TestMatricesExamplesSolveLinearEquationsCalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Math_TestMatricesExamplesSolveLinearEquationsCalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Math_TestMatricesExamplesSolveLinearEquationsFunctions.cpp:264:57: error: use of undeclared identifier '_omcQuot_24746D7056617238_'; did you mean '_omcQuot_24746D7056617239_'? _omcQuot_24746D7056617239_ = std::abs(_omcQuot_24746D7056617238_); ^~~~~~~~~~~~~~~~~~~~~~~~~~ _omcQuot_24746D7056617239_ ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Math_TestMatricesExamplesSolveLinearEquationsFunctions.cpp:236:22: note: '_omcQuot_24746D7056617239_' declared here double _omcQuot_24746D7056617239_; ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Math_TestMatricesExamplesSolveLinearEquationsFunctions.cpp:334:63: error: use of undeclared identifier '_omcQuot_24746D705661723131_'; did you mean '_omcQuot_24746D705661723132_'? _omcQuot_24746D705661723132_ = std::abs(_omcQuot_24746D705661723131_); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ _omcQuot_24746D705661723132_ ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Math_TestMatricesExamplesSolveLinearEquationsFunctions.cpp:306:26: note: '_omcQuot_24746D705661723132_' declared here double _omcQuot_24746D705661723132_; ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Math_TestMatricesExamplesSolveLinearEquationsFunctions.cpp:943:55: error: use of undeclared identifier '_omcQuot_24746D7056617230_'; did you mean '_omcQuot_24746D7056617231_'? _omcQuot_24746D7056617231_ = std::abs(_omcQuot_24746D7056617230_); ^~~~~~~~~~~~~~~~~~~~~~~~~~ _omcQuot_24746D7056617231_ ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Math_TestMatricesExamplesSolveLinearEquationsFunctions.cpp:920:20: note: '_omcQuot_24746D7056617231_' declared here double _omcQuot_24746D7056617231_; ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Math_TestMatricesExamplesSolveLinearEquationsFunctions.cpp:986:57: error: use of undeclared identifier '_omcQuot_24746D7056617233_'; did you mean '_omcQuot_24746D7056617234_'? _omcQuot_24746D7056617234_ = std::abs(_omcQuot_24746D7056617233_); ^~~~~~~~~~~~~~~~~~~~~~~~~~ _omcQuot_24746D7056617234_ ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Math_TestMatricesExamplesSolveLinearEquationsFunctions.cpp:963:22: note: '_omcQuot_24746D7056617234_' declared here double _omcQuot_24746D7056617234_; ^ In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Math_TestMatricesExamplesSolveLinearEquationsCalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Math_TestMatricesExamplesSolveLinearEquationsFMU.cpp:11: /var/lib/jenkins/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) { ^ 1 warning and 4 errors generated. : recipe for target 'OMCppModelicaTest_trunk_cpp_ModelicaTest_Math_TestMatricesExamplesSolveLinearEquationsCalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest_Math_TestMatricesExamplesSolveLinearEquationsCalcHelperMain.o] Error 1