Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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(Buildings.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.BesselJ1") translateModel(Buildings.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.BesselJ1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009126/0.0009122, allocations: 99.58 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.001171/0.001171, allocations: 181.7 kB / 16.92 MB, free: 6.914 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.831/1.831, allocations: 205.4 MB / 223.1 MB, free: 5.738 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.917/1.917, allocations: 292.7 MB / 0.5509 GB, free: 14.47 MB / 462.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.0005655/0.0005655, allocations: 21.88 kB / 0.675 GB, free: 25.95 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3247/0.3253, allocations: 116.3 MB / 0.7885 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ1): time 0.001999/0.3273, allocations: 1.156 MB / 0.7897 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0006289/0.328, allocations: 261.2 kB / 0.7899 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.149e-05/0.328, allocations: 0 / 0.7899 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.837e-05/0.3281, allocations: 3.938 kB / 0.7899 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.471e-05/0.3281, allocations: 4 kB / 0.7899 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003172/0.3284, allocations: 43.89 kB / 0.79 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.929e-05/0.3285, allocations: 19.94 kB / 0.79 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.635e-05/0.3286, allocations: 11.98 kB / 0.79 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.547e-05/0.3287, allocations: 7.984 kB / 0.79 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.441e-05/0.3287, allocations: 11.92 kB / 0.79 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 9.047e-06/0.3287, allocations: 0 / 0.79 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000173/0.3289, allocations: 67.88 kB / 0.7901 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.478e-06/0.3289, allocations: 0 / 0.7901 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.962e-05/0.329, allocations: 37.64 kB / 0.7901 GB, free: 9.945 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001062/0.3291, allocations: 35.92 kB / 0.7901 GB, free: 9.91 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.3291, allocations: 0 / 0.7901 GB, free: 9.91 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.234e-06/0.3291, allocations: 4 kB / 0.7901 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.594e-06/0.3291, allocations: 0 / 0.7901 GB, free: 9.906 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004928/0.3296, allocations: 347.7 kB / 0.7905 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.353e-05/0.3297, allocations: 8.031 kB / 0.7905 GB, free: 9.508 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.63e-05/0.3297, allocations: 0.9375 kB / 0.7905 GB, free: 9.508 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001416/0.3299, allocations: 168.4 kB / 0.7906 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.373e-05/0.3299, allocations: 384 / 0.7906 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.238e-05/0.3299, allocations: 8.375 kB / 0.7907 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001941/0.3301, allocations: 54.17 kB / 0.7907 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.3301, allocations: 192 / 0.7907 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.303e-05/0.3301, allocations: 11.88 kB / 0.7907 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.72e-06/0.3301, allocations: 4 kB / 0.7907 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001803/0.3303, allocations: 47.95 kB / 0.7908 GB, free: 9.176 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003381/0.3307, allocations: 244.9 kB / 0.791 GB, free: 8.887 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001535/0.3308, allocations: 54.42 kB / 0.7911 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.489e-05/0.3309, allocations: 24.91 kB / 0.7911 GB, free: 8.797 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007364/0.3317, allocations: 461.5 kB / 0.7915 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.441e-05/0.3317, allocations: 30.56 kB / 0.7915 GB, free: 8.215 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.182e-06/0.3317, allocations: 4 kB / 0.7916 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0003806/0.3321, allocations: 97.73 kB / 0.7916 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.333e-05/0.3322, allocations: 51.41 kB / 0.7917 GB, free: 8.047 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.559e-05/0.3323, allocations: 97.8 kB / 0.7918 GB, free: 7.941 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.849e-05/0.3323, allocations: 29.7 kB / 0.7918 GB, free: 7.906 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.869e-05/0.3324, allocations: 92.06 kB / 0.7919 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.809e-05/0.3324, allocations: 3.906 kB / 0.7919 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.221e-05/0.3324, allocations: 9.719 kB / 0.7919 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001137/0.3326, allocations: 318.9 kB / 0.7922 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.127e-05/0.3327, allocations: 19.98 kB / 0.7922 GB, free: 7.453 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.808e-05/0.3327, allocations: 19.98 kB / 0.7923 GB, free: 7.434 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001658/0.3329, allocations: 56.88 kB / 0.7923 GB, free: 7.375 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.3329, allocations: 0 / 0.7923 GB, free: 7.375 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002071/0.3331, allocations: 81.59 kB / 0.7924 GB, free: 7.289 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/0.3332, allocations: 6.812 kB / 0.7924 GB, free: 7.285 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.3332, allocations: 0 / 0.7924 GB, free: 7.285 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.145e-05/0.3332, allocations: 0 / 0.7924 GB, free: 7.285 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.798e-05/0.3333, allocations: 11.94 kB / 0.7924 GB, free: 7.273 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.3333, allocations: 3.984 kB / 0.7924 GB, free: 7.27 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.617e-05/0.3334, allocations: 8 kB / 0.7924 GB, free: 7.262 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.869e-06/0.3334, allocations: 4.031 kB / 0.7924 GB, free: 7.258 MB / 0.6075 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 (2): * Single equations (assignments): 2 * 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 7.782e-05/0.3335, allocations: 118.4 kB / 0.7925 GB, free: 7.133 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.337e-05/0.3335, allocations: 4 kB / 0.7925 GB, free: 7.129 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002394/0.3337, allocations: 84.77 kB / 0.7926 GB, free: 7.039 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.3337, allocations: 0 / 0.7926 GB, free: 7.039 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.3337, allocations: 0 / 0.7926 GB, free: 7.039 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.3338, allocations: 0 / 0.7926 GB, free: 7.039 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000168/0.3339, allocations: 161.5 kB / 0.7928 GB, free: 6.832 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-06/0.3339, allocations: 3.938 kB / 0.7928 GB, free: 6.828 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.824e-05/0.334, allocations: 11.98 kB / 0.7928 GB, free: 6.816 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.334, allocations: 4 kB / 0.7928 GB, free: 6.812 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.003e-05/0.334, allocations: 0 / 0.7928 GB, free: 6.812 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.334, allocations: 3.938 kB / 0.7928 GB, free: 6.809 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.334, allocations: 4.031 kB / 0.7928 GB, free: 6.805 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002701/0.3343, allocations: 175.5 kB / 0.793 GB, free: 6.617 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.205e-05/0.3344, allocations: 89.12 kB / 0.7931 GB, free: 6.512 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.316e-05/0.3344, allocations: 0 / 0.7931 GB, free: 6.512 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.407e-05/0.3345, allocations: 7.984 kB / 0.7931 GB, free: 6.504 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.536e-05/0.3345, allocations: 4 kB / 0.7931 GB, free: 6.5 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.316e-06/0.3345, allocations: 0 / 0.7931 GB, free: 6.5 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.029e-05/0.3346, allocations: 87.27 kB / 0.7931 GB, free: 6.414 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.21e-07/0.3346, allocations: 0 / 0.7931 GB, free: 6.414 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002489/0.3348, allocations: 16 kB / 0.7932 GB, free: 6.398 MB / 0.6075 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 (2): * Single equations (assignments): 2 * 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.0002057/0.335, allocations: 119.2 kB / 0.7933 GB, free: 6.27 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002216/0.3353, allocations: 51.91 kB / 0.7933 GB, free: 6.219 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.3353, allocations: 3.938 kB / 0.7933 GB, free: 6.215 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.962e-05/0.3354, allocations: 23.98 kB / 0.7934 GB, free: 6.191 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002389/0.3356, allocations: 11.92 kB / 0.7934 GB, free: 6.18 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002832/0.3359, allocations: 130.5 kB / 0.7935 GB, free: 6.023 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002614/0.3362, allocations: 0.677 MB / 0.7942 GB, free: 5.32 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.451e-05/0.3362, allocations: 11.44 kB / 0.7942 GB, free: 5.309 MB / 0.6075 GB Notification: Performance of SimCode: time 2.4e-07/0.3362, allocations: 0 / 0.7942 GB, free: 5.309 MB / 0.6075 GB Notification: Performance of Templates: time 0.002128/0.3383, allocations: 0.7654 MB / 0.7949 GB, free: 4.543 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.BesselJ1.makefile make -j1 -f Buildings_8_Buildings.Utilities.Math.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 OMCppBuildings_8_Buildings.Utilities.Math.Examples.BesselJ1CalcHelperMain.o OMCppBuildings_8_Buildings.Utilities.Math.Examples.BesselJ1CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Utilities.Math.Examples.BesselJ1CalcHelperMain.o] Error 1