Running command: translateModel(ModelicaTest.Math.TestMatrices3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Math.TestMatrices3") Notification: Performance of loadModel(ModelicaTest): time 2.439/2.439, allocations: 269 MB / 284.1 MB, free: 3.641 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.016e-05/3.024e-05, allocations: 3.984 kB / 349 MB, free: 10.78 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1253/0.1253, allocations: 61.9 MB / 410.9 MB, free: 12.88 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices3): time 0.0005911/0.126, allocations: 208.7 kB / 411.1 MB, free: 12.67 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002468/0.1285, allocations: 1.438 MB / 412.6 MB, free: 11.21 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.631e-05/0.1285, allocations: 0 / 412.6 MB, free: 11.21 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.381e-05/0.1285, allocations: 0 / 412.6 MB, free: 11.21 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 5.129e-06/0.1286, allocations: 0 / 412.6 MB, free: 11.21 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008012/0.1294, allocations: 163.5 kB / 412.7 MB, free: 11.05 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 2.876e-05/0.1294, allocations: 4 kB / 412.7 MB, free: 11.05 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.025e-05/0.1294, allocations: 0 / 412.7 MB, free: 11.05 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.908e-05/0.1295, allocations: 0 / 412.7 MB, free: 11.05 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001745/0.1312, allocations: 0.6137 MB / 413.3 MB, free: 10.44 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001273/0.1325, allocations: 0.6481 MB / 414 MB, free: 9.789 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002317/0.1328, allocations: 40 kB / 414 MB, free: 9.75 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.564e-06/0.1328, allocations: 3.984 kB / 414 MB, free: 9.746 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 1.704e-05/0.1328, allocations: 0 / 414 MB, free: 9.746 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006817/0.1335, allocations: 451.3 kB / 414.5 MB, free: 9.305 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.1335, allocations: 4 kB / 414.5 MB, free: 9.301 MB / 346.7 MB Notification: Performance of FrontEnd: time 5.53e-06/0.1335, allocations: 0 / 414.5 MB, free: 9.301 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.987e-06/0.1336, allocations: 3.938 kB / 414.5 MB, free: 9.297 MB / 346.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.0004826/0.134, allocations: 361 kB / 414.8 MB, free: 8.891 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/0.1341, allocations: 12.03 kB / 414.8 MB, free: 8.879 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.097e-05/0.1341, allocations: 0 / 414.8 MB, free: 8.879 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000105/0.1343, allocations: 163.1 kB / 415 MB, free: 8.68 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.447e-05/0.1343, allocations: 0 / 415 MB, free: 8.68 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.254e-05/0.1343, allocations: 0 / 415 MB, free: 8.68 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.911e-05/0.1344, allocations: 37.64 kB / 415 MB, free: 8.637 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/0.1344, allocations: 4 kB / 415 MB, free: 8.633 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.837e-06/0.1344, allocations: 0 / 415 MB, free: 8.633 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.275e-06/0.1345, allocations: 0 / 415 MB, free: 8.633 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.929e-05/0.1345, allocations: 0 / 415 MB, free: 8.633 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001381/0.1346, allocations: 145.7 kB / 415.2 MB, free: 8.441 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.483e-05/0.1347, allocations: 26.48 kB / 415.2 MB, free: 8.406 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.049e-06/0.1347, allocations: 0 / 415.2 MB, free: 8.406 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.13e-05/0.1348, allocations: 60.27 kB / 415.3 MB, free: 8.332 MB / 346.7 MB Notification: Performance of pre-optimization done (n=1): time 1.383e-06/0.1348, allocations: 0 / 415.3 MB, free: 8.332 MB / 346.7 MB Notification: Performance of matching and sorting (n=1): time 0.000178/0.135, allocations: 67.41 kB / 415.3 MB, free: 8.254 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.516e-05/0.135, allocations: 85.17 kB / 415.4 MB, free: 8.152 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4e-05/0.1351, allocations: 88.94 kB / 415.5 MB, free: 8.059 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.481e-05/0.1351, allocations: 29.7 kB / 415.5 MB, free: 8.023 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.89e-05/0.1352, allocations: 150.6 kB / 415.7 MB, free: 7.875 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.671e-05/0.1352, allocations: 0 / 415.7 MB, free: 7.875 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.484e-06/0.1352, allocations: 0 / 415.7 MB, free: 7.875 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001134/0.1353, allocations: 314.8 kB / 416 MB, free: 7.559 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.239e-05/0.1354, allocations: 3.984 kB / 416 MB, free: 7.555 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.097e-05/0.1354, allocations: 8 kB / 416 MB, free: 7.547 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.199e-05/0.1354, allocations: 25.7 kB / 416 MB, free: 7.516 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.1354, allocations: 0 / 416 MB, free: 7.516 MB / 346.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.67e-05/0.1355, allocations: 59.41 kB / 416.1 MB, free: 7.445 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.765e-05/0.1356, allocations: 29.7 kB / 416.1 MB, free: 7.41 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.1356, allocations: 0 / 416.1 MB, free: 7.41 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.1356, allocations: 0 / 416.1 MB, free: 7.41 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.671e-06/0.1356, allocations: 7.938 kB / 416.1 MB, free: 7.402 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.393e-06/0.1356, allocations: 4 kB / 416.1 MB, free: 7.398 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.117e-05/0.1357, allocations: 0 / 416.1 MB, free: 7.398 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.655e-06/0.1357, allocations: 8.031 kB / 416.1 MB, free: 7.391 MB / 346.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 9.209e-05/0.1358, allocations: 135.5 kB / 416.3 MB, free: 7.242 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.14e-05/0.1358, allocations: 4 kB / 416.3 MB, free: 7.238 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.48e-05/0.1358, allocations: 7.109 kB / 416.3 MB, free: 7.23 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.1359, allocations: 0 / 416.3 MB, free: 7.23 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.653e-06/0.1359, allocations: 3.953 kB / 416.3 MB, free: 7.227 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.1359, allocations: 0 / 416.3 MB, free: 7.227 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001038/0.136, allocations: 145.7 kB / 416.4 MB, free: 7.035 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.136, allocations: 4 kB / 416.4 MB, free: 7.031 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.82e-07/0.136, allocations: 4 kB / 416.4 MB, free: 7.027 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.013e-06/0.136, allocations: 0 / 416.4 MB, free: 7.027 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.787e-06/0.136, allocations: 4 kB / 416.4 MB, free: 7.023 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.198e-06/0.1361, allocations: 0 / 416.4 MB, free: 7.023 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.1361, allocations: 3.938 kB / 416.4 MB, free: 7.02 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001159/0.1362, allocations: 94.78 kB / 416.5 MB, free: 6.902 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.371e-05/0.1362, allocations: 77.11 kB / 416.6 MB, free: 6.809 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.462e-05/0.1363, allocations: 0 / 416.6 MB, free: 6.809 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.222e-05/0.1363, allocations: 4.031 kB / 416.6 MB, free: 6.805 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.489e-05/0.1363, allocations: 7.938 kB / 416.6 MB, free: 6.797 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.018e-06/0.1363, allocations: 0 / 416.6 MB, free: 6.797 MB / 346.7 MB Notification: Performance of sorting global known variables: time 2.843e-05/0.1364, allocations: 75.28 kB / 416.7 MB, free: 6.723 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.11e-07/0.1364, allocations: 0 / 416.7 MB, free: 6.723 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006291/0.137, allocations: 127.9 kB / 416.8 MB, free: 6.598 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: 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.0009628/0.138, allocations: 181.4 kB / 417 MB, free: 6.414 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001133/0.1381, allocations: 63.39 kB / 417.1 MB, free: 6.34 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.1381, allocations: 0 / 417.1 MB, free: 6.34 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.944e-05/0.1382, allocations: 55.41 kB / 417.1 MB, free: 6.273 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.621e-05/0.1383, allocations: 8.125 kB / 417.1 MB, free: 6.266 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001959/0.1385, allocations: 100.4 kB / 417.2 MB, free: 6.133 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002631/0.1388, allocations: 0.6731 MB / 417.9 MB, free: 5.434 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.352e-05/0.1388, allocations: 7.438 kB / 417.9 MB, free: 5.426 MB / 346.7 MB Notification: Performance of SimCode: time 7.21e-07/0.1388, allocations: 3.938 kB / 417.9 MB, free: 5.422 MB / 346.7 MB Notification: Performance of Templates: time 0.008446/0.1473, allocations: 3.375 MB / 421.3 MB, free: 2.043 MB / 346.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Math.TestMatrices3.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 -DENABLE_OMSI -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsi/" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsi/base" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsi/solver" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsicpp/" -I. "-I/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" "-I/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelicaTest_trunk_cpp_ModelicaTest.Math.TestMatrices3CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Math.TestMatrices3CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Math.TestMatrices3CalcHelperMain.cpp:29: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Math.TestMatrices3Functions.cpp:136:46: error: use of undeclared identifier 'D_24i1_' D_24tmpVar2_ = std::abs(A_(D_24i1_,i_)); ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Math.TestMatrices3Functions.cpp:213:53: error: use of undeclared identifier 'D_24i1_' D_24tmpVar0_ = std::abs(A_(i_,D_24i1_)); ^ 2 errors generated. : recipe for target 'OMCppModelicaTest_trunk_cpp_ModelicaTest.Math.TestMatrices3CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Math.TestMatrices3CalcHelperMain.o] Error 1