Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ0.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-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(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ0") translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000991/0.0009912, allocations: 99.12 kB / 15.71 MB, free: 452 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.001456/0.001456, allocations: 176.5 kB / 16.58 MB, free: 6.871 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.476/1.476, allocations: 223.3 MB / 240.6 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.149/1.149, allocations: 143.4 MB / 435.1 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00036/0.0003602, allocations: 12 kB / 0.5166 GB, free: 11.26 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2069/0.2073, allocations: 83.41 MB / 0.5981 GB, free: 7.785 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ0): time 0.0007816/0.2081, allocations: 311 kB / 0.5984 GB, free: 7.48 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004295/0.2086, allocations: 175.6 kB / 0.5985 GB, free: 7.309 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.138e-05/0.2086, allocations: 0 / 0.5985 GB, free: 7.309 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.464e-05/0.2086, allocations: 0 / 0.5985 GB, free: 7.309 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.522e-06/0.2086, allocations: 0 / 0.5985 GB, free: 7.309 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003333/0.209, allocations: 43.89 kB / 0.5986 GB, free: 7.266 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 3.413e-05/0.209, allocations: 0 / 0.5986 GB, free: 7.266 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.128e-05/0.2091, allocations: 3.984 kB / 0.5986 GB, free: 7.262 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.477e-05/0.2091, allocations: 0 / 0.5986 GB, free: 7.262 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.572e-05/0.2091, allocations: 8 kB / 0.5986 GB, free: 7.254 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.284e-06/0.2091, allocations: 0 / 0.5986 GB, free: 7.254 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001637/0.2093, allocations: 59.89 kB / 0.5986 GB, free: 7.195 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.167e-06/0.2093, allocations: 3.984 kB / 0.5986 GB, free: 7.191 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.463e-05/0.2093, allocations: 29.64 kB / 0.5987 GB, free: 7.156 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 8.215e-05/0.2094, allocations: 19.97 kB / 0.5987 GB, free: 7.137 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.2094, allocations: 0 / 0.5987 GB, free: 7.137 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.733e-06/0.2095, allocations: 0 / 0.5987 GB, free: 7.137 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.716e-06/0.2095, allocations: 0 / 0.5987 GB, free: 7.137 MB / 0.4981 GB 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.0004984/0.21, allocations: 315.4 kB / 0.599 GB, free: 6.781 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.21, allocations: 12.03 kB / 0.599 GB, free: 6.77 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.628e-05/0.2101, allocations: 4 kB / 0.599 GB, free: 6.766 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.208e-05/0.2101, allocations: 167 kB / 0.5992 GB, free: 6.562 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.096e-05/0.2102, allocations: 0 / 0.5992 GB, free: 6.562 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.106e-05/0.2102, allocations: 0 / 0.5992 GB, free: 6.562 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001366/0.2103, allocations: 29.7 kB / 0.5992 GB, free: 6.527 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.295e-05/0.2103, allocations: 7.984 kB / 0.5992 GB, free: 6.52 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.053e-05/0.2104, allocations: 0 / 0.5992 GB, free: 6.52 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.2104, allocations: 0 / 0.5992 GB, free: 6.52 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.938e-05/0.2104, allocations: 0 / 0.5992 GB, free: 6.52 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001563/0.2106, allocations: 153.6 kB / 0.5994 GB, free: 6.32 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.197e-05/0.2106, allocations: 22.55 kB / 0.5994 GB, free: 6.289 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.605e-05/0.2106, allocations: 4.859 kB / 0.5994 GB, free: 6.281 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008425/0.2115, allocations: 457.5 kB / 0.5998 GB, free: 5.742 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.641e-05/0.2115, allocations: 34.56 kB / 0.5998 GB, free: 5.699 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.243e-06/0.2115, allocations: 0 / 0.5998 GB, free: 5.699 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001455/0.2117, allocations: 29.7 kB / 0.5999 GB, free: 5.664 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.122e-05/0.2117, allocations: 59.41 kB / 0.5999 GB, free: 5.594 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.109e-05/0.2118, allocations: 89.86 kB / 0.6 GB, free: 5.496 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.397e-05/0.2118, allocations: 25.7 kB / 0.6 GB, free: 5.465 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.96e-05/0.2118, allocations: 80.14 kB / 0.6001 GB, free: 5.383 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.631e-05/0.2119, allocations: 11.83 kB / 0.6001 GB, free: 5.371 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.725e-06/0.2119, allocations: 4.125 kB / 0.6001 GB, free: 5.367 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001833/0.2121, allocations: 310.8 kB / 0.6004 GB, free: 5.055 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.637e-06/0.2121, allocations: 3.938 kB / 0.6004 GB, free: 5.051 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.334e-06/0.2121, allocations: 4 kB / 0.6004 GB, free: 5.047 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.771e-05/0.2121, allocations: 3.953 kB / 0.6004 GB, free: 5.043 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.858e-06/0.2121, allocations: 0 / 0.6004 GB, free: 5.043 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.229e-05/0.2122, allocations: 37.64 kB / 0.6005 GB, free: 5 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.2122, allocations: 8 kB / 0.6005 GB, free: 4.992 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.2122, allocations: 4.094 kB / 0.6005 GB, free: 4.988 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.2122, allocations: 0 / 0.6005 GB, free: 4.988 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.342e-05/0.2123, allocations: 3.984 kB / 0.6005 GB, free: 4.984 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.2123, allocations: 0 / 0.6005 GB, free: 4.984 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.228e-05/0.2123, allocations: 4 kB / 0.6005 GB, free: 4.98 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.41e-06/0.2123, allocations: 0 / 0.6005 GB, free: 4.98 MB / 0.4981 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.512e-05/0.2124, allocations: 109.8 kB / 0.6006 GB, free: 4.863 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.911e-06/0.2124, allocations: 3.938 kB / 0.6006 GB, free: 4.859 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.621e-05/0.2125, allocations: 36.83 kB / 0.6006 GB, free: 4.82 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.2125, allocations: 3.984 kB / 0.6006 GB, free: 4.816 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.2125, allocations: 0 / 0.6006 GB, free: 4.816 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.2125, allocations: 4 kB / 0.6006 GB, free: 4.812 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001107/0.2127, allocations: 145.7 kB / 0.6008 GB, free: 4.621 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.2127, allocations: 3.953 kB / 0.6008 GB, free: 4.617 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.035e-05/0.2127, allocations: 0 / 0.6008 GB, free: 4.617 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.2127, allocations: 0 / 0.6008 GB, free: 4.617 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.157e-06/0.2127, allocations: 4 kB / 0.6008 GB, free: 4.613 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.2127, allocations: 0 / 0.6008 GB, free: 4.613 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.2127, allocations: 3.984 kB / 0.6008 GB, free: 4.609 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.45e-05/0.2128, allocations: 61.09 kB / 0.6009 GB, free: 4.531 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.963e-05/0.2128, allocations: 85.05 kB / 0.6009 GB, free: 4.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.481e-05/0.2129, allocations: 8 kB / 0.6009 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.413e-06/0.2129, allocations: 0 / 0.6009 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.462e-05/0.2129, allocations: 0 / 0.6009 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.854e-06/0.2129, allocations: 0 / 0.6009 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.983e-05/0.2129, allocations: 79.27 kB / 0.601 GB, free: 4.344 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2129, allocations: 4.031 kB / 0.601 GB, free: 4.34 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002164/0.2132, allocations: 16 kB / 0.601 GB, free: 4.324 MB / 0.4981 GB 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 (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.0002465/0.2134, allocations: 111.2 kB / 0.6011 GB, free: 4.203 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 6.744e-05/0.2135, allocations: 3.984 kB / 0.6011 GB, free: 4.199 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.2135, allocations: 0 / 0.6011 GB, free: 4.199 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.456e-06/0.2135, allocations: 12 kB / 0.6012 GB, free: 4.188 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001395/0.2137, allocations: 3.094 kB / 0.6012 GB, free: 4.188 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002293/0.2139, allocations: 104.4 kB / 0.6013 GB, free: 4.055 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003189/0.2142, allocations: 0.6731 MB / 0.6019 GB, free: 3.355 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.483e-05/0.2142, allocations: 15.36 kB / 0.6019 GB, free: 3.34 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.2143, allocations: 0 / 0.6019 GB, free: 3.34 MB / 0.4981 GB Notification: Performance of Templates: time 0.002003/0.2163, allocations: 0.5543 MB / 0.6025 GB, free: 2.785 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ0.makefile make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ0.makefile clang++ NOTFOUND -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ0CalcHelperMain.o OMCppBuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ0CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ0CalcHelperMain.o] Error 1