Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/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.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001778/0.001778, allocations: 100.1 kB / 15.88 MB, free: 12 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.002689/0.002689, allocations: 195.9 kB / 16.79 MB, free: 6.863 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.798/2.798, allocations: 222.9 MB / 240.5 MB, free: 4.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.004521/0.004521, allocations: 282.9 kB / 290.9 MB, free: 2.082 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.835/1.835, allocations: 169.2 MB / 0.4983 GB, free: 14.18 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003241/0.003242, allocations: 98.64 kB / 0.5951 GB, free: 28.25 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3937/0.397, allocations: 86.99 MB / 0.6801 GB, free: 1.195 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0): time 0.003117/0.4002, allocations: 0.6451 MB / 0.6807 GB, free: 0.5586 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007313/0.401, allocations: 191.4 kB / 0.6809 GB, free: 380 kB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.403e-05/0.401, allocations: 0.625 kB / 0.6809 GB, free: 380 kB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 2.269e-05/0.4011, allocations: 4 kB / 0.6809 GB, free: 376 kB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 7.634e-06/0.4011, allocations: 4 kB / 0.6809 GB, free: 372 kB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004727/0.4016, allocations: 39.89 kB / 0.6809 GB, free: 332 kB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 4.855e-05/0.4016, allocations: 4 kB / 0.6809 GB, free: 328 kB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.839e-05/0.4017, allocations: 0 / 0.6809 GB, free: 328 kB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.259e-05/0.4018, allocations: 0 / 0.6809 GB, free: 328 kB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.655e-05/0.4018, allocations: 0 / 0.6809 GB, free: 328 kB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.26e-05/0.4018, allocations: 0 / 0.6809 GB, free: 328 kB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002961/0.4021, allocations: 67.88 kB / 0.681 GB, free: 260 kB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.643e-05/0.4022, allocations: 3.984 kB / 0.681 GB, free: 256 kB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 3.385e-05/0.4022, allocations: 3.938 kB / 0.681 GB, free: 252 kB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001377/0.4023, allocations: 31.91 kB / 0.6811 GB, free: 220 kB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.4024, allocations: 3.938 kB / 0.6811 GB, free: 216 kB / 478.1 MB Notification: Performance of FrontEnd: time 2.425e-06/0.4024, allocations: 0 / 0.6811 GB, free: 216 kB / 478.1 MB Notification: Performance of Transformations before backend: time 6.522e-06/0.4024, allocations: 0 / 0.6811 GB, free: 216 kB / 478.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.0006042/0.403, allocations: 319.6 kB / 0.6814 GB, free: 15.85 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.47e-05/0.4031, allocations: 8.031 kB / 0.6814 GB, free: 15.84 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.994e-05/0.4031, allocations: 0.9375 kB / 0.6814 GB, free: 15.84 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000195/0.4033, allocations: 160.4 kB / 0.6815 GB, free: 15.64 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.726e-05/0.4034, allocations: 384 / 0.6815 GB, free: 15.64 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.203e-05/0.4034, allocations: 4.375 kB / 0.6815 GB, free: 15.64 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001671/0.4036, allocations: 30.27 kB / 0.6816 GB, free: 15.61 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.313e-05/0.4036, allocations: 192 / 0.6816 GB, free: 15.61 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.807e-05/0.4036, allocations: 3.938 kB / 0.6816 GB, free: 15.6 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/0.4036, allocations: 0 / 0.6816 GB, free: 15.6 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.728e-05/0.4037, allocations: 7.984 kB / 0.6816 GB, free: 15.59 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000254/0.404, allocations: 149.6 kB / 0.6817 GB, free: 15.4 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.172e-05/0.404, allocations: 14.58 kB / 0.6817 GB, free: 15.38 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.822e-05/0.4041, allocations: 12.95 kB / 0.6817 GB, free: 15.36 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001128/0.4052, allocations: 453.5 kB / 0.6822 GB, free: 14.82 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.047e-05/0.4053, allocations: 30.56 kB / 0.6822 GB, free: 14.79 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 1.283e-06/0.4053, allocations: 0 / 0.6822 GB, free: 14.79 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002116/0.4055, allocations: 45.58 kB / 0.6822 GB, free: 14.73 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.348e-05/0.4056, allocations: 51.41 kB / 0.6823 GB, free: 14.67 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.31e-05/0.4057, allocations: 89.86 kB / 0.6824 GB, free: 14.57 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.313e-05/0.4057, allocations: 29.7 kB / 0.6824 GB, free: 14.54 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.545e-05/0.4058, allocations: 80.14 kB / 0.6825 GB, free: 14.46 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.462e-05/0.4058, allocations: 0 / 0.6825 GB, free: 14.46 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.318e-05/0.4059, allocations: 17.7 kB / 0.6825 GB, free: 14.43 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001969/0.4061, allocations: 310.8 kB / 0.6828 GB, free: 14.12 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.349e-05/0.4061, allocations: 4.125 kB / 0.6828 GB, free: 14.12 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.027e-05/0.4061, allocations: 0 / 0.6828 GB, free: 14.12 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.895e-05/0.4062, allocations: 12.8 kB / 0.6828 GB, free: 14.1 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.594e-06/0.4062, allocations: 0 / 0.6828 GB, free: 14.1 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.611e-05/0.4063, allocations: 37.64 kB / 0.6828 GB, free: 14.06 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.592e-05/0.4063, allocations: 8 kB / 0.6829 GB, free: 14.05 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/0.4063, allocations: 0 / 0.6829 GB, free: 14.05 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.401e-05/0.4064, allocations: 3.938 kB / 0.6829 GB, free: 14.05 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.463e-05/0.4064, allocations: 4.078 kB / 0.6829 GB, free: 14.04 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.003e-05/0.4064, allocations: 4 kB / 0.6829 GB, free: 14.04 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.774e-05/0.4065, allocations: 4.281 kB / 0.6829 GB, free: 14.04 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.668e-06/0.4065, allocations: 0 / 0.6829 GB, free: 14.04 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 0.0001487/0.4066, allocations: 107.2 kB / 0.683 GB, free: 13.92 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.576e-06/0.4067, allocations: 0 / 0.683 GB, free: 13.92 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001285/0.4068, allocations: 52.62 kB / 0.683 GB, free: 13.86 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-06/0.4068, allocations: 0 / 0.683 GB, free: 13.86 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.066e-05/0.4068, allocations: 0 / 0.683 GB, free: 13.86 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/0.4069, allocations: 11.97 kB / 0.683 GB, free: 13.85 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001808/0.407, allocations: 141.7 kB / 0.6832 GB, free: 13.66 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.407, allocations: 0 / 0.6832 GB, free: 13.66 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.292e-05/0.4071, allocations: 0 / 0.6832 GB, free: 13.66 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.4071, allocations: 0 / 0.6832 GB, free: 13.66 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.296e-05/0.4071, allocations: 7.938 kB / 0.6832 GB, free: 13.66 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.117e-06/0.4071, allocations: 4 kB / 0.6832 GB, free: 13.65 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.4071, allocations: 3.984 kB / 0.6832 GB, free: 13.65 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001113/0.4072, allocations: 61.05 kB / 0.6832 GB, free: 13.57 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.589e-05/0.4073, allocations: 77.11 kB / 0.6833 GB, free: 13.48 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.712e-05/0.4074, allocations: 7.938 kB / 0.6833 GB, free: 13.47 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.005e-05/0.4074, allocations: 0 / 0.6833 GB, free: 13.47 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.218e-05/0.4074, allocations: 3.984 kB / 0.6833 GB, free: 13.46 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.486e-06/0.4074, allocations: 0 / 0.6833 GB, free: 13.46 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.83e-05/0.4075, allocations: 75.28 kB / 0.6834 GB, free: 13.39 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4075, allocations: 0 / 0.6834 GB, free: 13.39 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003214/0.4078, allocations: 12 kB / 0.6834 GB, free: 13.38 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.0003798/0.4082, allocations: 131.2 kB / 0.6835 GB, free: 13.24 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001142/0.4083, allocations: 3.984 kB / 0.6835 GB, free: 13.23 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 8.396e-06/0.4083, allocations: 4 kB / 0.6835 GB, free: 13.23 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.707e-06/0.4084, allocations: 3.938 kB / 0.6835 GB, free: 13.23 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002141/0.4086, allocations: 4.156 kB / 0.6835 GB, free: 13.23 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003261/0.4089, allocations: 108.6 kB / 0.6837 GB, free: 13.09 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004773/0.4094, allocations: 0.6692 MB / 0.6843 GB, free: 12.39 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.968e-05/0.4094, allocations: 7.438 kB / 0.6843 GB, free: 12.39 MB / 494.1 MB Notification: Performance of SimCode: time 2.91e-07/0.4095, allocations: 0 / 0.6843 GB, free: 12.39 MB / 494.1 MB Notification: Performance of Templates: time 0.003403/0.4129, allocations: 0.5547 MB / 0.6849 GB, free: 11.84 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0.makefile make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0.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.BesselJ0CalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0CalcHelperMain.o] Error 1