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.00075/0.00075, allocations: 91.92 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.0008188/0.0008188, allocations: 180.2 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.332/1.332, allocations: 223.3 MB / 241 MB, free: 5.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001771/0.001771, allocations: 270.8 kB / 292.3 MB, free: 1.84 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9336/0.9336, allocations: 169.5 MB / 0.501 GB, free: 14.16 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004605/0.0004599, allocations: 13.88 kB / 0.5993 GB, free: 28.22 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1905/0.191, allocations: 88.55 MB / 0.6858 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.0007424/0.1918, allocations: 321.4 kB / 0.6861 GB, free: 14.75 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00174/0.1935, allocations: 1.455 MB / 0.6875 GB, free: 13.28 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.414e-05/0.1936, allocations: 3.938 kB / 0.6875 GB, free: 13.27 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.623e-05/0.1936, allocations: 1.062 kB / 0.6875 GB, free: 13.27 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 2.336e-05/0.1936, allocations: 0 / 0.6875 GB, free: 13.27 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004246/0.194, allocations: 117.1 kB / 0.6876 GB, free: 13.16 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.714e-05/0.1941, allocations: 31.91 kB / 0.6877 GB, free: 13.13 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.859e-05/0.1942, allocations: 7.969 kB / 0.6877 GB, free: 13.12 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.859e-05/0.1942, allocations: 12 kB / 0.6877 GB, free: 13.11 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.525e-05/0.1943, allocations: 28.39 kB / 0.6877 GB, free: 13.09 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.576e-05/0.1944, allocations: 0 / 0.6877 GB, free: 13.09 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004336/0.1948, allocations: 316.1 kB / 0.688 GB, free: 12.78 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.94e-05/0.1948, allocations: 11.98 kB / 0.688 GB, free: 12.77 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.982e-05/0.1949, allocations: 34.78 kB / 0.6881 GB, free: 12.73 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002276/0.1951, allocations: 139.8 kB / 0.6882 GB, free: 12.59 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.1951, allocations: 0 / 0.6882 GB, free: 12.59 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.1951, allocations: 0.5625 kB / 0.6882 GB, free: 12.59 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.757e-06/0.1951, allocations: 0.6562 kB / 0.6882 GB, free: 12.59 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.0004943/0.1956, allocations: 354.5 kB / 0.6885 GB, free: 12.2 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.115e-05/0.1957, allocations: 12.03 kB / 0.6885 GB, free: 12.19 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000466/0.1962, allocations: 80.09 kB / 0.6886 GB, free: 12.12 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001184/0.1963, allocations: 172.2 kB / 0.6888 GB, free: 11.91 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.311e-05/0.1963, allocations: 4.375 kB / 0.6888 GB, free: 11.91 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.204e-05/0.1964, allocations: 384 / 0.6888 GB, free: 11.91 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002528/0.1966, allocations: 89.94 kB / 0.6889 GB, free: 11.81 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.663e-06/0.1966, allocations: 0 / 0.6889 GB, free: 11.81 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.415e-05/0.1967, allocations: 0 / 0.6889 GB, free: 11.81 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.1967, allocations: 0 / 0.6889 GB, free: 11.81 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002957/0.197, allocations: 83.92 kB / 0.689 GB, free: 11.73 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001815/0.1972, allocations: 165.7 kB / 0.6891 GB, free: 11.52 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005909/0.1978, allocations: 142.5 kB / 0.6892 GB, free: 11.37 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001654/0.1979, allocations: 52.91 kB / 0.6893 GB, free: 11.32 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004763/0.1984, allocations: 169 kB / 0.6895 GB, free: 11.13 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.123e-05/0.1985, allocations: 50.5 kB / 0.6895 GB, free: 11.07 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.1985, allocations: 0 / 0.6895 GB, free: 11.07 MB / 494.1 MB Notification: Performance of matching and sorting (n=5): time 0.00115/0.1996, allocations: 434.2 kB / 0.6899 GB, free: 10.6 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.913e-05/0.1997, allocations: 55.41 kB / 0.69 GB, free: 10.53 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.228e-05/0.1997, allocations: 93.84 kB / 0.6901 GB, free: 10.43 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.026e-05/0.1998, allocations: 29.64 kB / 0.6901 GB, free: 10.39 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.294e-05/0.1998, allocations: 84.08 kB / 0.6902 GB, free: 10.31 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.699e-05/0.1998, allocations: 19.75 kB / 0.6902 GB, free: 10.29 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.717e-05/0.1999, allocations: 9.844 kB / 0.6902 GB, free: 10.27 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001093/0.2, allocations: 326.8 kB / 0.6905 GB, free: 9.945 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000157/0.2002, allocations: 39.97 kB / 0.6905 GB, free: 9.906 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001454/0.2003, allocations: 47.91 kB / 0.6906 GB, free: 9.859 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003033/0.2006, allocations: 84.8 kB / 0.6907 GB, free: 9.773 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.2006, allocations: 0 / 0.6907 GB, free: 9.773 MB / 494.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003541/0.201, allocations: 133.6 kB / 0.6908 GB, free: 9.637 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.201, allocations: 4 kB / 0.6908 GB, free: 9.633 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/0.201, allocations: 4 kB / 0.6908 GB, free: 9.629 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.201, allocations: 0 / 0.6908 GB, free: 9.629 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001426/0.2012, allocations: 23.98 kB / 0.6908 GB, free: 9.605 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.2012, allocations: 0 / 0.6908 GB, free: 9.605 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001011/0.2013, allocations: 19.97 kB / 0.6909 GB, free: 9.586 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.209e-05/0.2013, allocations: 4 kB / 0.6909 GB, free: 9.582 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 8.298e-05/0.2014, allocations: 115.1 kB / 0.691 GB, free: 9.461 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.703e-05/0.2014, allocations: 11.84 kB / 0.691 GB, free: 9.449 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004526/0.2019, allocations: 145.2 kB / 0.6911 GB, free: 9.301 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.2019, allocations: 0 / 0.6911 GB, free: 9.301 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.2019, allocations: 0 / 0.6911 GB, free: 9.301 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.2019, allocations: 336 / 0.6911 GB, free: 9.301 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001384/0.2021, allocations: 174 kB / 0.6913 GB, free: 9.082 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.2021, allocations: 4 kB / 0.6913 GB, free: 9.078 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001712/0.2023, allocations: 31.92 kB / 0.6913 GB, free: 9.047 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.2023, allocations: 3.938 kB / 0.6913 GB, free: 9.043 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.316e-05/0.2023, allocations: 7.969 kB / 0.6913 GB, free: 9.035 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.2023, allocations: 0 / 0.6913 GB, free: 9.035 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.2023, allocations: 0 / 0.6913 GB, free: 9.035 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005781/0.2029, allocations: 201.1 kB / 0.6915 GB, free: 8.82 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.601e-05/0.203, allocations: 89.03 kB / 0.6916 GB, free: 8.715 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.769e-05/0.203, allocations: 0 / 0.6916 GB, free: 8.715 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001198/0.2031, allocations: 20.05 kB / 0.6916 GB, free: 8.695 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.034e-05/0.2031, allocations: 11.92 kB / 0.6916 GB, free: 8.684 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.664e-06/0.2032, allocations: 0 / 0.6916 GB, free: 8.684 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.089e-05/0.2032, allocations: 83.28 kB / 0.6917 GB, free: 8.602 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2032, allocations: 0 / 0.6917 GB, free: 8.602 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000221/0.2034, allocations: 35.92 kB / 0.6917 GB, free: 8.566 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.0002195/0.2037, allocations: 127.3 kB / 0.6919 GB, free: 8.43 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003695/0.204, allocations: 95.94 kB / 0.692 GB, free: 8.336 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.2041, allocations: 0 / 0.692 GB, free: 8.336 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001706/0.2042, allocations: 55.95 kB / 0.692 GB, free: 8.281 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000155/0.2044, allocations: 4.688 kB / 0.692 GB, free: 8.277 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006503/0.2051, allocations: 238.1 kB / 0.6922 GB, free: 8.016 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002645/0.2053, allocations: 0.681 MB / 0.6929 GB, free: 7.309 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.586e-05/0.2054, allocations: 19.42 kB / 0.6929 GB, free: 7.289 MB / 494.1 MB Notification: Performance of SimCode: time 4.81e-07/0.2054, allocations: 0 / 0.6929 GB, free: 7.289 MB / 494.1 MB Notification: Performance of Templates: time 0.003098/0.2085, allocations: 1.106 MB / 0.694 GB, free: 6.188 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