Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.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(IDEAS.Utilities.Math.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0") translateModel(IDEAS.Utilities.Math.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.0008824/0.0008824, allocations: 100.5 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.0009283/0.0009283, allocations: 174.2 kB / 16.58 MB, free: 6.422 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.465/1.465, allocations: 223.2 MB / 240.6 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.001/1.001, allocations: 135.3 MB / 427 MB, free: 14.22 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000399/0.0003991, allocations: 12 kB / 0.5076 GB, free: 5.125 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.205/0.2054, allocations: 82.32 MB / 0.588 GB, free: 2.988 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.BesselJ0): time 0.0008413/0.2064, allocations: 299.1 kB / 0.5883 GB, free: 2.691 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004789/0.2068, allocations: 175.5 kB / 0.5885 GB, free: 2.52 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.367e-05/0.2069, allocations: 4 kB / 0.5885 GB, free: 2.516 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.216e-05/0.2069, allocations: 0 / 0.5885 GB, free: 2.516 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 8.576e-06/0.2069, allocations: 0 / 0.5885 GB, free: 2.516 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003779/0.2073, allocations: 39.91 kB / 0.5885 GB, free: 2.477 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.245e-05/0.2074, allocations: 0 / 0.5885 GB, free: 2.477 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.809e-05/0.2074, allocations: 7.969 kB / 0.5885 GB, free: 2.469 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.819e-05/0.2074, allocations: 0 / 0.5885 GB, free: 2.469 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.254e-05/0.2075, allocations: 4 kB / 0.5885 GB, free: 2.465 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.256e-06/0.2075, allocations: 4 kB / 0.5885 GB, free: 2.461 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001843/0.2077, allocations: 51.89 kB / 0.5886 GB, free: 2.41 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.342e-06/0.2077, allocations: 8 kB / 0.5886 GB, free: 2.402 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.802e-05/0.2077, allocations: 25.7 kB / 0.5886 GB, free: 2.371 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 8.754e-05/0.2078, allocations: 23.95 kB / 0.5886 GB, free: 2.348 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.033e-06/0.2079, allocations: 3.938 kB / 0.5886 GB, free: 2.344 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.464e-06/0.2079, allocations: 0 / 0.5886 GB, free: 2.344 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.787e-06/0.2079, allocations: 0 / 0.5886 GB, free: 2.344 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.0003139/0.2082, allocations: 315.4 kB / 0.5889 GB, free: 1.988 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.417e-05/0.2082, allocations: 8.031 kB / 0.5889 GB, free: 1.98 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.919e-05/0.2083, allocations: 7.938 kB / 0.5889 GB, free: 1.973 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001105/0.2084, allocations: 163 kB / 0.5891 GB, free: 1.773 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.251e-05/0.2084, allocations: 4 kB / 0.5891 GB, free: 1.77 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.267e-06/0.2084, allocations: 0 / 0.5891 GB, free: 1.77 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001041/0.2085, allocations: 33.62 kB / 0.5891 GB, free: 1.73 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.2085, allocations: 0 / 0.5891 GB, free: 1.73 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.543e-05/0.2086, allocations: 8 kB / 0.5891 GB, free: 1.723 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.2086, allocations: 0 / 0.5891 GB, free: 1.723 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.039e-05/0.2086, allocations: 0 / 0.5891 GB, free: 1.723 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001589/0.2088, allocations: 145.6 kB / 0.5893 GB, free: 1.531 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.525e-05/0.2088, allocations: 22.61 kB / 0.5893 GB, free: 1.5 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.55e-05/0.2088, allocations: 4.859 kB / 0.5893 GB, free: 1.492 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007408/0.2096, allocations: 457.5 kB / 0.5897 GB, free: 0.9531 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.628e-05/0.2096, allocations: 34.5 kB / 0.5898 GB, free: 0.9102 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 1.202e-06/0.2096, allocations: 4 kB / 0.5898 GB, free: 0.9062 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001395/0.2098, allocations: 29.7 kB / 0.5898 GB, free: 0.8711 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.399e-05/0.2098, allocations: 55.41 kB / 0.5899 GB, free: 0.8047 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.864e-05/0.2099, allocations: 89.86 kB / 0.5899 GB, free: 0.707 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.11e-05/0.2099, allocations: 29.7 kB / 0.59 GB, free: 0.6719 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3e-05/0.2099, allocations: 80.14 kB / 0.59 GB, free: 0.5898 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.023e-05/0.21, allocations: 7.891 kB / 0.5901 GB, free: 0.582 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.134e-06/0.21, allocations: 0 / 0.5901 GB, free: 0.582 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001228/0.2101, allocations: 315 kB / 0.5904 GB, free: 272 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.525e-06/0.2101, allocations: 0 / 0.5904 GB, free: 272 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.732e-06/0.2101, allocations: 4 kB / 0.5904 GB, free: 268 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.168e-05/0.2102, allocations: 3.938 kB / 0.5904 GB, free: 264 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.2102, allocations: 3.953 kB / 0.5904 GB, free: 260 kB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.54e-05/0.2102, allocations: 29.7 kB / 0.5904 GB, free: 224 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.2102, allocations: 8 kB / 0.5904 GB, free: 216 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.2103, allocations: 0 / 0.5904 GB, free: 216 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.2103, allocations: 0 / 0.5904 GB, free: 216 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.661e-05/0.2103, allocations: 12.08 kB / 0.5904 GB, free: 204 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.2103, allocations: 0 / 0.5904 GB, free: 204 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.977e-06/0.2104, allocations: 0 / 0.5904 GB, free: 204 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.374e-06/0.2104, allocations: 4 kB / 0.5904 GB, free: 200 kB / 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.64e-05/0.2105, allocations: 105.8 kB / 0.5905 GB, free: 84 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.123e-06/0.2105, allocations: 7.891 kB / 0.5905 GB, free: 76 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.095e-05/0.2106, allocations: 40.7 kB / 0.5906 GB, free: 28 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.2106, allocations: 3.984 kB / 0.5906 GB, free: 24 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.2106, allocations: 4.031 kB / 0.5906 GB, free: 20 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-06/0.2106, allocations: 0 / 0.5906 GB, free: 20 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001175/0.2107, allocations: 149.7 kB / 0.5907 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.52e-07/0.2107, allocations: 0 / 0.5907 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.429e-05/0.2107, allocations: 7.953 kB / 0.5907 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.2107, allocations: 0 / 0.5907 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.08e-06/0.2108, allocations: 0 / 0.5907 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.524e-06/0.2108, allocations: 4 kB / 0.5907 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.2108, allocations: 0 / 0.5907 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.359e-05/0.2108, allocations: 57.12 kB / 0.5908 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.237e-05/0.2109, allocations: 81.05 kB / 0.5909 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.379e-05/0.2109, allocations: 7.953 kB / 0.5909 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.779e-06/0.2109, allocations: 4 kB / 0.5909 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.392e-05/0.211, allocations: 3.984 kB / 0.5909 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.246e-06/0.211, allocations: 3.984 kB / 0.5909 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.228e-05/0.211, allocations: 76.94 kB / 0.591 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.211, allocations: 0 / 0.591 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001882/0.2112, allocations: 16 kB / 0.591 GB, free: 15.53 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.0002313/0.2114, allocations: 111.3 kB / 0.5911 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 6.831e-05/0.2115, allocations: 7.984 kB / 0.5911 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.2115, allocations: 0 / 0.5911 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.139e-06/0.2115, allocations: 0 / 0.5911 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001302/0.2117, allocations: 8.125 kB / 0.5911 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001957/0.2119, allocations: 108.3 kB / 0.5912 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002577/0.2121, allocations: 0.6692 MB / 0.5918 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.579e-05/0.2122, allocations: 15.42 kB / 0.5919 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.2122, allocations: 0 / 0.5919 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of Templates: time 0.001858/0.214, allocations: 0.5464 MB / 0.5924 GB, free: 14 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.makefile make -j1 -f IDEAS_dev_IDEAS.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 OMCppIDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0CalcHelperMain.o OMCppIDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0CalcHelperMain.o] Error 1