Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.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.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00177/0.00177, 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.002351/0.002351, allocations: 197.6 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.656/2.656, allocations: 222.9 MB / 240.4 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.003927/0.003927, allocations: 286.8 kB / 290.9 MB, free: 2.219 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.822/1.822, allocations: 169.2 MB / 0.4983 GB, free: 14.16 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003213/0.003213, allocations: 93.05 kB / 0.5951 GB, free: 28.29 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3432/0.3465, allocations: 86.98 MB / 0.6801 GB, free: 1.18 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.002963/0.3496, allocations: 0.6566 MB / 0.6807 GB, free: 0.5312 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.002999/0.3526, allocations: 1.471 MB / 0.6822 GB, free: 15.04 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.599e-05/0.3527, allocations: 0 / 0.6822 GB, free: 15.04 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.08e-05/0.3527, allocations: 6.406 kB / 0.6822 GB, free: 15.04 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.783e-05/0.3528, allocations: 4 kB / 0.6822 GB, free: 15.04 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006599/0.3535, allocations: 113.7 kB / 0.6823 GB, free: 14.93 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.047e-05/0.3536, allocations: 27.92 kB / 0.6823 GB, free: 14.9 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.517e-05/0.3536, allocations: 7.984 kB / 0.6823 GB, free: 14.89 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.689e-05/0.3537, allocations: 8.625 kB / 0.6823 GB, free: 14.88 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000117/0.3538, allocations: 27.89 kB / 0.6824 GB, free: 14.86 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.432e-05/0.3538, allocations: 4.875 kB / 0.6824 GB, free: 14.85 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006727/0.3545, allocations: 315.4 kB / 0.6827 GB, free: 14.54 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.63e-05/0.3546, allocations: 8.703 kB / 0.6827 GB, free: 14.54 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.143e-05/0.3546, allocations: 11.92 kB / 0.6827 GB, free: 14.52 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003046/0.3549, allocations: 132.5 kB / 0.6828 GB, free: 14.39 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.797e-06/0.355, allocations: 4 kB / 0.6828 GB, free: 14.39 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.355, allocations: 1.312 kB / 0.6828 GB, free: 14.39 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.821e-06/0.355, allocations: 0 / 0.6828 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0008449/0.3558, allocations: 368.6 kB / 0.6832 GB, free: 13.98 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.695e-05/0.3559, allocations: 16.02 kB / 0.6832 GB, free: 13.97 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000631/0.3565, allocations: 64.86 kB / 0.6832 GB, free: 13.91 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000173/0.3567, allocations: 168.3 kB / 0.6834 GB, free: 13.7 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.403e-05/0.3568, allocations: 384 / 0.6834 GB, free: 13.7 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.125e-05/0.3568, allocations: 8.312 kB / 0.6834 GB, free: 13.7 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003707/0.3572, allocations: 73.95 kB / 0.6835 GB, free: 13.62 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.3572, allocations: 0 / 0.6835 GB, free: 13.62 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.242e-05/0.3573, allocations: 8 kB / 0.6835 GB, free: 13.61 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-06/0.3573, allocations: 0 / 0.6835 GB, free: 13.61 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00041/0.3577, allocations: 67.92 kB / 0.6836 GB, free: 13.54 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000322/0.358, allocations: 161.7 kB / 0.6837 GB, free: 13.34 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008614/0.3589, allocations: 118.5 kB / 0.6838 GB, free: 13.21 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003334/0.3592, allocations: 48.91 kB / 0.6839 GB, free: 13.16 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006361/0.3599, allocations: 153 kB / 0.684 GB, free: 12.99 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.284e-05/0.36, allocations: 34.5 kB / 0.684 GB, free: 12.95 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.643e-06/0.36, allocations: 0 / 0.684 GB, free: 12.95 MB / 494.1 MB Notification: Performance of matching and sorting (n=5): time 0.001684/0.3617, allocations: 402.2 kB / 0.6844 GB, free: 12.5 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.458e-05/0.3618, allocations: 59.41 kB / 0.6845 GB, free: 12.43 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000123/0.3619, allocations: 101.7 kB / 0.6846 GB, free: 12.32 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.105e-05/0.3619, allocations: 29.7 kB / 0.6846 GB, free: 12.29 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.326e-05/0.362, allocations: 80.14 kB / 0.6847 GB, free: 12.21 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.029e-05/0.3621, allocations: 15.75 kB / 0.6847 GB, free: 12.19 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.882e-05/0.3622, allocations: 21.7 kB / 0.6847 GB, free: 12.16 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001869/0.3624, allocations: 318.8 kB / 0.685 GB, free: 11.84 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002236/0.3626, allocations: 32.09 kB / 0.6851 GB, free: 11.81 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000211/0.3628, allocations: 39.95 kB / 0.6851 GB, free: 11.77 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004265/0.3633, allocations: 76.75 kB / 0.6852 GB, free: 11.7 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.3633, allocations: 192 / 0.6852 GB, free: 11.7 MB / 494.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0005275/0.3638, allocations: 121.6 kB / 0.6853 GB, free: 11.57 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.695e-05/0.3639, allocations: 4 kB / 0.6853 GB, free: 11.57 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.156e-05/0.3639, allocations: 4 kB / 0.6853 GB, free: 11.56 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.255e-05/0.3639, allocations: 0 / 0.6853 GB, free: 11.56 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002052/0.3641, allocations: 27.97 kB / 0.6853 GB, free: 11.54 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.082e-05/0.3642, allocations: 0 / 0.6853 GB, free: 11.54 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001307/0.3643, allocations: 11.98 kB / 0.6853 GB, free: 11.52 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.374e-05/0.3643, allocations: 0 / 0.6853 GB, free: 11.52 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 (6): * Single equations (assignments): 6 * 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.0001532/0.3645, allocations: 115.1 kB / 0.6854 GB, free: 11.4 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.902e-05/0.3645, allocations: 11.84 kB / 0.6855 GB, free: 11.39 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006515/0.3652, allocations: 133.2 kB / 0.6856 GB, free: 11.25 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.963e-06/0.3652, allocations: 4 kB / 0.6856 GB, free: 11.25 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.744e-06/0.3652, allocations: 336 / 0.6856 GB, free: 11.25 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/0.3652, allocations: 0 / 0.6856 GB, free: 11.25 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002627/0.3655, allocations: 165.6 kB / 0.6857 GB, free: 11.04 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.3655, allocations: 4 kB / 0.6857 GB, free: 11.04 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002131/0.3657, allocations: 31.91 kB / 0.6858 GB, free: 11 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.552e-06/0.3658, allocations: 3.984 kB / 0.6858 GB, free: 11 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.544e-05/0.3658, allocations: 4 kB / 0.6858 GB, free: 11 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.3658, allocations: 0 / 0.6858 GB, free: 11 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/0.3658, allocations: 0 / 0.6858 GB, free: 11 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008057/0.3666, allocations: 189 kB / 0.686 GB, free: 10.79 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001043/0.3667, allocations: 88.94 kB / 0.686 GB, free: 10.69 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.088e-05/0.3668, allocations: 8.031 kB / 0.6861 GB, free: 10.68 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000153/0.3669, allocations: 16.11 kB / 0.6861 GB, free: 10.66 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.473e-05/0.367, allocations: 0 / 0.6861 GB, free: 10.66 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.034e-05/0.367, allocations: 11.98 kB / 0.6861 GB, free: 10.65 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.533e-05/0.3671, allocations: 83.28 kB / 0.6862 GB, free: 10.57 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3671, allocations: 0 / 0.6862 GB, free: 10.57 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003843/0.3675, allocations: 36 kB / 0.6862 GB, free: 10.54 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y_comp) * 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 (6): * Single equations (assignments): 6 * 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.0003807/0.3679, allocations: 123.2 kB / 0.6863 GB, free: 10.4 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0005507/0.3684, allocations: 87.95 kB / 0.6864 GB, free: 10.32 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.3685, allocations: 0 / 0.6864 GB, free: 10.32 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002302/0.3687, allocations: 47.95 kB / 0.6864 GB, free: 10.27 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002596/0.369, allocations: 9.438 kB / 0.6865 GB, free: 10.26 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009681/0.37, allocations: 208.9 kB / 0.6866 GB, free: 10.03 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006133/0.3706, allocations: 0.6848 MB / 0.6873 GB, free: 9.316 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.956e-05/0.3707, allocations: 15.42 kB / 0.6873 GB, free: 9.301 MB / 494.1 MB Notification: Performance of SimCode: time 3.9e-07/0.3707, allocations: 0 / 0.6873 GB, free: 9.301 MB / 494.1 MB Notification: Performance of Templates: time 0.004214/0.3749, allocations: 1.121 MB / 0.6884 GB, free: 8.184 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.makefile make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.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.InverseXDerivativeCheckCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheckCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheckCalcHelperMain.o] Error 1