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.0009297/0.0009298, allocations: 92.55 kB / 16.02 MB, free: 80 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.001083/0.001083, allocations: 174.9 kB / 16.92 MB, free: 6.652 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.374/1.374, allocations: 223.3 MB / 241 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00192/0.00192, allocations: 270.2 kB / 292.3 MB, free: 1.898 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9646/0.9646, allocations: 169.5 MB / 0.501 GB, free: 14.1 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004655/0.0004655, allocations: 17.34 kB / 0.5993 GB, free: 28.05 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2052/0.2057, allocations: 88.55 MB / 0.6858 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.00104/0.2067, allocations: 0.4905 MB / 0.6863 GB, free: 14.58 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001854/0.2086, allocations: 1.476 MB / 0.6877 GB, free: 13.09 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.38e-05/0.2087, allocations: 0 / 0.6877 GB, free: 13.09 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.311e-05/0.2087, allocations: 7.922 kB / 0.6877 GB, free: 13.08 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.405e-05/0.2087, allocations: 4 kB / 0.6877 GB, free: 13.08 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004171/0.2092, allocations: 107.2 kB / 0.6878 GB, free: 12.98 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.583e-05/0.2093, allocations: 55.89 kB / 0.6879 GB, free: 12.92 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.858e-05/0.2093, allocations: 4.562 kB / 0.6879 GB, free: 12.92 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.562e-05/0.2094, allocations: 32.91 kB / 0.6879 GB, free: 12.89 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.346e-05/0.2095, allocations: 27.89 kB / 0.6879 GB, free: 12.86 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.533e-05/0.2095, allocations: 4 kB / 0.6879 GB, free: 12.86 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000432/0.2099, allocations: 315.9 kB / 0.6882 GB, free: 12.55 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.249e-05/0.21, allocations: 20.69 kB / 0.6883 GB, free: 12.53 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.595e-05/0.21, allocations: 41.64 kB / 0.6883 GB, free: 12.48 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002301/0.2103, allocations: 156.9 kB / 0.6885 GB, free: 12.33 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.2103, allocations: 0 / 0.6885 GB, free: 12.33 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.2103, allocations: 3.938 kB / 0.6885 GB, free: 12.32 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.469e-06/0.2103, allocations: 4.531 kB / 0.6885 GB, free: 12.32 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.0006281/0.2109, allocations: 393.7 kB / 0.6888 GB, free: 11.89 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.958e-05/0.211, allocations: 8.031 kB / 0.6888 GB, free: 11.88 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004624/0.2114, allocations: 86.66 kB / 0.6889 GB, free: 11.8 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001324/0.2116, allocations: 168.9 kB / 0.6891 GB, free: 11.6 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.047e-05/0.2116, allocations: 4.375 kB / 0.6891 GB, free: 11.6 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.703e-05/0.2117, allocations: 8.875 kB / 0.6891 GB, free: 11.59 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003911/0.2121, allocations: 127.5 kB / 0.6892 GB, free: 11.46 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/0.2121, allocations: 4 kB / 0.6892 GB, free: 11.46 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.183e-05/0.2121, allocations: 4 kB / 0.6892 GB, free: 11.46 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.543e-06/0.2121, allocations: 0 / 0.6892 GB, free: 11.46 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005019/0.2126, allocations: 119.9 kB / 0.6893 GB, free: 11.34 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006092/0.2132, allocations: 348.6 kB / 0.6897 GB, free: 10.95 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000675/0.2139, allocations: 182.4 kB / 0.6899 GB, free: 10.76 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002462/0.2142, allocations: 72.8 kB / 0.6899 GB, free: 10.69 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.769e-05/0.2142, allocations: 0 / 0.6899 GB, free: 10.69 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.839e-05/0.2142, allocations: 38.56 kB / 0.69 GB, free: 10.64 MB / 494.1 MB Notification: Performance of pre-optimization done (n=7): time 1.193e-06/0.2143, allocations: 0 / 0.69 GB, free: 10.64 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.01878/0.233, allocations: 3.174 MB / 0.6931 GB, free: 7.371 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.869e-05/0.2331, allocations: 63.28 kB / 0.6931 GB, free: 7.297 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.374e-05/0.2332, allocations: 101.8 kB / 0.6932 GB, free: 7.188 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 6.839e-05/0.2333, allocations: 25.7 kB / 0.6932 GB, free: 7.156 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.096e-05/0.2334, allocations: 92.05 kB / 0.6933 GB, free: 7.062 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.228e-05/0.2335, allocations: 35.45 kB / 0.6934 GB, free: 7.027 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.866e-05/0.2335, allocations: 21.7 kB / 0.6934 GB, free: 7 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001259/0.2337, allocations: 310.8 kB / 0.6937 GB, free: 6.688 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006841/0.2344, allocations: 219.8 kB / 0.6939 GB, free: 6.473 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007501/0.2351, allocations: 215.8 kB / 0.6941 GB, free: 6.262 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001403/0.2365, allocations: 451.3 kB / 0.6945 GB, free: 5.82 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.2366, allocations: 0 / 0.6945 GB, free: 5.82 MB / 494.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001628/0.2382, allocations: 0.5205 MB / 0.695 GB, free: 5.293 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.454e-05/0.2382, allocations: 9.812 kB / 0.695 GB, free: 5.285 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.423e-06/0.2382, allocations: 0 / 0.695 GB, free: 5.285 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.947e-05/0.2383, allocations: 8 kB / 0.6951 GB, free: 5.277 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008261/0.2391, allocations: 115.8 kB / 0.6952 GB, free: 5.164 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.078e-05/0.2391, allocations: 4.406 kB / 0.6952 GB, free: 5.16 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006189/0.2397, allocations: 56.03 kB / 0.6952 GB, free: 5.105 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.809e-05/0.2398, allocations: 31.86 kB / 0.6952 GB, free: 5.074 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.0001779/0.24, allocations: 119.2 kB / 0.6954 GB, free: 4.949 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.037e-05/0.2401, allocations: 3.906 kB / 0.6954 GB, free: 4.945 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.977e-05/0.2401, allocations: 11.97 kB / 0.6954 GB, free: 4.934 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.2402, allocations: 0 / 0.6954 GB, free: 4.934 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.197e-06/0.2402, allocations: 7.922 kB / 0.6954 GB, free: 4.926 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.2402, allocations: 4 kB / 0.6954 GB, free: 4.922 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002456/0.2426, allocations: 1.102 MB / 0.6965 GB, free: 3.711 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.065e-06/0.2427, allocations: 0 / 0.6965 GB, free: 3.711 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008243/0.2435, allocations: 119.8 kB / 0.6966 GB, free: 3.594 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.528e-06/0.2435, allocations: 7.922 kB / 0.6966 GB, free: 3.586 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.445e-05/0.2436, allocations: 23.92 kB / 0.6966 GB, free: 3.562 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.851e-06/0.2436, allocations: 7.938 kB / 0.6966 GB, free: 3.555 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.2436, allocations: 0 / 0.6966 GB, free: 3.555 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002549/0.2461, allocations: 0.8621 MB / 0.6975 GB, free: 2.676 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00016/0.2463, allocations: 121 kB / 0.6976 GB, free: 2.539 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.753e-05/0.2464, allocations: 0 / 0.6976 GB, free: 2.539 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006822/0.2471, allocations: 59.94 kB / 0.6976 GB, free: 2.48 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001037/0.2472, allocations: 31.92 kB / 0.6977 GB, free: 2.449 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.569e-05/0.2473, allocations: 27.92 kB / 0.6977 GB, free: 2.422 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.654e-05/0.2473, allocations: 79.28 kB / 0.6978 GB, free: 2.344 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2473, allocations: 0 / 0.6978 GB, free: 2.344 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004251/0.2478, allocations: 56 kB / 0.6978 GB, free: 2.289 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.0002561/0.248, allocations: 115.2 kB / 0.6979 GB, free: 2.168 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001551/0.2496, allocations: 471.9 kB / 0.6984 GB, free: 1.707 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.2496, allocations: 4 kB / 0.6984 GB, free: 1.703 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007776/0.2504, allocations: 255.6 kB / 0.6986 GB, free: 1.453 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003746/0.2508, allocations: 8.75 kB / 0.6986 GB, free: 1.445 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004429/0.2552, allocations: 0.9099 MB / 0.6995 GB, free: 0.4961 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004354/0.2557, allocations: 0.6887 MB / 0.7002 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000387/0.2561, allocations: 79.23 kB / 0.7003 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of SimCode: time 7.52e-07/0.2561, allocations: 0 / 0.7003 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of Templates: time 0.007159/0.2632, allocations: 3.8 MB / 0.704 GB, free: 11.89 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