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.002607/0.002607, allocations: 181.6 kB / 13.66 MB, free: 1.664 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.046/2.046, allocations: 205.2 MB / 219.4 MB, free: 14.29 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.001095/0.001096, allocations: 90.64 kB / 267.5 MB, free: 14.12 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3388/0.3388, allocations: 43.5 MB / 359.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.02e-05/3.024e-05, allocations: 4 kB / 425.3 MB, free: 23.4 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1171/0.1171, allocations: 58.86 MB / 484.1 MB, free: 12.49 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.491/0.6082, allocations: 88.94 MB / 0.5596 GB, free: 14.73 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002022/0.6085, allocations: 64.19 kB / 0.5597 GB, free: 14.7 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04178/0.6503, allocations: 7.395 MB / 0.5669 GB, free: 8.207 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.924e-06/0.6503, allocations: 0 / 0.5669 GB, free: 8.207 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.179e-06/0.6503, allocations: 0 / 0.5669 GB, free: 8.207 MB / 378.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.0005945/0.6509, allocations: 396.6 kB / 0.5673 GB, free: 7.781 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.019e-05/0.651, allocations: 15.97 kB / 0.5673 GB, free: 7.766 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.597e-05/0.6511, allocations: 83.27 kB / 0.5674 GB, free: 7.684 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000136/0.6512, allocations: 238.4 kB / 0.5676 GB, free: 7.41 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.704e-05/0.6513, allocations: 150.6 kB / 0.5678 GB, free: 7.262 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.635e-05/0.6514, allocations: 150.6 kB / 0.5679 GB, free: 7.113 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.624e-05/0.6515, allocations: 104.9 kB / 0.568 GB, free: 7.004 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.157e-05/0.6515, allocations: 75.28 kB / 0.5681 GB, free: 6.93 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.104e-05/0.6516, allocations: 154.6 kB / 0.5682 GB, free: 6.777 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.631e-05/0.6517, allocations: 158.3 kB / 0.5684 GB, free: 6.625 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.749e-05/0.6517, allocations: 154.5 kB / 0.5685 GB, free: 6.473 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003286/0.6521, allocations: 441.9 kB / 0.569 GB, free: 5.992 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.285e-05/0.6522, allocations: 165.8 kB / 0.5691 GB, free: 5.82 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.33e-05/0.6522, allocations: 87.95 kB / 0.5692 GB, free: 5.734 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.368e-05/0.6523, allocations: 75.28 kB / 0.5693 GB, free: 5.66 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.442e-05/0.6523, allocations: 109.8 kB / 0.5694 GB, free: 5.543 MB / 378.7 MB Notification: Performance of pre-optimization done (n=0): time 5.801e-06/0.6524, allocations: 0 / 0.5694 GB, free: 5.543 MB / 378.7 MB Notification: Performance of matching and sorting (n=0): time 8.344e-05/0.6525, allocations: 37.62 kB / 0.5694 GB, free: 5.5 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.267e-05/0.6526, allocations: 152.4 kB / 0.5696 GB, free: 5.332 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.195e-05/0.6526, allocations: 89 kB / 0.5696 GB, free: 5.238 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.01e-05/0.6526, allocations: 25.7 kB / 0.5697 GB, free: 5.207 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.538e-05/0.6527, allocations: 154.6 kB / 0.5698 GB, free: 5.055 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.983e-06/0.6527, allocations: 0 / 0.5698 GB, free: 5.055 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.21e-07/0.6527, allocations: 0 / 0.5698 GB, free: 5.055 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001335/0.6529, allocations: 310.8 kB / 0.5701 GB, free: 4.742 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.98e-06/0.6529, allocations: 3.938 kB / 0.5701 GB, free: 4.742 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.995e-05/0.6529, allocations: 3.141 kB / 0.5701 GB, free: 4.742 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.085e-05/0.653, allocations: 75.28 kB / 0.5702 GB, free: 4.668 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.491e-05/0.653, allocations: 83.3 kB / 0.5703 GB, free: 4.586 MB / 378.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 7.902e-05/0.6531, allocations: 33.64 kB / 0.5703 GB, free: 4.547 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.038e-05/0.6532, allocations: 82.72 kB / 0.5704 GB, free: 4.469 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.198e-05/0.6532, allocations: 79.22 kB / 0.5705 GB, free: 4.391 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.836e-05/0.6533, allocations: 158.5 kB / 0.5706 GB, free: 4.234 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.191e-05/0.6533, allocations: 75.28 kB / 0.5707 GB, free: 4.16 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.891e-05/0.6534, allocations: 162.5 kB / 0.5708 GB, free: 4 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.897e-05/0.6535, allocations: 79.22 kB / 0.5709 GB, free: 3.922 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.645e-05/0.6536, allocations: 87.14 kB / 0.571 GB, free: 3.84 MB / 378.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.0001311/0.6537, allocations: 251.5 kB / 0.5712 GB, free: 3.586 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.853e-05/0.6538, allocations: 104.9 kB / 0.5713 GB, free: 3.477 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.983e-05/0.6539, allocations: 108.1 kB / 0.5714 GB, free: 3.359 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.618e-05/0.654, allocations: 184.2 kB / 0.5716 GB, free: 3.172 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-05/0.654, allocations: 180.2 kB / 0.5718 GB, free: 2.988 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.028e-05/0.6541, allocations: 188.1 kB / 0.572 GB, free: 2.801 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002465/0.6544, allocations: 401.2 kB / 0.5723 GB, free: 2.352 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.708e-05/0.6544, allocations: 101 kB / 0.5724 GB, free: 2.246 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.499e-05/0.6545, allocations: 105 kB / 0.5725 GB, free: 2.137 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.969e-05/0.6546, allocations: 188.2 kB / 0.5727 GB, free: 1.945 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.177e-05/0.6546, allocations: 184.1 kB / 0.5729 GB, free: 1.762 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.779e-05/0.6547, allocations: 180.2 kB / 0.5731 GB, free: 1.578 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.615e-05/0.6548, allocations: 176.3 kB / 0.5732 GB, free: 1.398 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001516/0.655, allocations: 315.6 kB / 0.5735 GB, free: 1.07 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.858e-05/0.655, allocations: 178.1 kB / 0.5737 GB, free: 0.8711 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.17e-05/0.6551, allocations: 184.2 kB / 0.5739 GB, free: 0.6836 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.621e-05/0.6552, allocations: 101.4 kB / 0.574 GB, free: 0.5781 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.622e-05/0.6553, allocations: 188.2 kB / 0.5742 GB, free: 396 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.17e-05/0.6554, allocations: 105 kB / 0.5743 GB, free: 284 kB / 378.7 MB Notification: Performance of sorting global known variables: time 3.387e-05/0.6554, allocations: 83.33 kB / 0.5743 GB, free: 200 kB / 378.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.6554, allocations: 0 / 0.5743 GB, free: 200 kB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009559/0.6564, allocations: 175.5 kB / 0.5745 GB, free: 28 kB / 378.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.001078/0.6575, allocations: 377.6 kB / 0.5749 GB, free: 15.66 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 4.631e-05/0.6576, allocations: 7.812 kB / 0.5749 GB, free: 15.66 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.6576, allocations: 3.938 kB / 0.5749 GB, free: 15.65 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.335e-06/0.6576, allocations: 4 kB / 0.5749 GB, free: 15.65 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003047/0.6579, allocations: 0.5185 MB / 0.5754 GB, free: 15.12 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001462/0.6581, allocations: 150 kB / 0.5755 GB, free: 14.95 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002517/0.6583, allocations: 0.6692 MB / 0.5762 GB, free: 14.25 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.304e-05/0.6583, allocations: 7.438 kB / 0.5762 GB, free: 14.25 MB / 394.7 MB Notification: Performance of SimCode: time 6.61e-07/0.6584, allocations: 0 / 0.5762 GB, free: 14.25 MB / 394.7 MB Notification: Performance of Templates: time 0.008802/0.6672, allocations: 3.297 MB / 0.5794 GB, free: 10.95 MB / 394.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:44: error: use of undeclared identifier \'D_24tmpVar10_\'; did you mean \'D_24tmpVar11_\'?\n D_24tmpVar11_ = std::abs(D_24tmpVar10_);\n ^~~~~~~~~~~~~\n D_24tmpVar11_\n./OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquationsFunctions.cpp:224:22: note: \'D_24tmpVar11_\' declared here\n double D_24tmpVar11_;\n ^\n./OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquationsFunctions.cpp:322:48: error: use of undeclared identifier \'D_24tmpVar13_\'; did you mean \'D_24tmpVar14_\'?\n D_24tmpVar14_ = std::abs(D_24tmpVar13_);\n ^~~~~~~~~~~~~\n D_24tmpVar14_\n./OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquationsFunctions.cpp:294:26: note: \'D_24tmpVar14_\' declared here\n double D_24tmpVar14_;\n ^\n./OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquationsFunctions.cpp:931:41: error: use of undeclared identifier \'D_24tmpVar2_\'; did you mean \'D_24tmpVar3_\'?\n D_24tmpVar3_ = std::abs(D_24tmpVar2_);\n ^~~~~~~~~~~~\n D_24tmpVar3_\n./OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquationsFunctions.cpp:908:20: note: \'D_24tmpVar3_\' declared here\n double D_24tmpVar3_;\n ^\n./OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquationsFunctions.cpp:974:43: error: use of undeclared identifier \'D_24tmpVar5_\'; did you mean \'D_24tmpVar6_\'?\n D_24tmpVar6_ = std::abs(D_24tmpVar5_);\n ^~~~~~~~~~~~\n D_24tmpVar6_\n./OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquationsFunctions.cpp:951:22: note: \'D_24tmpVar6_\' declared here\n double D_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'