Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Math.TestNonlinear.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.TestNonlinear,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="//possible continuous states|//possible discrete states",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Math.TestNonlinear") Notification: Performance of loadModel(ModelicaTest): time 2.494/2.494, allocations: 234.9 MB / 251.1 MB, free: 9.477 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004528/0.0004529, allocations: 12 kB / 314.9 MB, free: 9.539 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4373/0.4378, allocations: 54.86 MB / 369.8 MB, free: 12.77 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestNonlinear): time 0.0007055/0.4386, allocations: 212.5 kB / 370 MB, free: 12.56 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004453/0.443, allocations: 2.049 MB / 372.1 MB, free: 10.49 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.17e-06/0.443, allocations: 0 / 372.1 MB, free: 10.49 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 4.589e-06/0.4431, allocations: 0 / 372.1 MB, free: 10.49 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 1.663e-06/0.4431, allocations: 0 / 372.1 MB, free: 10.49 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003008/0.4461, allocations: 0.4988 MB / 372.6 MB, free: 9.992 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 4.347e-05/0.4462, allocations: 7.984 kB / 372.6 MB, free: 9.984 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.442e-05/0.4462, allocations: 0 / 372.6 MB, free: 9.984 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.767e-05/0.4463, allocations: 23.86 kB / 372.6 MB, free: 9.961 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.131e-05/0.4464, allocations: 4 kB / 372.6 MB, free: 9.957 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.071e-06/0.4464, allocations: 0 / 372.6 MB, free: 9.957 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001332/0.4477, allocations: 0.5345 MB / 373.1 MB, free: 9.422 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.25e-06/0.4478, allocations: 0 / 373.1 MB, free: 9.422 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.696e-05/0.4478, allocations: 25.7 kB / 373.2 MB, free: 9.391 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000675/0.4485, allocations: 295.5 kB / 373.4 MB, free: 9.102 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.4485, allocations: 0 / 373.4 MB, free: 9.102 MB / 298.7 MB Notification: Performance of FrontEnd: time 4.468e-06/0.4485, allocations: 3.984 kB / 373.4 MB, free: 9.098 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.661e-06/0.4485, allocations: 0 / 373.4 MB, free: 9.098 MB / 298.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.0004972/0.449, allocations: 413.1 kB / 373.8 MB, free: 8.641 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.336e-05/0.4491, allocations: 15.95 kB / 373.9 MB, free: 8.625 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.596e-05/0.4492, allocations: 79.28 kB / 373.9 MB, free: 8.547 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001499/0.4493, allocations: 238.3 kB / 374.2 MB, free: 8.273 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.032e-05/0.4494, allocations: 150.6 kB / 374.3 MB, free: 8.125 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.325e-05/0.4495, allocations: 158.5 kB / 374.5 MB, free: 7.969 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.279e-05/0.4496, allocations: 101 kB / 374.6 MB, free: 7.863 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.655e-05/0.4497, allocations: 79.23 kB / 374.7 MB, free: 7.785 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.629e-05/0.4497, allocations: 158.6 kB / 374.8 MB, free: 7.629 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.576e-05/0.4498, allocations: 150.6 kB / 375 MB, free: 7.48 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.168e-05/0.4499, allocations: 154.5 kB / 375.1 MB, free: 7.328 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003441/0.4503, allocations: 445.9 kB / 375.5 MB, free: 6.844 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001112/0.4504, allocations: 173.1 kB / 375.7 MB, free: 6.664 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.671e-05/0.4504, allocations: 75.28 kB / 375.8 MB, free: 6.59 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.401e-05/0.4505, allocations: 131.5 kB / 375.9 MB, free: 6.445 MB / 298.7 MB Notification: Performance of pre-optimization done (n=0): time 1.322e-06/0.4505, allocations: 0 / 375.9 MB, free: 6.445 MB / 298.7 MB Notification: Performance of matching and sorting (n=0): time 8.488e-05/0.4506, allocations: 37.59 kB / 375.9 MB, free: 6.402 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.524e-05/0.4507, allocations: 77.11 kB / 376 MB, free: 6.309 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.032e-05/0.4508, allocations: 89.86 kB / 376.1 MB, free: 6.211 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.12e-05/0.4508, allocations: 29.7 kB / 376.1 MB, free: 6.176 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.785e-05/0.4509, allocations: 154.6 kB / 376.3 MB, free: 6.023 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.944e-06/0.4509, allocations: 0 / 376.3 MB, free: 6.023 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.01e-07/0.4509, allocations: 0 / 376.3 MB, free: 6.023 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000144/0.4511, allocations: 310.8 kB / 376.6 MB, free: 5.711 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.388e-06/0.4511, allocations: 0 / 376.6 MB, free: 5.711 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.277e-05/0.4511, allocations: 7.984 kB / 376.6 MB, free: 5.703 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.438e-05/0.4512, allocations: 79.28 kB / 376.7 MB, free: 5.625 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.841e-05/0.4512, allocations: 79.31 kB / 376.8 MB, free: 5.547 MB / 298.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.542e-05/0.4513, allocations: 29.64 kB / 376.8 MB, free: 5.512 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.382e-05/0.4513, allocations: 83.28 kB / 376.9 MB, free: 5.43 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.154e-05/0.4514, allocations: 79.27 kB / 376.9 MB, free: 5.352 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.924e-05/0.4515, allocations: 150.6 kB / 377.1 MB, free: 5.203 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.217e-05/0.4515, allocations: 87.2 kB / 377.2 MB, free: 5.117 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.314e-05/0.4516, allocations: 154.6 kB / 377.3 MB, free: 4.965 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001019/0.4517, allocations: 91.16 kB / 377.4 MB, free: 4.875 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.354e-05/0.4518, allocations: 79.28 kB / 377.5 MB, free: 4.797 MB / 298.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.0001581/0.452, allocations: 260.4 kB / 377.7 MB, free: 4.531 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.706e-05/0.452, allocations: 104.9 kB / 377.9 MB, free: 4.422 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.71e-05/0.4521, allocations: 107.9 kB / 378 MB, free: 4.312 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.883e-05/0.4522, allocations: 192.2 kB / 378.1 MB, free: 4.117 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.304e-05/0.4523, allocations: 104.9 kB / 378.2 MB, free: 4.008 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.831e-05/0.4524, allocations: 182.1 kB / 378.4 MB, free: 3.805 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001013/0.4525, allocations: 184.2 kB / 378.6 MB, free: 3.617 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.606e-05/0.4526, allocations: 105.2 kB / 378.7 MB, free: 3.508 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.329e-05/0.4527, allocations: 180.2 kB / 378.9 MB, free: 3.324 MB / 298.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001211/0.4528, allocations: 263.5 kB / 379.1 MB, free: 3.059 MB / 298.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0002115/0.4531, allocations: 383.1 kB / 379.5 MB, free: 2.66 MB / 298.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.57e-05/0.4531, allocations: 101 kB / 379.6 MB, free: 2.555 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.893e-05/0.4532, allocations: 79.23 kB / 379.7 MB, free: 2.477 MB / 298.7 MB Notification: Performance of Backend: time 6.62e-07/0.4532, allocations: 0 / 379.7 MB, free: 2.477 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001463/0.4547, allocations: 336 kB / 380 MB, free: 2.16 MB / 298.7 MB Notification: Performance of SimCode: time 0.0005564/0.4552, allocations: 1.001 MB / 381 MB, free: 1.102 MB / 298.7 MB Notification: Performance of Templates: time 0.007801/0.4631, allocations: 2.875 MB / 383.9 MB, free: 14.22 MB / 314.7 MB make -j1 -f ModelicaTest_3.2.2_cpp_ModelicaTest.Math.TestNonlinear.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.TestNonlinearCalcHelperMain.o OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Math.TestNonlinearCalcHelperMain.cpp\nIn file included from OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Math.TestNonlinearCalcHelperMain.cpp:28:\n./OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Math.TestNonlinearFunctions.cpp:216:56: error: use of undeclared identifier \'f_\'\n Modelica_Math_Nonlinear_quadratureLobatto_quadStep(f_, a_, b_, fa_, fb_, is_,tmp6);\n ^\n./OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Math.TestNonlinearFunctions.cpp:562:19: error: use of undeclared identifier \'_omcQ_24i1_\'\n switch (_omcQ_24i1_) { /* ASUB */\n ^\n./OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Math.TestNonlinearFunctions.cpp:840:19: error: use of undeclared identifier \'_omcQ_24i1_\'\n switch (_omcQ_24i1_) { /* ASUB */\n ^\n./OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Math.TestNonlinearFunctions.cpp:1298:58: error: use of undeclared identifier \'f_\'\n Modelica_Math_Nonlinear_quadratureLobatto_quadStep(f_, a_, mll_, fa_, fmll_, is_,tmp76);\n ^\n./OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Math.TestNonlinearFunctions.cpp:1299:58: error: use of undeclared identifier \'f_\'\n Modelica_Math_Nonlinear_quadratureLobatto_quadStep(f_, mll_, ml_, fmll_, fml_, is_,tmp77);\n ^\n./OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Math.TestNonlinearFunctions.cpp:1300:58: error: use of undeclared identifier \'f_\'\n Modelica_Math_Nonlinear_quadratureLobatto_quadStep(f_, ml_, m_, fml_, fm_, is_,tmp78);\n ^\n./OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Math.TestNonlinearFunctions.cpp:1301:58: error: use of undeclared identifier \'f_\'\n Modelica_Math_Nonlinear_quadratureLobatto_quadStep(f_, m_, mr_, fm_, fmr_, is_,tmp79);\n ^\n./OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Math.TestNonlinearFunctions.cpp:1302:58: error: use of undeclared identifier \'f_\'\n Modelica_Math_Nonlinear_quadratureLobatto_quadStep(f_, mr_, mrr_, fmr_, fmrr_, is_,tmp80);\n ^\n./OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Math.TestNonlinearFunctions.cpp:1303:58: error: use of undeclared identifier \'f_\'\n Modelica_Math_Nonlinear_quadratureLobatto_quadStep(f_, mrr_, b_, fmrr_, fb_, is_,tmp81);\n ^\n9 errors generated.\n: recipe for target \'OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Math.TestNonlinearCalcHelperMain.o\' failed\nmake: *** [OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Math.TestNonlinearCalcHelperMain.o] Error 1\n'