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.246/2.246, allocations: 235 MB / 247.6 MB, free: 14.33 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.202e-05/3.221e-05, allocations: 0 / 304.9 MB, free: 5.672 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3253/0.3253, allocations: 54.86 MB / 359.8 MB, free: 2.652 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1287/0.4541, allocations: 83.69 MB / 443.4 MB, free: 13.3 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002106/0.4544, allocations: 64.56 kB / 443.5 MB, free: 13.23 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1063/0.5607, allocations: 25.63 MB / 469.1 MB, free: 3.598 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.556e-06/0.5608, allocations: 4 kB / 469.1 MB, free: 3.594 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.534e-06/0.5608, allocations: 0 / 469.1 MB, free: 3.594 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.0006663/0.5615, allocations: 432 kB / 469.6 MB, free: 3.121 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.5615, allocations: 8.031 kB / 469.6 MB, free: 3.113 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.656e-05/0.5616, allocations: 4 kB / 469.6 MB, free: 3.109 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001217/0.5617, allocations: 163.1 kB / 469.7 MB, free: 2.91 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.377e-05/0.5617, allocations: 3.938 kB / 469.7 MB, free: 2.906 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.586e-06/0.5618, allocations: 0 / 469.7 MB, free: 2.906 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.762e-05/0.5618, allocations: 37.69 kB / 469.8 MB, free: 2.863 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.5619, allocations: 7.938 kB / 469.8 MB, free: 2.855 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.163e-05/0.5619, allocations: 3.953 kB / 469.8 MB, free: 2.852 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.886e-06/0.5619, allocations: 0 / 469.8 MB, free: 2.852 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.578e-05/0.5619, allocations: 0 / 469.8 MB, free: 2.852 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000153/0.5621, allocations: 141.7 kB / 469.9 MB, free: 2.664 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.111e-05/0.5622, allocations: 18.58 kB / 469.9 MB, free: 2.637 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.631e-05/0.5622, allocations: 4.859 kB / 470 MB, free: 2.629 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.553e-06/0.5622, allocations: 0 / 470 MB, free: 2.629 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.611e-05/0.5623, allocations: 68.33 kB / 470 MB, free: 2.547 MB / 394.7 MB Notification: Performance of pre-optimization done (n=1): time 1.946e-06/0.5623, allocations: 0 / 470 MB, free: 2.547 MB / 394.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001651/0.5625, allocations: 67.28 kB / 470.1 MB, free: 2.469 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.09e-05/0.5625, allocations: 81.11 kB / 470.2 MB, free: 2.371 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.183e-05/0.5626, allocations: 85 kB / 470.2 MB, free: 2.281 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.721e-05/0.5626, allocations: 26.36 kB / 470.3 MB, free: 2.25 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.036e-05/0.5627, allocations: 150.6 kB / 470.4 MB, free: 2.102 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.692e-05/0.5627, allocations: 0 / 470.4 MB, free: 2.102 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.989e-06/0.5628, allocations: 4.031 kB / 470.4 MB, free: 2.098 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001555/0.5629, allocations: 310.8 kB / 470.7 MB, free: 1.785 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.465e-06/0.5629, allocations: 0 / 470.7 MB, free: 1.785 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.895e-06/0.563, allocations: 4 kB / 470.7 MB, free: 1.781 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.859e-05/0.563, allocations: 36.03 kB / 470.8 MB, free: 1.742 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.172e-06/0.563, allocations: 0 / 470.8 MB, free: 1.742 MB / 394.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.549e-05/0.5631, allocations: 59.41 kB / 470.8 MB, free: 1.672 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.858e-05/0.5632, allocations: 29.7 kB / 470.9 MB, free: 1.637 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.643e-06/0.5632, allocations: 4.094 kB / 470.9 MB, free: 1.633 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/0.5632, allocations: 0 / 470.9 MB, free: 1.633 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.802e-06/0.5632, allocations: 7.938 kB / 470.9 MB, free: 1.625 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.744e-06/0.5632, allocations: 0 / 470.9 MB, free: 1.625 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.2e-05/0.5633, allocations: 7.938 kB / 470.9 MB, free: 1.617 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.836e-06/0.5633, allocations: 0 / 470.9 MB, free: 1.617 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 () * 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 0.0001025/0.5634, allocations: 132.4 kB / 471 MB, free: 1.477 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.227e-05/0.5634, allocations: 3.984 kB / 471 MB, free: 1.473 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.676e-05/0.5635, allocations: 3.125 kB / 471 MB, free: 1.469 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.329e-06/0.5635, allocations: 7.938 kB / 471 MB, free: 1.461 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.392e-06/0.5635, allocations: 0 / 471 MB, free: 1.461 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.94e-06/0.5635, allocations: 0 / 471 MB, free: 1.461 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001257/0.5636, allocations: 157.6 kB / 471.2 MB, free: 1.258 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.712e-06/0.5636, allocations: 0 / 471.2 MB, free: 1.258 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.243e-06/0.5636, allocations: 0 / 471.2 MB, free: 1.258 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.477e-06/0.5637, allocations: 0 / 471.2 MB, free: 1.258 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.929e-06/0.5637, allocations: 3.984 kB / 471.2 MB, free: 1.254 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.165e-06/0.5637, allocations: 0 / 471.2 MB, free: 1.254 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.708e-06/0.5637, allocations: 0 / 471.2 MB, free: 1.254 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00013/0.5638, allocations: 94.78 kB / 471.3 MB, free: 1.137 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.091e-05/0.5639, allocations: 81.11 kB / 471.3 MB, free: 1.039 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.373e-05/0.5639, allocations: 1.219 kB / 471.3 MB, free: 1.039 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.544e-05/0.5639, allocations: 4 kB / 471.4 MB, free: 1.035 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.888e-05/0.564, allocations: 3.938 kB / 471.4 MB, free: 1.031 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.654e-06/0.564, allocations: 4 kB / 471.4 MB, free: 1.027 MB / 394.7 MB Notification: Performance of sorting global known variables: time 4.816e-05/0.5641, allocations: 75.28 kB / 471.4 MB, free: 0.9531 MB / 394.7 MB Notification: Performance of sort global known variables: time 6.8e-07/0.5641, allocations: 0 / 471.4 MB, free: 0.9531 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007003/0.5648, allocations: 159.9 kB / 471.6 MB, free: 0.7969 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) * 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.001101/0.5659, allocations: 345.2 kB / 471.9 MB, free: 484 kB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001012/0.566, allocations: 55.41 kB / 472 MB, free: 416 kB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.715e-06/0.566, allocations: 1.031 kB / 472 MB, free: 416 kB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.47e-05/0.5661, allocations: 63.34 kB / 472 MB, free: 340 kB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001002/0.5662, allocations: 8.172 kB / 472 MB, free: 332 kB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001632/0.5664, allocations: 80 kB / 472.1 MB, free: 224 kB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003611/0.5668, allocations: 0.6692 MB / 472.8 MB, free: 15.52 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.141e-05/0.5668, allocations: 11.44 kB / 472.8 MB, free: 15.51 MB / 410.7 MB Notification: Performance of SimCode: time 1.339e-06/0.5668, allocations: 0 / 472.8 MB, free: 15.51 MB / 410.7 MB Notification: Performance of Templates: time 0.008638/0.5754, allocations: 3.898 MB / 476.7 MB, free: 11.61 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.2_cpp_ModelicaTest.Math.TestMatrices2b.makefile 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/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 In file included from OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Math.TestMatrices2bCalcHelperMain.cpp:28: ./OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Math.TestMatrices2bFunctions.cpp:226:57: error: use of undeclared identifier '_omcQuot_24746D7056617236_'; did you mean '_omcQuot_24746D7056617237_'? _omcQuot_24746D7056617237_ = std::abs(_omcQuot_24746D7056617236_); ^~~~~~~~~~~~~~~~~~~~~~~~~~ _omcQuot_24746D7056617237_ ./OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Math.TestMatrices2bFunctions.cpp:198:22: note: '_omcQuot_24746D7056617237_' declared here double _omcQuot_24746D7056617237_; ^ ./OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Math.TestMatrices2bFunctions.cpp:296:63: error: use of undeclared identifier '_omcQuot_24746D7056617239_'; did you mean '_omcQuot_24746D705661723130_'? _omcQuot_24746D705661723130_ = std::abs(_omcQuot_24746D7056617239_); ^~~~~~~~~~~~~~~~~~~~~~~~~~ _omcQuot_24746D705661723130_ ./OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Math.TestMatrices2bFunctions.cpp:268:26: note: '_omcQuot_24746D705661723130_' declared here double _omcQuot_24746D705661723130_; ^ 2 errors generated. : recipe for target 'OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Math.TestMatrices2bCalcHelperMain.o' failed make: *** [OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Math.TestMatrices2bCalcHelperMain.o] Error 1