Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.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.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01656/0.01656, allocations: 100.9 kB / 15.87 MB, free: 5.867 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002159/0.00216, allocations: 191.8 kB / 16.79 MB, free: 5.809 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.716/2.716, allocations: 222.9 MB / 240.4 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.0039/0.0039, allocations: 294.8 kB / 290.9 MB, free: 2.207 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.953/1.953, allocations: 169.2 MB / 0.4984 GB, free: 14.1 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002893/0.002893, allocations: 93.34 kB / 0.5952 GB, free: 28.27 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3619/0.3648, allocations: 86.98 MB / 0.6801 GB, free: 1.148 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.003877/0.3687, allocations: 0.8393 MB / 0.6809 GB, free: 324 kB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.003672/0.3724, allocations: 1.49 MB / 0.6824 GB, free: 14.81 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.986e-05/0.3725, allocations: 4.688 kB / 0.6824 GB, free: 14.8 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 4.994e-05/0.3726, allocations: 0 / 0.6824 GB, free: 14.8 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.462e-05/0.3727, allocations: 0.7812 kB / 0.6824 GB, free: 14.8 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007291/0.3735, allocations: 119.9 kB / 0.6825 GB, free: 14.69 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001261/0.3736, allocations: 55.84 kB / 0.6825 GB, free: 14.64 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.416e-05/0.3737, allocations: 4 kB / 0.6825 GB, free: 14.63 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001035/0.3738, allocations: 23.92 kB / 0.6826 GB, free: 14.61 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001061/0.3739, allocations: 34.61 kB / 0.6826 GB, free: 14.58 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.725e-05/0.374, allocations: 4 kB / 0.6826 GB, free: 14.57 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007945/0.3748, allocations: 315.3 kB / 0.6829 GB, free: 14.27 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.626e-05/0.3748, allocations: 15.92 kB / 0.6829 GB, free: 14.25 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 6.619e-05/0.3749, allocations: 23.86 kB / 0.6829 GB, free: 14.23 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004326/0.3754, allocations: 152 kB / 0.6831 GB, free: 14.08 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.3754, allocations: 0 / 0.6831 GB, free: 14.08 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.3754, allocations: 0 / 0.6831 GB, free: 14.08 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.903e-06/0.3754, allocations: 0.5 kB / 0.6831 GB, free: 14.08 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.00108/0.3765, allocations: 396.8 kB / 0.6835 GB, free: 13.64 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.745e-05/0.3766, allocations: 9.125 kB / 0.6835 GB, free: 13.64 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006724/0.3773, allocations: 77.72 kB / 0.6836 GB, free: 13.56 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002067/0.3775, allocations: 168.3 kB / 0.6837 GB, free: 13.36 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.335e-05/0.3776, allocations: 4.375 kB / 0.6837 GB, free: 13.36 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.324e-05/0.3776, allocations: 12.31 kB / 0.6837 GB, free: 13.34 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005638/0.3782, allocations: 113.9 kB / 0.6838 GB, free: 13.23 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.613e-05/0.3782, allocations: 0 / 0.6838 GB, free: 13.23 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.156e-05/0.3782, allocations: 0 / 0.6838 GB, free: 13.23 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.916e-06/0.3783, allocations: 4 kB / 0.6838 GB, free: 13.22 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007732/0.3791, allocations: 107.8 kB / 0.6839 GB, free: 13.12 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00103/0.3801, allocations: 340.5 kB / 0.6843 GB, free: 12.73 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001019/0.3811, allocations: 150.4 kB / 0.6844 GB, free: 12.58 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003876/0.3815, allocations: 60.81 kB / 0.6845 GB, free: 12.52 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.938e-05/0.3816, allocations: 0 / 0.6845 GB, free: 12.52 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.939e-05/0.3817, allocations: 34.5 kB / 0.6845 GB, free: 12.47 MB / 494.1 MB Notification: Performance of pre-optimization done (n=7): time 1.754e-06/0.3817, allocations: 0 / 0.6845 GB, free: 12.47 MB / 494.1 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=11): time 0.02578/0.4075, allocations: 2.834 MB / 0.6873 GB, free: 9.543 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.901e-05/0.4076, allocations: 55.34 kB / 0.6873 GB, free: 9.477 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000148/0.4078, allocations: 105.8 kB / 0.6874 GB, free: 9.363 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 8.492e-05/0.4079, allocations: 33.7 kB / 0.6875 GB, free: 9.324 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.399e-05/0.408, allocations: 80.14 kB / 0.6875 GB, free: 9.242 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000125/0.4081, allocations: 47.34 kB / 0.6876 GB, free: 9.195 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002663/0.4084, allocations: 65.58 kB / 0.6876 GB, free: 9.125 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002049/0.4086, allocations: 326.8 kB / 0.688 GB, free: 8.797 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00108/0.4097, allocations: 191.8 kB / 0.6881 GB, free: 8.609 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001059/0.4108, allocations: 183.8 kB / 0.6883 GB, free: 8.43 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00233/0.4132, allocations: 403.3 kB / 0.6887 GB, free: 8.035 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.4132, allocations: 0 / 0.6887 GB, free: 8.035 MB / 494.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.002761/0.416, allocations: 473.2 kB / 0.6891 GB, free: 7.566 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.477e-05/0.416, allocations: 8 kB / 0.6892 GB, free: 7.559 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.242e-05/0.416, allocations: 0 / 0.6892 GB, free: 7.559 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.458e-05/0.4161, allocations: 0 / 0.6892 GB, free: 7.559 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00143/0.4175, allocations: 107.8 kB / 0.6893 GB, free: 7.453 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.239e-05/0.4176, allocations: 11.92 kB / 0.6893 GB, free: 7.441 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001016/0.4186, allocations: 43.94 kB / 0.6893 GB, free: 7.398 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001063/0.4187, allocations: 23.94 kB / 0.6893 GB, free: 7.375 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 (13): * Single equations (assignments): 13 * 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.0003389/0.4191, allocations: 119.1 kB / 0.6894 GB, free: 7.25 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001865/0.4193, allocations: 3.906 kB / 0.6894 GB, free: 7.246 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001164/0.4194, allocations: 19.97 kB / 0.6895 GB, free: 7.227 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.123e-05/0.4194, allocations: 3.984 kB / 0.6895 GB, free: 7.223 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.394e-05/0.4195, allocations: 3.938 kB / 0.6895 GB, free: 7.219 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.425e-06/0.4195, allocations: 96 / 0.6895 GB, free: 7.219 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0041/0.4236, allocations: 1.047 MB / 0.6905 GB, free: 6.062 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.522e-06/0.4236, allocations: 3.938 kB / 0.6905 GB, free: 6.059 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001423/0.4251, allocations: 103.8 kB / 0.6906 GB, free: 5.957 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.053e-05/0.4251, allocations: 3.938 kB / 0.6906 GB, free: 5.953 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001089/0.4252, allocations: 27.92 kB / 0.6906 GB, free: 5.926 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.478e-05/0.4253, allocations: 4 kB / 0.6906 GB, free: 5.922 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.928e-06/0.4253, allocations: 4 kB / 0.6906 GB, free: 5.918 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004707/0.43, allocations: 0.78 MB / 0.6914 GB, free: 5.121 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004588/0.4305, allocations: 125 kB / 0.6915 GB, free: 4.98 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000125/0.4307, allocations: 4 kB / 0.6915 GB, free: 4.977 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001134/0.4318, allocations: 43.94 kB / 0.6916 GB, free: 4.934 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001959/0.432, allocations: 31.86 kB / 0.6916 GB, free: 4.902 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001847/0.4322, allocations: 27.94 kB / 0.6916 GB, free: 4.875 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001115/0.4324, allocations: 83.27 kB / 0.6917 GB, free: 4.793 MB / 494.1 MB Notification: Performance of sort global known variables: time 5.21e-07/0.4324, allocations: 0 / 0.6917 GB, free: 4.793 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0008649/0.4333, allocations: 56 kB / 0.6918 GB, free: 4.738 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (y_comp,der_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 (11): * Single equations (assignments): 11 * 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.0004858/0.4338, allocations: 113.6 kB / 0.6919 GB, free: 4.621 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.002654/0.4365, allocations: 423.5 kB / 0.6923 GB, free: 4.207 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.172e-06/0.4365, allocations: 3.938 kB / 0.6923 GB, free: 4.203 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001296/0.4378, allocations: 227.7 kB / 0.6925 GB, free: 3.98 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008177/0.4386, allocations: 8 kB / 0.6925 GB, free: 3.973 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007424/0.4461, allocations: 0.8096 MB / 0.6933 GB, free: 3.129 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006929/0.4469, allocations: 0.6926 MB / 0.694 GB, free: 2.41 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006905/0.4476, allocations: 83.23 kB / 0.694 GB, free: 2.328 MB / 494.1 MB Notification: Performance of SimCode: time 1.884e-06/0.4476, allocations: 0 / 0.694 GB, free: 2.328 MB / 494.1 MB Notification: Performance of Templates: time 0.01151/0.4592, allocations: 3.781 MB / 0.6977 GB, free: 14.54 MB / 0.4981 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.makefile make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.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.InverseXDerivative_2_CheckCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_CheckCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_CheckCalcHelperMain.o] Error 1