Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Math_TestMatricesExamplesSolveLinearEquations",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Math_TestMatricesExamplesSolveLinearEquations",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002401/0.002401, allocations: 185.9 kB / 16.41 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.193/2.193, allocations: 205.4 MB / 222.5 MB, free: 9.141 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001146/0.001146, allocations: 92.42 kB / 270.9 MB, free: 8.398 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5511/0.5511, allocations: 43.55 MB / 362.7 MB, free: 51.86 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005157/0.0005158, allocations: 16 kB / 431.5 MB, free: 5.879 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1435/0.144, allocations: 58.84 MB / 490.3 MB, free: 10.95 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.54/0.6841, allocations: 89.03 MB / 0.5658 GB, free: 13.51 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003308/0.6845, allocations: 67.97 kB / 0.5658 GB, free: 13.45 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05832/0.7429, allocations: 7.434 MB / 0.5731 GB, free: 6.039 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.076e-06/0.7429, allocations: 0 / 0.5731 GB, free: 6.039 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.443e-06/0.7429, allocations: 4 kB / 0.5731 GB, free: 6.035 MB / 394.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.0008535/0.7438, allocations: 403.1 kB / 0.5735 GB, free: 5.594 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.313e-05/0.7439, allocations: 8.031 kB / 0.5735 GB, free: 5.586 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001121/0.744, allocations: 113.8 kB / 0.5736 GB, free: 5.465 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.749e-05/0.7441, allocations: 75.28 kB / 0.5737 GB, free: 5.391 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001914/0.7443, allocations: 235.4 kB / 0.5739 GB, free: 5.121 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.284e-05/0.7444, allocations: 150.6 kB / 0.574 GB, free: 4.973 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.886e-05/0.7445, allocations: 158.1 kB / 0.5742 GB, free: 4.82 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.465e-05/0.7446, allocations: 104.9 kB / 0.5743 GB, free: 4.711 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.316e-05/0.7447, allocations: 75.28 kB / 0.5743 GB, free: 4.637 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.043e-05/0.7448, allocations: 154.5 kB / 0.5745 GB, free: 4.484 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.36e-05/0.7449, allocations: 154.6 kB / 0.5746 GB, free: 4.332 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.423e-05/0.745, allocations: 154.6 kB / 0.5748 GB, free: 4.18 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003398/0.7453, allocations: 445.9 kB / 0.5752 GB, free: 3.695 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.706e-05/0.7454, allocations: 165.8 kB / 0.5754 GB, free: 3.523 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.747e-05/0.7455, allocations: 75.28 kB / 0.5754 GB, free: 3.449 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.561e-05/0.7455, allocations: 121.8 kB / 0.5756 GB, free: 3.32 MB / 394.7 MB Notification: Performance of pre-optimization done (n=0): time 1.833e-06/0.7455, allocations: 0 / 0.5756 GB, free: 3.32 MB / 394.7 MB Notification: Performance of matching and sorting (n=0): time 8.612e-05/0.7456, allocations: 29.66 kB / 0.5756 GB, free: 3.285 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.27e-05/0.7457, allocations: 152.4 kB / 0.5757 GB, free: 3.117 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.189e-05/0.7458, allocations: 85 kB / 0.5758 GB, free: 3.027 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.988e-05/0.7458, allocations: 25.7 kB / 0.5758 GB, free: 2.996 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.915e-05/0.7459, allocations: 150.6 kB / 0.576 GB, free: 2.848 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.034e-06/0.7459, allocations: 0 / 0.576 GB, free: 2.848 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.21e-07/0.7459, allocations: 4 kB / 0.576 GB, free: 2.844 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001355/0.7461, allocations: 318.8 kB / 0.5763 GB, free: 2.523 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.217e-05/0.7461, allocations: 4.031 kB / 0.5763 GB, free: 2.52 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.03e-05/0.7461, allocations: 0 / 0.5763 GB, free: 2.52 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.351e-05/0.7462, allocations: 79.22 kB / 0.5764 GB, free: 2.441 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.262e-05/0.7462, allocations: 75.28 kB / 0.5764 GB, free: 2.367 MB / 394.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.185e-05/0.7463, allocations: 29.7 kB / 0.5765 GB, free: 2.332 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.141e-05/0.7463, allocations: 79.28 kB / 0.5765 GB, free: 2.254 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.58e-05/0.7464, allocations: 83.31 kB / 0.5766 GB, free: 2.172 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.6e-05/0.7465, allocations: 158.5 kB / 0.5768 GB, free: 2.016 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.941e-05/0.7465, allocations: 79.22 kB / 0.5768 GB, free: 1.938 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.172e-05/0.7466, allocations: 162.4 kB / 0.577 GB, free: 1.777 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.335e-05/0.7467, allocations: 75.28 kB / 0.5771 GB, free: 1.703 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.804e-05/0.7467, allocations: 79.28 kB / 0.5771 GB, free: 1.625 MB / 394.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 () * Number of clocked 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.0001405/0.7469, allocations: 268.4 kB / 0.5774 GB, free: 1.352 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.179e-05/0.747, allocations: 107 kB / 0.5775 GB, free: 1.242 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.772e-05/0.747, allocations: 104.1 kB / 0.5776 GB, free: 1.137 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.462e-05/0.7471, allocations: 188.2 kB / 0.5778 GB, free: 0.9453 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.387e-05/0.7472, allocations: 176.3 kB / 0.578 GB, free: 0.7656 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.692e-05/0.7473, allocations: 184.2 kB / 0.5781 GB, free: 0.5781 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000266/0.7476, allocations: 409.2 kB / 0.5785 GB, free: 124 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.493e-05/0.7476, allocations: 101.7 kB / 0.5786 GB, free: 16 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.668e-05/0.7477, allocations: 104.9 kB / 0.5787 GB, free: 15.91 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.449e-05/0.7478, allocations: 180.3 kB / 0.5789 GB, free: 15.72 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.264e-05/0.7479, allocations: 180.3 kB / 0.5791 GB, free: 15.54 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.609e-05/0.748, allocations: 188.2 kB / 0.5792 GB, free: 15.35 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.19e-05/0.7481, allocations: 184.2 kB / 0.5794 GB, free: 15.16 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001668/0.7483, allocations: 303.7 kB / 0.5797 GB, free: 14.84 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.996e-05/0.7484, allocations: 178.1 kB / 0.5799 GB, free: 14.64 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.246e-05/0.7485, allocations: 196.1 kB / 0.5801 GB, free: 14.44 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.409e-05/0.7486, allocations: 105 kB / 0.5802 GB, free: 14.33 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001271/0.7487, allocations: 184.6 kB / 0.5803 GB, free: 14.14 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.826e-05/0.7488, allocations: 101 kB / 0.5804 GB, free: 14.04 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.838e-05/0.7488, allocations: 75.28 kB / 0.5805 GB, free: 13.96 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.7488, allocations: 0 / 0.5805 GB, free: 13.96 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009798/0.7498, allocations: 187.7 kB / 0.5807 GB, free: 13.78 MB / 410.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 () * Number of clocked 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.001544/0.7514, allocations: 1.011 MB / 0.5817 GB, free: 12.76 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 5.988e-05/0.7515, allocations: 0 / 0.5817 GB, free: 12.76 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.7515, allocations: 0 / 0.5817 GB, free: 12.76 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.555e-06/0.7515, allocations: 0 / 0.5817 GB, free: 12.76 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003461/0.7519, allocations: 0.5185 MB / 0.5822 GB, free: 12.23 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006158/0.7525, allocations: 291.2 kB / 0.5825 GB, free: 11.9 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003305/0.7528, allocations: 0.6731 MB / 0.5831 GB, free: 11.2 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.892e-05/0.7529, allocations: 7.438 kB / 0.5831 GB, free: 11.2 MB / 410.7 MB Notification: Performance of SimCode: time 1.002e-06/0.7529, allocations: 0 / 0.5831 GB, free: 11.2 MB / 410.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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp" -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -I"." -DUSE_LOGGER -c -o OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Math_TestMatricesExamplesSolveLinearEquationsCalcHelperMain.o OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Math_TestMatricesExamplesSolveLinearEquationsCalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Math_TestMatricesExamplesSolveLinearEquationsCalcHelperMain.cpp:28: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Math_TestMatricesExamplesSolveLinearEquationsFunctions.cpp:252:48: error: use of undeclared identifier '_omcQ_24tmpVar10_'; did you mean '_omcQ_24tmpVar11_'? _omcQ_24tmpVar11_ = std::abs(_omcQ_24tmpVar10_); ^~~~~~~~~~~~~~~~~ _omcQ_24tmpVar11_ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Math_TestMatricesExamplesSolveLinearEquationsFunctions.cpp:224:22: note: '_omcQ_24tmpVar11_' declared here double _omcQ_24tmpVar11_; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Math_TestMatricesExamplesSolveLinearEquationsFunctions.cpp:322:52: error: use of undeclared identifier '_omcQ_24tmpVar13_'; did you mean '_omcQ_24tmpVar14_'? _omcQ_24tmpVar14_ = std::abs(_omcQ_24tmpVar13_); ^~~~~~~~~~~~~~~~~ _omcQ_24tmpVar14_ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Math_TestMatricesExamplesSolveLinearEquationsFunctions.cpp:294:26: note: '_omcQ_24tmpVar14_' declared here double _omcQ_24tmpVar14_; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Math_TestMatricesExamplesSolveLinearEquationsFunctions.cpp:931:45: error: use of undeclared identifier '_omcQ_24tmpVar2_'; did you mean '_omcQ_24tmpVar3_'? _omcQ_24tmpVar3_ = std::abs(_omcQ_24tmpVar2_); ^~~~~~~~~~~~~~~~ _omcQ_24tmpVar3_ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Math_TestMatricesExamplesSolveLinearEquationsFunctions.cpp:908:20: note: '_omcQ_24tmpVar3_' declared here double _omcQ_24tmpVar3_; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Math_TestMatricesExamplesSolveLinearEquationsFunctions.cpp:974:47: error: use of undeclared identifier '_omcQ_24tmpVar5_'; did you mean '_omcQ_24tmpVar6_'? _omcQ_24tmpVar6_ = std::abs(_omcQ_24tmpVar5_); ^~~~~~~~~~~~~~~~ _omcQ_24tmpVar6_ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Math_TestMatricesExamplesSolveLinearEquationsFunctions.cpp:951:22: note: '_omcQ_24tmpVar6_' declared here double _omcQ_24tmpVar6_; ^ In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Math_TestMatricesExamplesSolveLinearEquationsCalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Math_TestMatricesExamplesSolveLinearEquationsFMU.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) { ^ 1 warning and 4 errors generated. : recipe for target 'OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Math_TestMatricesExamplesSolveLinearEquationsCalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Math_TestMatricesExamplesSolveLinearEquationsCalcHelperMain.o] Error 1