Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Math.TestScalarFunctions.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.TestScalarFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestScalarFunctions") translateModel(ModelicaTest.Math.TestScalarFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestScalarFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009624/0.0009625, allocations: 91.09 kB / 16.67 MB, free: 6.105 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.001169/0.001169, allocations: 180.1 kB / 17.57 MB, free: 5.82 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.012/2.012, allocations: 205.4 MB / 223.8 MB, free: 13.06 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.2954/0.2954, allocations: 43.59 MB / 315.6 MB, free: 420 kB / 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.0005753/0.0005751, allocations: 17.75 kB / 385.2 MB, free: 56.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1482/0.1488, allocations: 58.87 MB / 444.1 MB, free: 5.168 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestScalarFunctions): time 0.0007003/0.1496, allocations: 224.7 kB / 444.3 MB, free: 4.945 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001589/0.1512, allocations: 1.402 MB / 445.7 MB, free: 3.527 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.21e-05/0.1512, allocations: 4 kB / 445.7 MB, free: 3.523 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.353e-05/0.1513, allocations: 4 kB / 445.7 MB, free: 3.52 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 6.222e-06/0.1513, allocations: 0 / 445.7 MB, free: 3.52 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004695/0.1518, allocations: 91.16 kB / 445.8 MB, free: 3.434 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 4.291e-05/0.1518, allocations: 0 / 445.8 MB, free: 3.434 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.576e-05/0.1519, allocations: 0 / 445.8 MB, free: 3.434 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.229e-05/0.1519, allocations: 0 / 445.8 MB, free: 3.434 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.978e-05/0.1519, allocations: 0 / 445.8 MB, free: 3.434 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.102e-05/0.152, allocations: 4 kB / 445.8 MB, free: 3.43 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001998/0.1522, allocations: 39.97 kB / 445.9 MB, free: 3.391 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.858e-06/0.1522, allocations: 0 / 445.9 MB, free: 3.391 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.469e-05/0.1522, allocations: 29.7 kB / 445.9 MB, free: 3.355 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 8.946e-05/0.1523, allocations: 27.95 kB / 445.9 MB, free: 3.328 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.1523, allocations: 0 / 445.9 MB, free: 3.328 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.1523, allocations: 0 / 445.9 MB, free: 3.328 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.651e-06/0.1523, allocations: 0 / 445.9 MB, free: 3.328 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.0003001/0.1527, allocations: 345.3 kB / 446.2 MB, free: 2.938 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.685e-05/0.1527, allocations: 8.031 kB / 446.3 MB, free: 2.93 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.963e-05/0.1528, allocations: 8.844 kB / 446.3 MB, free: 2.922 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.39e-05/0.1528, allocations: 172.3 kB / 446.4 MB, free: 2.715 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.561e-05/0.1529, allocations: 4.375 kB / 446.4 MB, free: 2.711 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.17e-05/0.1529, allocations: 4.375 kB / 446.4 MB, free: 2.707 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001202/0.153, allocations: 30.02 kB / 446.5 MB, free: 2.672 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.153, allocations: 4 kB / 446.5 MB, free: 2.668 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.236e-05/0.153, allocations: 3.984 kB / 446.5 MB, free: 2.664 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.032e-06/0.1531, allocations: 0 / 446.5 MB, free: 2.664 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.096e-05/0.1531, allocations: 0 / 446.5 MB, free: 2.664 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001119/0.1532, allocations: 146 kB / 446.6 MB, free: 2.473 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.924e-05/0.1532, allocations: 26.48 kB / 446.6 MB, free: 2.438 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.523e-05/0.1533, allocations: 12.86 kB / 446.7 MB, free: 2.422 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.175e-06/0.1533, allocations: 0 / 446.7 MB, free: 2.422 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.771e-05/0.1533, allocations: 64.27 kB / 446.7 MB, free: 2.344 MB / 318.1 MB Notification: Performance of pre-optimization done (n=1): time 8.02e-07/0.1533, allocations: 0 / 446.7 MB, free: 2.344 MB / 318.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001735/0.1535, allocations: 67.38 kB / 446.8 MB, free: 2.266 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.763e-05/0.1536, allocations: 77.11 kB / 446.9 MB, free: 2.172 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.717e-05/0.1536, allocations: 89.86 kB / 446.9 MB, free: 2.074 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.845e-06/0.1536, allocations: 33.83 kB / 447 MB, free: 2.035 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.69e-05/0.1536, allocations: 80.14 kB / 447.1 MB, free: 1.953 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.864e-05/0.1537, allocations: 7.875 kB / 447.1 MB, free: 1.945 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.932e-05/0.1537, allocations: 9.719 kB / 447.1 MB, free: 1.93 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.997e-05/0.1537, allocations: 314.8 kB / 447.4 MB, free: 1.613 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.997e-06/0.1538, allocations: 0 / 447.4 MB, free: 1.613 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.638e-06/0.1538, allocations: 0 / 447.4 MB, free: 1.613 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.795e-05/0.1538, allocations: 64.25 kB / 447.4 MB, free: 1.535 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.1538, allocations: 4.062 kB / 447.4 MB, free: 1.531 MB / 318.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.072e-05/0.1539, allocations: 63.41 kB / 447.5 MB, free: 1.457 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.93e-05/0.1539, allocations: 33.64 kB / 447.5 MB, free: 1.418 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.688e-06/0.1539, allocations: 0 / 447.5 MB, free: 1.418 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.1539, allocations: 0 / 447.5 MB, free: 1.418 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.373e-06/0.1539, allocations: 0 / 447.5 MB, free: 1.418 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.949e-06/0.154, allocations: 11.92 kB / 447.6 MB, free: 1.406 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.874e-05/0.154, allocations: 3.938 kB / 447.6 MB, free: 1.402 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.135e-06/0.154, allocations: 0 / 447.6 MB, free: 1.402 MB / 318.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 6.245e-05/0.1541, allocations: 139.5 kB / 447.7 MB, free: 1.25 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.293e-06/0.1541, allocations: 7.938 kB / 447.7 MB, free: 1.242 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.212e-05/0.1541, allocations: 3.125 kB / 447.7 MB, free: 1.238 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.71e-07/0.1541, allocations: 0 / 447.7 MB, free: 1.238 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.1541, allocations: 0 / 447.7 MB, free: 1.238 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.1541, allocations: 0 / 447.7 MB, free: 1.238 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.396e-05/0.1542, allocations: 153.7 kB / 447.9 MB, free: 1.039 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.41e-07/0.1542, allocations: 0 / 447.9 MB, free: 1.039 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.41e-07/0.1542, allocations: 0 / 447.9 MB, free: 1.039 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.1542, allocations: 3.938 kB / 447.9 MB, free: 1.035 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.322e-06/0.1542, allocations: 0 / 447.9 MB, free: 1.035 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.22e-07/0.1542, allocations: 4 kB / 447.9 MB, free: 1.031 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.1542, allocations: 0 / 447.9 MB, free: 1.031 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.09e-05/0.1543, allocations: 90.83 kB / 448 MB, free: 0.918 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.048e-05/0.1543, allocations: 77.11 kB / 448 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.318e-05/0.1544, allocations: 3.938 kB / 448 MB, free: 0.8203 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.608e-06/0.1544, allocations: 4 kB / 448 MB, free: 0.8164 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.808e-05/0.1544, allocations: 11.88 kB / 448 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.254e-06/0.1544, allocations: 4.031 kB / 448.1 MB, free: 0.8008 MB / 318.1 MB Notification: Performance of sorting global known variables: time 1.766e-05/0.1544, allocations: 75.28 kB / 448.1 MB, free: 0.7266 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1544, allocations: 0 / 448.1 MB, free: 0.7266 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0001955/0.1546, allocations: 15.98 kB / 448.1 MB, free: 0.7109 MB / 318.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.0003318/0.155, allocations: 137.2 kB / 448.3 MB, free: 0.5742 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 9.117e-05/0.1551, allocations: 63.39 kB / 448.3 MB, free: 0.5 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1551, allocations: 4.062 kB / 448.3 MB, free: 0.4961 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 2.099e-05/0.1551, allocations: 51.41 kB / 448.4 MB, free: 444 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000129/0.1552, allocations: 6.188 kB / 448.4 MB, free: 440 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001817/0.1554, allocations: 104.4 kB / 448.5 MB, free: 304 kB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002666/0.1557, allocations: 0.6731 MB / 449.2 MB, free: 15.6 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.148e-05/0.1557, allocations: 7.438 kB / 449.2 MB, free: 15.59 MB / 334.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1557, allocations: 3.938 kB / 449.2 MB, free: 15.59 MB / 334.1 MB Notification: Performance of Templates: time 0.002279/0.158, allocations: 0.6325 MB / 449.8 MB, free: 14.95 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.TestScalarFunctions.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.TestScalarFunctions.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.TestScalarFunctionsCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Math.TestScalarFunctionsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Math.TestScalarFunctionsCalcHelperMain.o] Error 1