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: translateModel(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations") translateModel(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00148/0.00148, allocations: 185.2 kB / 16.41 MB, free: 5.723 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.961/1.961, allocations: 205.4 MB / 222.5 MB, free: 9.113 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.001093/0.001092, allocations: 85.55 kB / 270.9 MB, free: 8.375 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.509/0.5091, allocations: 43.55 MB / 362.7 MB, free: 52.1 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004873/0.0004872, allocations: 8 kB / 431.4 MB, free: 6.164 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1514/0.1519, allocations: 58.85 MB / 490.2 MB, free: 11.23 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5013/0.6533, allocations: 89.03 MB / 0.5657 GB, free: 13.68 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002614/0.6536, allocations: 63.97 kB / 0.5657 GB, free: 13.62 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04306/0.6967, allocations: 7.426 MB / 0.573 GB, free: 6.223 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.625e-06/0.6967, allocations: 0 / 0.573 GB, free: 6.223 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.881e-06/0.6967, allocations: 0 / 0.573 GB, free: 6.223 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.0005965/0.6973, allocations: 407.1 kB / 0.5734 GB, free: 5.777 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.641e-05/0.6974, allocations: 12.02 kB / 0.5734 GB, free: 5.766 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.331e-05/0.6975, allocations: 75.28 kB / 0.5735 GB, free: 5.691 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001237/0.6976, allocations: 238.4 kB / 0.5737 GB, free: 5.418 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.389e-05/0.6977, allocations: 159.6 kB / 0.5738 GB, free: 5.262 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.256e-05/0.6978, allocations: 154.5 kB / 0.574 GB, free: 5.109 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.215e-05/0.6978, allocations: 104.9 kB / 0.5741 GB, free: 5 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.289e-05/0.6979, allocations: 75.28 kB / 0.5741 GB, free: 4.926 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.51e-05/0.698, allocations: 154.3 kB / 0.5743 GB, free: 4.777 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.675e-05/0.698, allocations: 154.5 kB / 0.5744 GB, free: 4.625 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.743e-05/0.6981, allocations: 154.6 kB / 0.5746 GB, free: 4.473 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002996/0.6984, allocations: 446 kB / 0.575 GB, free: 3.988 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.287e-05/0.6985, allocations: 165.8 kB / 0.5752 GB, free: 3.816 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.287e-05/0.6986, allocations: 75.28 kB / 0.5752 GB, free: 3.742 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.581e-05/0.6986, allocations: 113.8 kB / 0.5754 GB, free: 3.621 MB / 394.7 MB Notification: Performance of pre-optimization done (n=0): time 1.713e-06/0.6986, allocations: 0 / 0.5754 GB, free: 3.621 MB / 394.7 MB Notification: Performance of matching and sorting (n=0): time 8.508e-05/0.6987, allocations: 37.64 kB / 0.5754 GB, free: 3.578 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.25e-05/0.6988, allocations: 152.4 kB / 0.5755 GB, free: 3.41 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.978e-05/0.6989, allocations: 85 kB / 0.5756 GB, free: 3.32 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.634e-05/0.6989, allocations: 29.7 kB / 0.5756 GB, free: 3.285 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.696e-05/0.699, allocations: 150.6 kB / 0.5758 GB, free: 3.137 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.723e-06/0.699, allocations: 0 / 0.5758 GB, free: 3.137 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.71e-07/0.699, allocations: 4 kB / 0.5758 GB, free: 3.133 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001263/0.6991, allocations: 310.8 kB / 0.5761 GB, free: 2.82 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.729e-06/0.6991, allocations: 32 / 0.5761 GB, free: 2.82 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.824e-05/0.6992, allocations: 8 kB / 0.5761 GB, free: 2.812 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.658e-05/0.6992, allocations: 75.28 kB / 0.5762 GB, free: 2.738 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.598e-05/0.6993, allocations: 79.22 kB / 0.5762 GB, free: 2.66 MB / 394.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.127e-05/0.6993, allocations: 25.7 kB / 0.5763 GB, free: 2.629 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.608e-05/0.6994, allocations: 83.31 kB / 0.5763 GB, free: 2.547 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.805e-05/0.6995, allocations: 83.27 kB / 0.5764 GB, free: 2.465 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.108e-05/0.6995, allocations: 154.5 kB / 0.5766 GB, free: 2.312 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.223e-05/0.6996, allocations: 75.28 kB / 0.5766 GB, free: 2.238 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.61e-05/0.6997, allocations: 166.5 kB / 0.5768 GB, free: 2.074 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.677e-05/0.6997, allocations: 79.22 kB / 0.5769 GB, free: 1.996 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.891e-05/0.6998, allocations: 75.28 kB / 0.577 GB, free: 1.922 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.000134/0.6999, allocations: 264.4 kB / 0.5772 GB, free: 1.652 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.932e-05/0.7, allocations: 111 kB / 0.5773 GB, free: 1.539 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.046e-05/0.7001, allocations: 104.1 kB / 0.5774 GB, free: 1.434 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.2e-05/0.7002, allocations: 184.2 kB / 0.5776 GB, free: 1.246 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.88e-05/0.7003, allocations: 180.3 kB / 0.5778 GB, free: 1.062 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.657e-05/0.7003, allocations: 184.2 kB / 0.5779 GB, free: 0.875 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002402/0.7006, allocations: 401.2 kB / 0.5783 GB, free: 436 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.041e-05/0.7006, allocations: 101 kB / 0.5784 GB, free: 328 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.504e-05/0.7007, allocations: 112.9 kB / 0.5785 GB, free: 208 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.73e-05/0.7008, allocations: 180.3 kB / 0.5787 GB, free: 20 kB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.294e-05/0.7009, allocations: 180.3 kB / 0.5789 GB, free: 15.84 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.805e-05/0.7009, allocations: 184.2 kB / 0.579 GB, free: 15.65 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.389e-05/0.701, allocations: 181 kB / 0.5792 GB, free: 15.46 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000152/0.7012, allocations: 307.7 kB / 0.5795 GB, free: 15.14 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.497e-05/0.7013, allocations: 190.1 kB / 0.5797 GB, free: 14.93 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.233e-05/0.7014, allocations: 184.2 kB / 0.5799 GB, free: 14.74 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.356e-05/0.7015, allocations: 105 kB / 0.58 GB, free: 14.63 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.321e-05/0.7016, allocations: 184.6 kB / 0.5801 GB, free: 14.45 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.879e-05/0.7016, allocations: 101 kB / 0.5802 GB, free: 14.34 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.721e-05/0.7017, allocations: 75.28 kB / 0.5803 GB, free: 14.27 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.21e-07/0.7017, allocations: 3.938 kB / 0.5803 GB, free: 14.26 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009888/0.7027, allocations: 187.7 kB / 0.5805 GB, free: 14.08 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.00107/0.7038, allocations: 369.7 kB / 0.5808 GB, free: 13.72 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 5.609e-05/0.7038, allocations: 7.938 kB / 0.5809 GB, free: 13.71 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.7039, allocations: 0 / 0.5809 GB, free: 13.71 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.395e-06/0.7039, allocations: 0 / 0.5809 GB, free: 13.71 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003335/0.7042, allocations: 0.5224 MB / 0.5814 GB, free: 13.18 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001689/0.7044, allocations: 169.9 kB / 0.5815 GB, free: 12.98 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002552/0.7047, allocations: 0.6809 MB / 0.5822 GB, free: 12.28 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.588e-05/0.7047, allocations: 7.438 kB / 0.5822 GB, free: 12.27 MB / 410.7 MB Notification: Performance of SimCode: time 7.21e-07/0.7047, allocations: 0 / 0.5822 GB, free: 12.27 MB / 410.7 MB Notification: Performance of Templates: time 0.009321/0.714, allocations: 3.316 MB / 0.5854 GB, free: 8.965 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.makefile make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.makefile b'clang++ -fopenmp=libomp -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=2 -DSUNDIALS_MINOR_VERSION=6 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquationsCalcHelperMain.o OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquationsCalcHelperMain.cpp\nIn file included from OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquationsCalcHelperMain.cpp:28:\n./OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquationsFunctions.cpp:252:48: error: use of undeclared identifier \'_omcQ_24tmpVar10_\'; did you mean \'_omcQ_24tmpVar11_\'?\n _omcQ_24tmpVar11_ = std::abs(_omcQ_24tmpVar10_);\n ^~~~~~~~~~~~~~~~~\n _omcQ_24tmpVar11_\n./OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquationsFunctions.cpp:224:22: note: \'_omcQ_24tmpVar11_\' declared here\n double _omcQ_24tmpVar11_;\n ^\n./OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquationsFunctions.cpp:322:52: error: use of undeclared identifier \'_omcQ_24tmpVar13_\'; did you mean \'_omcQ_24tmpVar14_\'?\n _omcQ_24tmpVar14_ = std::abs(_omcQ_24tmpVar13_);\n ^~~~~~~~~~~~~~~~~\n _omcQ_24tmpVar14_\n./OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquationsFunctions.cpp:294:26: note: \'_omcQ_24tmpVar14_\' declared here\n double _omcQ_24tmpVar14_;\n ^\n./OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquationsFunctions.cpp:931:45: error: use of undeclared identifier \'_omcQ_24tmpVar2_\'; did you mean \'_omcQ_24tmpVar3_\'?\n _omcQ_24tmpVar3_ = std::abs(_omcQ_24tmpVar2_);\n ^~~~~~~~~~~~~~~~\n _omcQ_24tmpVar3_\n./OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquationsFunctions.cpp:908:20: note: \'_omcQ_24tmpVar3_\' declared here\n double _omcQ_24tmpVar3_;\n ^\n./OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquationsFunctions.cpp:974:47: error: use of undeclared identifier \'_omcQ_24tmpVar5_\'; did you mean \'_omcQ_24tmpVar6_\'?\n _omcQ_24tmpVar6_ = std::abs(_omcQ_24tmpVar5_);\n ^~~~~~~~~~~~~~~~\n _omcQ_24tmpVar6_\n./OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquationsFunctions.cpp:951:22: note: \'_omcQ_24tmpVar6_\' declared here\n double _omcQ_24tmpVar6_;\n ^\n4 errors generated.\n: recipe for target \'OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquationsCalcHelperMain.o\' failed\nmake: *** [OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquationsCalcHelperMain.o] Error 1\n'