Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Math.TestPolynomials.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Math.TestPolynomials,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestPolynomials") translateModel(ModelicaTest.Math.TestPolynomials,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestPolynomials") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001579/0.001586, allocations: 106.9 kB / 16.52 MB, free: 6.723 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001717/0.001717, allocations: 192.4 kB / 17.44 MB, free: 6.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.844/1.844, allocations: 205.1 MB / 223.3 MB, free: 12.48 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2854/0.2854, allocations: 43.51 MB / 314.1 MB, free: 0.7539 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001929/0.001928, allocations: 69 kB / 382.7 MB, free: 56.86 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1717/0.1737, allocations: 57.79 MB / 440.5 MB, free: 7.488 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestPolynomials): time 0.002524/0.1763, allocations: 0.5622 MB / 441 MB, free: 6.918 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006204/0.1825, allocations: 5.135 MB / 446.2 MB, free: 1.75 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.538e-05/0.1825, allocations: 0 / 446.2 MB, free: 1.75 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.166e-05/0.1826, allocations: 0 / 446.2 MB, free: 1.75 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.814e-06/0.1826, allocations: 0 / 446.2 MB, free: 1.75 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009045/0.1835, allocations: 199.2 kB / 446.4 MB, free: 1.559 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 3.982e-05/0.1836, allocations: 0 / 446.4 MB, free: 1.559 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.841e-05/0.1836, allocations: 0 / 446.4 MB, free: 1.559 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.451e-05/0.1837, allocations: 4 kB / 446.4 MB, free: 1.555 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.121e-05/0.1837, allocations: 0 / 446.4 MB, free: 1.555 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.884e-06/0.1837, allocations: 0 / 446.4 MB, free: 1.555 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005174/0.1842, allocations: 395.2 kB / 446.7 MB, free: 1.168 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.248e-06/0.1843, allocations: 0 / 446.7 MB, free: 1.168 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.41e-05/0.1843, allocations: 4 kB / 446.7 MB, free: 1.164 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000283/0.1846, allocations: 203.6 kB / 446.9 MB, free: 0.9648 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.1846, allocations: 0 / 446.9 MB, free: 0.9648 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.1846, allocations: 0 / 446.9 MB, free: 0.9648 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.1846, allocations: 3.938 kB / 446.9 MB, free: 0.9609 MB / 318.1 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.0003978/0.185, allocations: 389.3 kB / 447.3 MB, free: 0.5273 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.283e-05/0.1851, allocations: 8.031 kB / 447.3 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.403e-05/0.1851, allocations: 0.9375 kB / 447.3 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.971e-05/0.1852, allocations: 160.4 kB / 447.5 MB, free: 332 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.363e-05/0.1852, allocations: 8.375 kB / 447.5 MB, free: 324 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.845e-06/0.1852, allocations: 384 / 447.5 MB, free: 324 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001019/0.1853, allocations: 37.8 kB / 447.5 MB, free: 280 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.265e-06/0.1854, allocations: 4 kB / 447.5 MB, free: 276 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.738e-06/0.1854, allocations: 0 / 447.5 MB, free: 276 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-06/0.1854, allocations: 4 kB / 447.5 MB, free: 272 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.217e-05/0.1854, allocations: 0 / 447.5 MB, free: 272 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001207/0.1855, allocations: 149.6 kB / 447.7 MB, free: 72 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.12e-05/0.1856, allocations: 30.48 kB / 447.7 MB, free: 32 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.364e-05/0.1856, allocations: 4.859 kB / 447.7 MB, free: 24 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.846e-06/0.1856, allocations: 0 / 447.7 MB, free: 24 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.64e-05/0.1857, allocations: 68.25 kB / 447.8 MB, free: 15.94 MB / 334.1 MB Notification: Performance of pre-optimization done (n=1): time 1.182e-06/0.1857, allocations: 0 / 447.8 MB, free: 15.94 MB / 334.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002073/0.1859, allocations: 67.34 kB / 447.9 MB, free: 15.86 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.296e-05/0.186, allocations: 77.11 kB / 447.9 MB, free: 15.77 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.801e-05/0.1861, allocations: 93.98 kB / 448 MB, free: 15.66 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.601e-05/0.1861, allocations: 25.7 kB / 448.1 MB, free: 15.63 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.937e-05/0.1861, allocations: 80.14 kB / 448.1 MB, free: 15.55 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.948e-05/0.1862, allocations: 3.984 kB / 448.1 MB, free: 15.55 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.826e-05/0.1862, allocations: 13.72 kB / 448.1 MB, free: 15.53 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001564/0.1864, allocations: 314.8 kB / 448.5 MB, free: 15.21 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.137e-05/0.1864, allocations: 0 / 448.5 MB, free: 15.21 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.348e-06/0.1864, allocations: 4 kB / 448.5 MB, free: 15.21 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.035e-05/0.1865, allocations: 60.33 kB / 448.5 MB, free: 15.13 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.1865, allocations: 0 / 448.5 MB, free: 15.13 MB / 334.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.09e-05/0.1866, allocations: 67.33 kB / 448.6 MB, free: 15.05 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.535e-05/0.1866, allocations: 37.64 kB / 448.6 MB, free: 15.01 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.1866, allocations: 0 / 448.6 MB, free: 15.01 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.694e-05/0.1867, allocations: 0 / 448.6 MB, free: 15.01 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.423e-06/0.1867, allocations: 0 / 448.6 MB, free: 15.01 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.835e-06/0.1867, allocations: 0 / 448.6 MB, free: 15.01 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.941e-05/0.1867, allocations: 288 / 448.6 MB, free: 15.01 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.083e-05/0.1867, allocations: 0 / 448.6 MB, free: 15.01 MB / 334.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001142/0.1869, allocations: 147.5 kB / 448.8 MB, free: 14.85 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.26e-05/0.1869, allocations: 7.922 kB / 448.8 MB, free: 14.84 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.294e-05/0.1869, allocations: 3.125 kB / 448.8 MB, free: 14.84 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-06/0.1869, allocations: 0 / 448.8 MB, free: 14.84 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.1869, allocations: 0 / 448.8 MB, free: 14.84 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.1869, allocations: 4 kB / 448.8 MB, free: 14.84 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001347/0.1871, allocations: 145.6 kB / 448.9 MB, free: 14.64 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.21e-07/0.1871, allocations: 0 / 448.9 MB, free: 14.64 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.41e-07/0.1871, allocations: 0 / 448.9 MB, free: 14.64 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.594e-06/0.1871, allocations: 11.92 kB / 448.9 MB, free: 14.63 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.506e-06/0.1871, allocations: 3.938 kB / 448.9 MB, free: 14.63 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.61e-07/0.1871, allocations: 4 kB / 448.9 MB, free: 14.62 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.1871, allocations: 0 / 448.9 MB, free: 14.62 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001169/0.1872, allocations: 86.78 kB / 449 MB, free: 14.52 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.801e-05/0.1873, allocations: 93.02 kB / 449.1 MB, free: 14.41 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.33e-05/0.1873, allocations: 0 / 449.1 MB, free: 14.41 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.035e-06/0.1873, allocations: 0 / 449.1 MB, free: 14.41 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.916e-05/0.1874, allocations: 11.97 kB / 449.1 MB, free: 14.39 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.254e-06/0.1874, allocations: 0 / 449.1 MB, free: 14.39 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.683e-05/0.1874, allocations: 79.28 kB / 449.2 MB, free: 14.32 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1874, allocations: 4 kB / 449.2 MB, free: 14.31 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003097/0.1877, allocations: 59.98 kB / 449.3 MB, free: 14.25 MB / 334.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005269/0.1883, allocations: 198 kB / 449.5 MB, free: 14.06 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001142/0.1884, allocations: 55.41 kB / 449.5 MB, free: 14 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.1884, allocations: 0 / 449.5 MB, free: 14 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.617e-05/0.1884, allocations: 55.41 kB / 449.6 MB, free: 13.93 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001344/0.1886, allocations: 0 / 449.6 MB, free: 13.93 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002515/0.1889, allocations: 124.2 kB / 449.7 MB, free: 13.78 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003063/0.1892, allocations: 0.6692 MB / 450.4 MB, free: 13.08 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.574e-05/0.1892, allocations: 15.56 kB / 450.4 MB, free: 13.07 MB / 334.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1892, allocations: 0 / 450.4 MB, free: 13.07 MB / 334.1 MB Notification: Performance of Templates: time 0.004149/0.1934, allocations: 1.577 MB / 452 MB, free: 11.49 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.TestPolynomials.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.TestPolynomials.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelicaTest_3.2.3_ModelicaTest.Math.TestPolynomialsCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Math.TestPolynomialsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Math.TestPolynomialsCalcHelperMain.o] Error 1