Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.267/2.267, allocations: 234.9 MB / 250.5 MB, free: 9.465 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00043/0.0004301, allocations: 12 kB / 314.4 MB, free: 9.484 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2755/0.2759, allocations: 54.86 MB / 369.3 MB, free: 10.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.128/0.404, allocations: 83.78 MB / 453 MB, free: 6.816 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002192/0.4043, allocations: 63.97 kB / 453.1 MB, free: 6.754 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3466/0.7509, allocations: 25.7 MB / 478.8 MB, free: 98.76 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.27e-06/0.7509, allocations: 0.5625 kB / 478.8 MB, free: 98.76 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.571e-05/0.751, allocations: 1.031 kB / 478.8 MB, free: 98.76 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.0005327/0.7515, allocations: 443.7 kB / 479.2 MB, free: 98.34 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.7516, allocations: 9.438 kB / 479.2 MB, free: 98.34 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.053e-05/0.7516, allocations: 1.219 kB / 479.2 MB, free: 98.34 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.715e-05/0.7517, allocations: 160.1 kB / 479.4 MB, free: 98.15 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.366e-05/0.7517, allocations: 3.938 kB / 479.4 MB, free: 98.14 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.476e-06/0.7517, allocations: 5.312 kB / 479.4 MB, free: 98.14 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.425e-05/0.7518, allocations: 30.59 kB / 479.4 MB, free: 98.11 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.874e-06/0.7518, allocations: 0 / 479.4 MB, free: 98.11 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.751e-06/0.7518, allocations: 7.922 kB / 479.5 MB, free: 98.11 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.375e-06/0.7518, allocations: 0 / 479.5 MB, free: 98.11 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.875e-05/0.7519, allocations: 5.719 kB / 479.5 MB, free: 98.11 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.55e-05/0.752, allocations: 147.1 kB / 479.6 MB, free: 97.92 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.346e-05/0.752, allocations: 17.98 kB / 479.6 MB, free: 97.9 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.465e-06/0.752, allocations: 0 / 479.6 MB, free: 97.9 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.846e-05/0.7521, allocations: 58.2 kB / 479.7 MB, free: 97.83 MB / 394.7 MB Notification: Performance of pre-optimization done (n=1): time 3.362e-06/0.7521, allocations: 3.406 kB / 479.7 MB, free: 97.83 MB / 394.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001493/0.7522, allocations: 68.42 kB / 479.7 MB, free: 97.77 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.004e-05/0.7523, allocations: 83.44 kB / 479.8 MB, free: 97.67 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.079e-05/0.7523, allocations: 85 kB / 479.9 MB, free: 97.58 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 7.856e-06/0.7523, allocations: 30.55 kB / 479.9 MB, free: 97.55 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.084e-05/0.7524, allocations: 150.6 kB / 480.1 MB, free: 97.4 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.977e-05/0.7524, allocations: 1.031 kB / 480.1 MB, free: 97.4 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.644e-06/0.7524, allocations: 3.938 kB / 480.1 MB, free: 97.4 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 4.9e-05/0.7525, allocations: 316.7 kB / 480.4 MB, free: 97.09 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.016e-05/0.7525, allocations: 0 / 480.4 MB, free: 97.09 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.775e-06/0.7525, allocations: 1.531 kB / 480.4 MB, free: 97.09 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.338e-05/0.7525, allocations: 27.67 kB / 480.4 MB, free: 97.05 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.452e-06/0.7526, allocations: 1.531 kB / 480.4 MB, free: 97.05 MB / 394.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.324e-05/0.7526, allocations: 60.38 kB / 480.5 MB, free: 96.99 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.91e-05/0.7527, allocations: 32.81 kB / 480.5 MB, free: 96.96 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.293e-06/0.7527, allocations: 3.938 kB / 480.5 MB, free: 96.96 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.7527, allocations: 0 / 480.5 MB, free: 96.96 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.384e-06/0.7527, allocations: 2.344 kB / 480.5 MB, free: 96.96 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.034e-06/0.7527, allocations: 0 / 480.5 MB, free: 96.96 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.086e-05/0.7528, allocations: 5.219 kB / 480.5 MB, free: 96.96 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.051e-06/0.7528, allocations: 5.172 kB / 480.5 MB, free: 96.96 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.359e-05/0.7529, allocations: 138.9 kB / 480.7 MB, free: 96.81 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.148e-05/0.7529, allocations: 1.938 kB / 480.7 MB, free: 96.81 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.19e-05/0.7529, allocations: 7.094 kB / 480.7 MB, free: 96.81 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.833e-06/0.7529, allocations: 1.266 kB / 480.7 MB, free: 96.81 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.24e-06/0.7529, allocations: 1.562 kB / 480.7 MB, free: 96.81 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.751e-06/0.753, allocations: 0 / 480.7 MB, free: 96.81 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.657e-05/0.753, allocations: 148.7 kB / 480.8 MB, free: 96.62 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.69e-06/0.753, allocations: 0 / 480.8 MB, free: 96.62 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.114e-06/0.7531, allocations: 1.625 kB / 480.8 MB, free: 96.62 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.17e-06/0.7531, allocations: 1.781 kB / 480.8 MB, free: 96.62 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.227e-06/0.7531, allocations: 3.938 kB / 480.8 MB, free: 96.61 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.765e-06/0.7531, allocations: 1.094 kB / 480.8 MB, free: 96.61 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.508e-06/0.7531, allocations: 0 / 480.8 MB, free: 96.61 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.384e-05/0.7532, allocations: 101.1 kB / 480.9 MB, free: 96.52 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.734e-05/0.7532, allocations: 77.11 kB / 481 MB, free: 96.42 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.525e-05/0.7533, allocations: 4.188 kB / 481 MB, free: 96.42 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.304e-05/0.7533, allocations: 1.531 kB / 481 MB, free: 96.42 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.753e-05/0.7533, allocations: 0 / 481 MB, free: 96.42 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.384e-06/0.7533, allocations: 8.203 kB / 481 MB, free: 96.42 MB / 394.7 MB Notification: Performance of sorting global known variables: time 1.501e-05/0.7533, allocations: 75.28 kB / 481.1 MB, free: 96.35 MB / 394.7 MB Notification: Performance of sort global known variables: time 6.6e-07/0.7534, allocations: 0 / 481.1 MB, free: 96.35 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000725/0.7541, allocations: 158.6 kB / 481.3 MB, free: 96.32 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.00105/0.7552, allocations: 352 kB / 481.6 MB, free: 96.2 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 8.941e-05/0.7553, allocations: 64.06 kB / 481.7 MB, free: 96.14 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.933e-06/0.7553, allocations: 0 / 481.7 MB, free: 96.14 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.566e-05/0.7553, allocations: 55.77 kB / 481.7 MB, free: 96.07 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.829e-05/0.7554, allocations: 5.719 kB / 481.7 MB, free: 96.07 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000159/0.7556, allocations: 110.3 kB / 481.8 MB, free: 95.95 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001054/0.7557, allocations: 0.6735 MB / 482.5 MB, free: 95.25 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.294e-05/0.7558, allocations: 9.812 kB / 482.5 MB, free: 95.25 MB / 394.7 MB Notification: Performance of SimCode: time 1.702e-06/0.7558, allocations: 0 / 482.5 MB, free: 95.25 MB / 394.7 MB Notification: Performance of Templates: time 0.008083/0.7639, allocations: 3.926 MB / 486.4 MB, free: 94.88 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=2 -DSUNDIALS_MINOR_VERSION=6 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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'