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.002448/0.002454, allocations: 189 kB / 16.4 MB, free: 5.621 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.175/2.175, allocations: 205.4 MB / 222.5 MB, free: 13.76 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.001154/0.001154, allocations: 86.94 kB / 270.9 MB, free: 13.29 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.3267/0.3267, allocations: 43.55 MB / 362.7 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004808/0.0004808, allocations: 11.98 kB / 431.4 MB, free: 20.28 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1254/0.1259, allocations: 58.85 MB / 490.2 MB, free: 9.355 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations): time 0.0006632/0.1266, allocations: 220.7 kB / 490.4 MB, free: 9.137 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.004171/0.1308, allocations: 1.912 MB / 492.3 MB, free: 7.207 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.19e-06/0.1309, allocations: 0 / 492.3 MB, free: 7.207 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 5.31e-06/0.1309, allocations: 0 / 492.3 MB, free: 7.207 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 1.473e-06/0.1309, allocations: 0 / 492.3 MB, free: 7.207 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002272/0.1332, allocations: 443 kB / 492.8 MB, free: 6.781 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 1.925e-05/0.1332, allocations: 7.938 kB / 492.8 MB, free: 6.773 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.03e-05/0.1333, allocations: 0 / 492.8 MB, free: 6.773 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.046e-05/0.1333, allocations: 4 kB / 492.8 MB, free: 6.77 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.425e-05/0.1334, allocations: 0 / 492.8 MB, free: 6.77 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 5.01e-06/0.1334, allocations: 0 / 492.8 MB, free: 6.77 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001725/0.1351, allocations: 0.7058 MB / 493.5 MB, free: 6.062 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 1.017e-05/0.1352, allocations: 3.984 kB / 493.5 MB, free: 6.059 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 2.332e-05/0.1352, allocations: 25.7 kB / 493.5 MB, free: 6.027 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001107/0.1363, allocations: 0.5225 MB / 494 MB, free: 5.504 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.1363, allocations: 0 / 494 MB, free: 5.504 MB / 330.7 MB Notification: Performance of FrontEnd: time 5.19e-06/0.1364, allocations: 0 / 494 MB, free: 5.504 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.699e-06/0.1364, allocations: 7.938 kB / 494 MB, free: 5.496 MB / 330.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.0004777/0.1369, allocations: 371.4 kB / 494.4 MB, free: 5.086 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.828e-05/0.1369, allocations: 12.02 kB / 494.4 MB, free: 5.074 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.389e-05/0.137, allocations: 79.23 kB / 494.5 MB, free: 4.996 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00014/0.1371, allocations: 234.4 kB / 494.7 MB, free: 4.727 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.851e-05/0.1372, allocations: 154.6 kB / 494.9 MB, free: 4.574 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.087e-05/0.1373, allocations: 158.5 kB / 495 MB, free: 4.418 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.998e-05/0.1374, allocations: 105 kB / 495.1 MB, free: 4.309 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.855e-05/0.1375, allocations: 75.28 kB / 495.2 MB, free: 4.234 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.98e-05/0.1375, allocations: 150.6 kB / 495.4 MB, free: 4.086 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.096e-05/0.1376, allocations: 150.6 kB / 495.5 MB, free: 3.938 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.869e-05/0.1377, allocations: 158.4 kB / 495.7 MB, free: 3.781 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003365/0.138, allocations: 453.9 kB / 496.1 MB, free: 3.289 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.552e-05/0.1382, allocations: 169.1 kB / 496.3 MB, free: 3.113 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.796e-05/0.1382, allocations: 75.28 kB / 496.3 MB, free: 3.039 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.25e-05/0.1383, allocations: 109.8 kB / 496.4 MB, free: 2.922 MB / 330.7 MB Notification: Performance of pre-optimization done (n=0): time 1.964e-06/0.1383, allocations: 4 kB / 496.4 MB, free: 2.918 MB / 330.7 MB Notification: Performance of matching and sorting (n=0): time 9.134e-05/0.1384, allocations: 33.64 kB / 496.5 MB, free: 2.879 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.457e-05/0.1385, allocations: 152.4 kB / 496.6 MB, free: 2.711 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.419e-05/0.1385, allocations: 89.86 kB / 496.7 MB, free: 2.613 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.074e-05/0.1386, allocations: 25.7 kB / 496.7 MB, free: 2.582 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.742e-05/0.1387, allocations: 150.6 kB / 496.9 MB, free: 2.434 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.004e-06/0.1387, allocations: 0 / 496.9 MB, free: 2.434 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.01e-07/0.1387, allocations: 0 / 496.9 MB, free: 2.434 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001398/0.1388, allocations: 326.8 kB / 497.2 MB, free: 2.105 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.629e-06/0.1388, allocations: 0 / 497.2 MB, free: 2.105 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.426e-05/0.1389, allocations: 4 kB / 497.2 MB, free: 2.102 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.033e-05/0.1389, allocations: 75.28 kB / 497.3 MB, free: 2.027 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-05/0.139, allocations: 75.28 kB / 497.4 MB, free: 1.953 MB / 330.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.367e-05/0.139, allocations: 33.58 kB / 497.4 MB, free: 1.914 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.152e-05/0.1391, allocations: 83.28 kB / 497.5 MB, free: 1.832 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.569e-05/0.1391, allocations: 75.28 kB / 497.5 MB, free: 1.758 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.716e-05/0.1392, allocations: 158.5 kB / 497.7 MB, free: 1.602 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.876e-05/0.1393, allocations: 79.33 kB / 497.8 MB, free: 1.523 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.894e-05/0.1394, allocations: 162.5 kB / 497.9 MB, free: 1.363 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.558e-05/0.1395, allocations: 83.22 kB / 498 MB, free: 1.281 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.977e-05/0.1395, allocations: 75.28 kB / 498.1 MB, free: 1.207 MB / 330.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.0001499/0.1397, allocations: 268.4 kB / 498.4 MB, free: 0.9336 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.5e-05/0.1397, allocations: 104.9 kB / 498.5 MB, free: 0.8242 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.961e-05/0.1398, allocations: 104.1 kB / 498.6 MB, free: 0.7148 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.01e-05/0.1399, allocations: 180.2 kB / 498.7 MB, free: 0.5312 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.274e-05/0.14, allocations: 188.2 kB / 498.9 MB, free: 348 kB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.83e-05/0.1401, allocations: 176.3 kB / 499.1 MB, free: 164 kB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000302/0.1404, allocations: 405.1 kB / 499.5 MB, free: 15.71 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.006e-05/0.1405, allocations: 105 kB / 499.6 MB, free: 15.6 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.05e-05/0.1405, allocations: 105.3 kB / 499.7 MB, free: 15.49 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.282e-05/0.1406, allocations: 184.2 kB / 499.9 MB, free: 15.3 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.034e-05/0.1407, allocations: 180.2 kB / 0.4883 GB, free: 15.12 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.897e-05/0.1408, allocations: 188.2 kB / 0.4885 GB, free: 14.93 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.479e-05/0.1409, allocations: 180.3 kB / 0.4887 GB, free: 14.74 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000176/0.1411, allocations: 311.8 kB / 0.489 GB, free: 14.41 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.682e-05/0.1412, allocations: 182 kB / 0.4891 GB, free: 14.21 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001294/0.1413, allocations: 184.2 kB / 0.4893 GB, free: 14.02 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.989e-05/0.1414, allocations: 105 kB / 0.4894 GB, free: 13.91 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.778e-05/0.1415, allocations: 184.2 kB / 0.4896 GB, free: 13.73 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.916e-05/0.1416, allocations: 105 kB / 0.4897 GB, free: 13.62 MB / 346.7 MB Notification: Performance of sorting global known variables: time 4.017e-05/0.1416, allocations: 75.28 kB / 0.4898 GB, free: 13.54 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.41e-07/0.1417, allocations: 0 / 0.4898 GB, free: 13.54 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0008057/0.1425, allocations: 140 kB / 0.4899 GB, free: 13.41 MB / 346.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.0009969/0.1435, allocations: 344.1 kB / 0.4902 GB, free: 13.07 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 5.995e-05/0.1436, allocations: 0 / 0.4902 GB, free: 13.07 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.1436, allocations: 4 kB / 0.4902 GB, free: 13.06 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.499e-06/0.1436, allocations: 7.938 kB / 0.4902 GB, free: 13.05 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003561/0.144, allocations: 0.5224 MB / 0.4908 GB, free: 12.53 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000187/0.1442, allocations: 171.7 kB / 0.4909 GB, free: 12.33 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003126/0.1445, allocations: 0.6692 MB / 0.4916 GB, free: 11.63 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.704e-05/0.1445, allocations: 11.44 kB / 0.4916 GB, free: 11.62 MB / 346.7 MB Notification: Performance of SimCode: time 1.002e-06/0.1445, allocations: 4 kB / 0.4916 GB, free: 11.62 MB / 346.7 MB Notification: Performance of Templates: time 0.00908/0.1536, allocations: 2.973 MB / 0.4945 GB, free: 8.641 MB / 346.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=5 -DSUNDIALS_MINOR_VERSION=4 -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:258:50: error: use of undeclared identifier \'_omcQ_24i1_\'\n _omcQ_24tmpVar6_ = std::abs(A_(_omcQ_24i1_,i_));\n ^\n./OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquationsFunctions.cpp:333:57: error: use of undeclared identifier \'_omcQ_24i1_\'\n _omcQ_24tmpVar4_ = std::abs(A_(i_,_omcQ_24i1_));\n ^\n./OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquationsFunctions.cpp:967:49: error: use of undeclared identifier \'_omcQ_24i1_\'\n _omcQ_24tmpVar10_ = std::abs(v_(_omcQ_24i1_));\n ^\n./OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquationsFunctions.cpp:1015:50: error: use of undeclared identifier \'_omcQ_24i1_\'\n _omcQ_24tmpVar8_ = std::abs(v_(_omcQ_24i1_));\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'