Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Math.TestMatrices2b.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.Math.TestMatrices2b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Math.TestMatrices2b") Notification: Performance of loadModel(ModelicaTest): time 2.294/2.294, allocations: 234.9 MB / 251.1 MB, free: 9.547 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004952/0.0004951, allocations: 8 kB / 314.9 MB, free: 9.605 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4528/0.4534, allocations: 54.86 MB / 369.8 MB, free: 10.72 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.167/0.6204, allocations: 83.77 MB / 453.6 MB, free: 6.832 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000328/0.6208, allocations: 63.97 kB / 453.6 MB, free: 6.77 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4101/1.031, allocations: 25.71 MB / 479.3 MB, free: 98.72 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.495e-06/1.031, allocations: 1.625 kB / 479.3 MB, free: 98.72 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.801e-06/1.031, allocations: 3.938 kB / 479.3 MB, free: 98.72 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0007026/1.032, allocations: 437.9 kB / 479.8 MB, free: 98.31 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/1.032, allocations: 9.5 kB / 479.8 MB, free: 98.31 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.482e-05/1.032, allocations: 3.844 kB / 479.8 MB, free: 98.31 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.84e-05/1.032, allocations: 160.6 kB / 479.9 MB, free: 98.11 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.548e-05/1.032, allocations: 1.562 kB / 479.9 MB, free: 98.11 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.37e-05/1.032, allocations: 0 / 479.9 MB, free: 98.11 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.114e-05/1.032, allocations: 33.42 kB / 480 MB, free: 98.08 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.056e-06/1.032, allocations: 3.969 kB / 480 MB, free: 98.08 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.809e-06/1.032, allocations: 3.953 kB / 480 MB, free: 98.08 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.97e-06/1.032, allocations: 1.031 kB / 480 MB, free: 98.08 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.026e-05/1.032, allocations: 2.172 kB / 480 MB, free: 98.08 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001037/1.032, allocations: 144.8 kB / 480.1 MB, free: 97.89 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.905e-05/1.032, allocations: 18.92 kB / 480.1 MB, free: 97.87 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.558e-06/1.032, allocations: 2.312 kB / 480.1 MB, free: 97.87 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.258e-05/1.032, allocations: 63.25 kB / 480.2 MB, free: 97.8 MB / 394.7 MB Notification: Performance of pre-optimization done (n=1): time 1.513e-06/1.032, allocations: 1.188 kB / 480.2 MB, free: 97.8 MB / 394.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001619/1.033, allocations: 64.02 kB / 480.3 MB, free: 97.73 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.038e-05/1.033, allocations: 82.69 kB / 480.3 MB, free: 97.64 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.403e-05/1.033, allocations: 90.7 kB / 480.4 MB, free: 97.54 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 8.105e-06/1.033, allocations: 29.2 kB / 480.5 MB, free: 97.51 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.498e-05/1.033, allocations: 159.5 kB / 480.6 MB, free: 97.36 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.518e-05/1.033, allocations: 0 / 480.6 MB, free: 97.36 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.766e-06/1.033, allocations: 0 / 480.6 MB, free: 97.36 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 5.755e-05/1.033, allocations: 312.8 kB / 480.9 MB, free: 97.05 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.084e-05/1.033, allocations: 1.5 kB / 480.9 MB, free: 97.05 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.352e-06/1.033, allocations: 0 / 480.9 MB, free: 97.05 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.705e-05/1.033, allocations: 29.73 kB / 481 MB, free: 97.02 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/1.033, allocations: 0 / 481 MB, free: 97.02 MB / 394.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.177e-05/1.033, allocations: 68.42 kB / 481 MB, free: 96.95 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.055e-05/1.033, allocations: 33.39 kB / 481.1 MB, free: 96.92 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/1.033, allocations: 0.7031 kB / 481.1 MB, free: 96.92 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/1.033, allocations: 0 / 481.1 MB, free: 96.92 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.263e-06/1.033, allocations: 0 / 481.1 MB, free: 96.92 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/1.033, allocations: 6.25 kB / 481.1 MB, free: 96.92 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.784e-05/1.033, allocations: 3.953 kB / 481.1 MB, free: 96.91 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.155e-06/1.033, allocations: 4.938 kB / 481.1 MB, free: 96.91 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: 1 (result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 6.447e-05/1.033, allocations: 139.3 kB / 481.2 MB, free: 96.77 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.618e-06/1.033, allocations: 1.469 kB / 481.2 MB, free: 96.77 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.339e-05/1.033, allocations: 7.719 kB / 481.2 MB, free: 96.76 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/1.033, allocations: 1.125 kB / 481.2 MB, free: 96.76 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/1.033, allocations: 2.625 kB / 481.2 MB, free: 96.76 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/1.033, allocations: 0 / 481.2 MB, free: 96.76 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.731e-05/1.033, allocations: 150.8 kB / 481.4 MB, free: 96.57 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/1.033, allocations: 1.266 kB / 481.4 MB, free: 96.57 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.824e-06/1.033, allocations: 1.562 kB / 481.4 MB, free: 96.57 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.255e-06/1.033, allocations: 3.938 kB / 481.4 MB, free: 96.57 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.135e-06/1.033, allocations: 0 / 481.4 MB, free: 96.57 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/1.033, allocations: 1.125 kB / 481.4 MB, free: 96.57 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/1.033, allocations: 1.312 kB / 481.4 MB, free: 96.57 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.518e-05/1.033, allocations: 96.17 kB / 481.5 MB, free: 96.47 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.114e-05/1.034, allocations: 79.55 kB / 481.5 MB, free: 96.38 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.619e-05/1.034, allocations: 2.719 kB / 481.5 MB, free: 96.38 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.129e-05/1.034, allocations: 3.969 kB / 481.6 MB, free: 96.38 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.529e-05/1.034, allocations: 6.078 kB / 481.6 MB, free: 96.38 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.087e-06/1.034, allocations: 0 / 481.6 MB, free: 96.38 MB / 394.7 MB Notification: Performance of sorting global known variables: time 1.552e-05/1.034, allocations: 76.59 kB / 481.6 MB, free: 96.3 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.31e-07/1.034, allocations: 0 / 481.6 MB, free: 96.3 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008609/1.035, allocations: 165.1 kB / 481.8 MB, free: 96.28 MB / 394.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: 1 (result) * Number of discrete states: 1 (result) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.001308/1.036, allocations: 340.5 kB / 482.1 MB, free: 96.16 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001201/1.036, allocations: 60.31 kB / 482.2 MB, free: 96.1 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/1.036, allocations: 3.375 kB / 482.2 MB, free: 96.1 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.855e-05/1.036, allocations: 56.58 kB / 482.2 MB, free: 96.04 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001014/1.036, allocations: 13.88 kB / 482.3 MB, free: 96.04 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000178/1.036, allocations: 106.8 kB / 482.4 MB, free: 95.91 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001225/1.036, allocations: 0.6734 MB / 483 MB, free: 95.22 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.256e-05/1.037, allocations: 10.19 kB / 483 MB, free: 95.21 MB / 394.7 MB Notification: Performance of SimCode: time 6.12e-07/1.037, allocations: 0 / 483 MB, free: 95.21 MB / 394.7 MB Notification: Performance of Templates: time 0.009418/1.046, allocations: 3.936 MB / 487 MB, free: 94.84 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.2_cpp_ModelicaTest.Math.TestMatrices2b.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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Math.TestMatrices2bCalcHelperMain.o OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Math.TestMatrices2bCalcHelperMain.cpp\nIn file included from OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Math.TestMatrices2bCalcHelperMain.cpp:28:\n./OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Math.TestMatrices2bFunctions.cpp:226:47: error: use of undeclared identifier \'_omcQ_24tmpVar6_\'; did you mean \'_omcQ_24tmpVar7_\'?\n _omcQ_24tmpVar7_ = std::abs(_omcQ_24tmpVar6_);\n ^~~~~~~~~~~~~~~~\n _omcQ_24tmpVar7_\n./OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Math.TestMatrices2bFunctions.cpp:198:22: note: \'_omcQ_24tmpVar7_\' declared here\n double _omcQ_24tmpVar7_;\n ^\n./OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Math.TestMatrices2bFunctions.cpp:296:52: error: use of undeclared identifier \'_omcQ_24tmpVar9_\'; did you mean \'_omcQ_24tmpVar10_\'?\n _omcQ_24tmpVar10_ = std::abs(_omcQ_24tmpVar9_);\n ^~~~~~~~~~~~~~~~\n _omcQ_24tmpVar10_\n./OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Math.TestMatrices2bFunctions.cpp:268:26: note: \'_omcQ_24tmpVar10_\' declared here\n double _omcQ_24tmpVar10_;\n ^\n2 errors generated.\n: recipe for target \'OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Math.TestMatrices2bCalcHelperMain.o\' failed\nmake: *** [OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Math.TestMatrices2bCalcHelperMain.o] Error 1\n'