Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.0008968/0.0008967, allocations: 91.38 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.0009219/0.000922, allocations: 180.8 kB / 16.92 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.78/1.78, allocations: 205.4 MB / 223.1 MB, free: 5.551 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.868/1.868, allocations: 292.7 MB / 0.5509 GB, free: 14.45 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005538/0.0005539, allocations: 19.94 kB / 0.675 GB, free: 25.82 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.324/0.3246, allocations: 116.3 MB / 0.7885 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001215/0.3259, allocations: 343.4 kB / 0.7889 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002622/0.3285, allocations: 1.492 MB / 0.7903 GB, free: 9.715 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.295e-05/0.3286, allocations: 0 / 0.7903 GB, free: 9.715 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.884e-05/0.3286, allocations: 0 / 0.7903 GB, free: 9.715 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.321e-05/0.3286, allocations: 0 / 0.7903 GB, free: 9.715 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005159/0.3292, allocations: 115.7 kB / 0.7904 GB, free: 9.602 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.125e-05/0.3292, allocations: 27.98 kB / 0.7905 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.829e-05/0.3293, allocations: 0 / 0.7905 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.947e-05/0.3294, allocations: 15.98 kB / 0.7905 GB, free: 9.559 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 9.653e-05/0.3295, allocations: 27.89 kB / 0.7905 GB, free: 9.531 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.856e-05/0.3295, allocations: 4 kB / 0.7905 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004659/0.33, allocations: 315.4 kB / 0.7908 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.132e-05/0.33, allocations: 7.969 kB / 0.7908 GB, free: 9.211 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.856e-05/0.33, allocations: 45.56 kB / 0.7909 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002281/0.3303, allocations: 127.9 kB / 0.791 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.3303, allocations: 3.938 kB / 0.791 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.124e-06/0.3303, allocations: 0 / 0.791 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.23e-06/0.3303, allocations: 0 / 0.791 GB, free: 9.031 MB / 0.6075 GB 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.0006127/0.3309, allocations: 355.8 kB / 0.7913 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.774e-05/0.331, allocations: 16.03 kB / 0.7913 GB, free: 8.621 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005005/0.3315, allocations: 80.75 kB / 0.7914 GB, free: 8.543 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001382/0.3316, allocations: 168.4 kB / 0.7916 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.256e-05/0.3317, allocations: 384 / 0.7916 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.933e-05/0.3317, allocations: 4.375 kB / 0.7916 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002792/0.332, allocations: 93.69 kB / 0.7917 GB, free: 8.238 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.993e-06/0.332, allocations: 0 / 0.7917 GB, free: 8.238 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.606e-05/0.332, allocations: 0 / 0.7917 GB, free: 8.238 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.332, allocations: 0 / 0.7917 GB, free: 8.238 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003096/0.3324, allocations: 79.88 kB / 0.7918 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002192/0.3326, allocations: 165.7 kB / 0.7919 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006315/0.3332, allocations: 142.6 kB / 0.792 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001778/0.3334, allocations: 48.92 kB / 0.7921 GB, free: 7.75 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004992/0.3339, allocations: 177 kB / 0.7923 GB, free: 7.559 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.464e-05/0.334, allocations: 34.5 kB / 0.7923 GB, free: 7.516 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 2.775e-06/0.334, allocations: 3.984 kB / 0.7923 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5): time 0.001309/0.3353, allocations: 442.2 kB / 0.7927 GB, free: 7.027 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.521e-05/0.3353, allocations: 51.41 kB / 0.7928 GB, free: 6.965 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.528e-05/0.3354, allocations: 97.8 kB / 0.7929 GB, free: 6.859 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.711e-05/0.3355, allocations: 29.7 kB / 0.7929 GB, free: 6.824 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.75e-05/0.3355, allocations: 80.14 kB / 0.793 GB, free: 6.742 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.496e-05/0.3356, allocations: 19.73 kB / 0.793 GB, free: 6.723 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.191e-05/0.3356, allocations: 13.72 kB / 0.793 GB, free: 6.703 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001272/0.3357, allocations: 311 kB / 0.7933 GB, free: 6.391 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001616/0.3359, allocations: 47.95 kB / 0.7933 GB, free: 6.344 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00016/0.3361, allocations: 48.03 kB / 0.7934 GB, free: 6.297 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003118/0.3364, allocations: 88.8 kB / 0.7935 GB, free: 6.207 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.3364, allocations: 4 kB / 0.7935 GB, free: 6.203 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003685/0.3368, allocations: 121.5 kB / 0.7936 GB, free: 6.078 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.396e-05/0.3368, allocations: 11.98 kB / 0.7936 GB, free: 6.066 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/0.3368, allocations: 4 kB / 0.7936 GB, free: 6.062 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/0.3368, allocations: 3.938 kB / 0.7936 GB, free: 6.059 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001454/0.337, allocations: 23.98 kB / 0.7936 GB, free: 6.035 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.884e-06/0.337, allocations: 0 / 0.7936 GB, free: 6.035 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001065/0.3371, allocations: 23.98 kB / 0.7937 GB, free: 6.012 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.836e-06/0.3371, allocations: 0 / 0.7937 GB, free: 6.012 MB / 0.6075 GB 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.0001017/0.3373, allocations: 113.8 kB / 0.7938 GB, free: 5.891 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.285e-05/0.3373, allocations: 3.938 kB / 0.7938 GB, free: 5.887 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005242/0.3378, allocations: 149.1 kB / 0.7939 GB, free: 5.73 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.3378, allocations: 11.86 kB / 0.7939 GB, free: 5.719 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.183e-06/0.3378, allocations: 0 / 0.7939 GB, free: 5.719 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.3378, allocations: 4 kB / 0.7939 GB, free: 5.715 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001955/0.338, allocations: 161.7 kB / 0.7941 GB, free: 5.508 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/0.3381, allocations: 3.938 kB / 0.7941 GB, free: 5.504 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001591/0.3382, allocations: 27.98 kB / 0.7941 GB, free: 5.477 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.3382, allocations: 0 / 0.7941 GB, free: 5.477 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.417e-05/0.3382, allocations: 4 kB / 0.7941 GB, free: 5.473 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.3383, allocations: 4 kB / 0.7941 GB, free: 5.469 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.3383, allocations: 0 / 0.7941 GB, free: 5.469 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006459/0.3389, allocations: 209.3 kB / 0.7943 GB, free: 5.246 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 9.267e-05/0.339, allocations: 88.94 kB / 0.7944 GB, free: 5.141 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.002e-05/0.339, allocations: 4.031 kB / 0.7944 GB, free: 5.137 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001234/0.3392, allocations: 20.05 kB / 0.7944 GB, free: 5.117 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.45e-05/0.3392, allocations: 11.92 kB / 0.7944 GB, free: 5.105 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.238e-06/0.3392, allocations: 4 kB / 0.7944 GB, free: 5.102 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.176e-05/0.3393, allocations: 75.28 kB / 0.7945 GB, free: 5.027 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3393, allocations: 0 / 0.7945 GB, free: 5.027 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002567/0.3395, allocations: 32 kB / 0.7945 GB, free: 4.996 MB / 0.6075 GB 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.0002869/0.3398, allocations: 135.3 kB / 0.7947 GB, free: 4.852 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003899/0.3402, allocations: 91.92 kB / 0.7948 GB, free: 4.762 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.3403, allocations: 0 / 0.7948 GB, free: 4.762 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000178/0.3404, allocations: 59.89 kB / 0.7948 GB, free: 4.703 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001771/0.3406, allocations: 10.75 kB / 0.7948 GB, free: 4.695 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006784/0.3413, allocations: 226.3 kB / 0.795 GB, free: 4.445 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003007/0.3416, allocations: 0.6809 MB / 0.7957 GB, free: 3.738 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.553e-05/0.3417, allocations: 15.42 kB / 0.7957 GB, free: 3.723 MB / 0.6075 GB Notification: Performance of SimCode: time 2.3e-07/0.3417, allocations: 4 kB / 0.7957 GB, free: 3.719 MB / 0.6075 GB Notification: Performance of Templates: time 0.002864/0.3446, allocations: 1.124 MB / 0.7968 GB, free: 2.594 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.makefile make -j1 -f Buildings_8_Buildings.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 OMCppBuildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheckCalcHelperMain.o OMCppBuildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheckCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheckCalcHelperMain.o] Error 1