Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00095/0.0009498, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008413/0.0008413, allocations: 181.7 kB / 16.92 MB, free: 6.918 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.321/1.321, allocations: 223.2 MB / 241 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001811/0.001811, allocations: 270 kB / 292.3 MB, free: 1.887 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9416/0.9416, allocations: 169.5 MB / 0.501 GB, free: 14.14 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004096/0.0004096, allocations: 19.81 kB / 0.5993 GB, free: 28.21 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1725/0.173, allocations: 88.55 MB / 0.6858 GB, free: 15.08 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1): time 0.0007256/0.1737, allocations: 306.2 kB / 0.6861 GB, free: 14.78 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004792/0.1742, allocations: 208.6 kB / 0.6863 GB, free: 14.57 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.057e-05/0.1742, allocations: 0 / 0.6863 GB, free: 14.57 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.769e-05/0.1743, allocations: 0.5625 kB / 0.6863 GB, free: 14.57 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.721e-06/0.1743, allocations: 5.062 kB / 0.6863 GB, free: 14.57 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003045/0.1746, allocations: 35.97 kB / 0.6863 GB, free: 14.54 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.095e-05/0.1746, allocations: 0 / 0.6863 GB, free: 14.54 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.745e-05/0.1747, allocations: 5.484 kB / 0.6863 GB, free: 14.53 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.401e-05/0.1747, allocations: 4 kB / 0.6863 GB, free: 14.53 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.401e-05/0.1747, allocations: 3.984 kB / 0.6863 GB, free: 14.52 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.173e-06/0.1748, allocations: 3.938 kB / 0.6863 GB, free: 14.52 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001816/0.1749, allocations: 65.12 kB / 0.6864 GB, free: 14.46 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.005e-06/0.175, allocations: 0 / 0.6864 GB, free: 14.46 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 8.491e-05/0.1751, allocations: 33.64 kB / 0.6864 GB, free: 14.42 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 8.033e-05/0.1751, allocations: 31.14 kB / 0.6865 GB, free: 14.39 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.1751, allocations: 0 / 0.6865 GB, free: 14.39 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1752, allocations: 0 / 0.6865 GB, free: 14.39 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.447e-06/0.1752, allocations: 0 / 0.6865 GB, free: 14.39 MB / 494.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.0002701/0.1754, allocations: 315.6 kB / 0.6868 GB, free: 14.03 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/0.1755, allocations: 8.031 kB / 0.6868 GB, free: 14.02 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.537e-05/0.1755, allocations: 4.938 kB / 0.6868 GB, free: 14.02 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.437e-05/0.1756, allocations: 160.9 kB / 0.6869 GB, free: 13.82 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.039e-05/0.1756, allocations: 384 / 0.6869 GB, free: 13.82 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.432e-06/0.1756, allocations: 4.812 kB / 0.6869 GB, free: 13.82 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.429e-05/0.1757, allocations: 30.81 kB / 0.687 GB, free: 13.79 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.59e-06/0.1757, allocations: 0.75 kB / 0.687 GB, free: 13.79 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.037e-06/0.1758, allocations: 6.031 kB / 0.687 GB, free: 13.78 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.1758, allocations: 4 kB / 0.687 GB, free: 13.78 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.857e-05/0.1758, allocations: 3.938 kB / 0.687 GB, free: 13.77 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001379/0.1759, allocations: 145.7 kB / 0.6871 GB, free: 13.58 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.419e-05/0.176, allocations: 19.36 kB / 0.6871 GB, free: 13.55 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.398e-05/0.176, allocations: 6.578 kB / 0.6871 GB, free: 13.55 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007116/0.1767, allocations: 464.5 kB / 0.6876 GB, free: 13 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.372e-05/0.1768, allocations: 34.56 kB / 0.6876 GB, free: 12.96 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 1.012e-06/0.1768, allocations: 0 / 0.6876 GB, free: 12.96 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001158/0.1769, allocations: 41.56 kB / 0.6876 GB, free: 12.91 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.025e-05/0.1769, allocations: 53.62 kB / 0.6877 GB, free: 12.85 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.046e-05/0.177, allocations: 93.86 kB / 0.6878 GB, free: 12.75 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.137e-05/0.177, allocations: 25.7 kB / 0.6878 GB, free: 12.72 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.774e-05/0.177, allocations: 80.14 kB / 0.6879 GB, free: 12.64 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.829e-05/0.177, allocations: 4 kB / 0.6879 GB, free: 12.63 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.943e-05/0.1771, allocations: 10.5 kB / 0.6879 GB, free: 12.62 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001042/0.1772, allocations: 311.4 kB / 0.6882 GB, free: 12.3 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.899e-06/0.1772, allocations: 0.875 kB / 0.6882 GB, free: 12.3 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.168e-06/0.1772, allocations: 3.938 kB / 0.6882 GB, free: 12.3 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.803e-05/0.1772, allocations: 10.61 kB / 0.6882 GB, free: 12.29 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.1772, allocations: 0 / 0.6882 GB, free: 12.29 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.918e-05/0.1773, allocations: 41.62 kB / 0.6883 GB, free: 12.24 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.1773, allocations: 10.88 kB / 0.6883 GB, free: 12.23 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.1773, allocations: 0 / 0.6883 GB, free: 12.23 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.1773, allocations: 4.156 kB / 0.6883 GB, free: 12.23 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.435e-05/0.1774, allocations: 4 kB / 0.6883 GB, free: 12.23 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/0.1774, allocations: 3.984 kB / 0.6883 GB, free: 12.22 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.039e-05/0.1774, allocations: 4.281 kB / 0.6883 GB, free: 12.22 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.618e-06/0.1774, allocations: 0 / 0.6883 GB, free: 12.22 MB / 494.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * 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.315e-05/0.1775, allocations: 107.2 kB / 0.6884 GB, free: 12.11 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.059e-06/0.1775, allocations: 0 / 0.6884 GB, free: 12.11 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.674e-05/0.1776, allocations: 48.62 kB / 0.6884 GB, free: 12.05 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-06/0.1776, allocations: 0 / 0.6884 GB, free: 12.05 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.1776, allocations: 4.031 kB / 0.6884 GB, free: 12.05 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.683e-06/0.1776, allocations: 4 kB / 0.6884 GB, free: 12.04 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.283e-05/0.1777, allocations: 145.7 kB / 0.6886 GB, free: 11.85 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.1777, allocations: 3.984 kB / 0.6886 GB, free: 11.85 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.699e-06/0.1777, allocations: 0 / 0.6886 GB, free: 11.85 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.273e-06/0.1777, allocations: 0 / 0.6886 GB, free: 11.85 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.313e-06/0.1777, allocations: 11.88 kB / 0.6886 GB, free: 11.84 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.32e-07/0.1777, allocations: 0 / 0.6886 GB, free: 11.84 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.1777, allocations: 0 / 0.6886 GB, free: 11.84 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.392e-05/0.1778, allocations: 61.05 kB / 0.6886 GB, free: 11.76 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.413e-05/0.1779, allocations: 81.09 kB / 0.6887 GB, free: 11.66 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.089e-05/0.1779, allocations: 7.938 kB / 0.6887 GB, free: 11.65 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.951e-06/0.1779, allocations: 0 / 0.6887 GB, free: 11.65 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.236e-05/0.1779, allocations: 0 / 0.6887 GB, free: 11.65 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.613e-06/0.1779, allocations: 0 / 0.6887 GB, free: 11.65 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.961e-05/0.1779, allocations: 79.22 kB / 0.6888 GB, free: 11.57 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1779, allocations: 0 / 0.6888 GB, free: 11.57 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001864/0.1781, allocations: 16 kB / 0.6888 GB, free: 11.56 MB / 494.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * 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.0002012/0.1783, allocations: 121.4 kB / 0.6889 GB, free: 11.43 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 5.694e-05/0.1784, allocations: 0 / 0.6889 GB, free: 11.43 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.105e-06/0.1784, allocations: 7.938 kB / 0.6889 GB, free: 11.42 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 5.149e-06/0.1784, allocations: 0 / 0.6889 GB, free: 11.42 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001229/0.1786, allocations: 4.125 kB / 0.6889 GB, free: 11.42 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001775/0.1787, allocations: 108.5 kB / 0.6891 GB, free: 11.28 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002486/0.179, allocations: 0.6731 MB / 0.6897 GB, free: 10.58 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.219e-05/0.179, allocations: 7.438 kB / 0.6897 GB, free: 10.57 MB / 494.1 MB Notification: Performance of SimCode: time 3.91e-07/0.179, allocations: 0 / 0.6897 GB, free: 10.57 MB / 494.1 MB Notification: Performance of Templates: time 0.001663/0.1807, allocations: 0.547 MB / 0.6903 GB, free: 10.03 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.makefile make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.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 OMCppBuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1CalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1CalcHelperMain.o] Error 1