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.001119/0.001119, allocations: 100.1 kB / 15.71 MB, free: 452 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.001458/0.001458, allocations: 176.7 kB / 16.58 MB, free: 6.422 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.683/1.683, allocations: 205.4 MB / 222.8 MB, free: 5.641 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.801/1.801, allocations: 292.7 MB / 0.5505 GB, free: 14.56 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.0005973/0.0005974, allocations: 15.78 kB / 0.6744 GB, free: 26.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3344/0.335, allocations: 116.3 MB / 0.7879 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.0009279/0.336, allocations: 335.5 kB / 0.7883 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001932/0.338, allocations: 1.422 MB / 0.7896 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.476e-05/0.338, allocations: 0 / 0.7896 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.194e-05/0.338, allocations: 3.938 kB / 0.7897 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.415e-05/0.3381, allocations: 0 / 0.7897 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004456/0.3385, allocations: 115.7 kB / 0.7898 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.018e-05/0.3386, allocations: 19.97 kB / 0.7898 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.031e-05/0.3386, allocations: 4 kB / 0.7898 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.73e-05/0.3387, allocations: 19.97 kB / 0.7898 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.45e-05/0.3388, allocations: 23.91 kB / 0.7898 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.699e-05/0.3388, allocations: 7.938 kB / 0.7898 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004573/0.3393, allocations: 303.4 kB / 0.7901 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.728e-05/0.3393, allocations: 7.969 kB / 0.7901 GB, free: 9.684 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.309e-05/0.3393, allocations: 33.7 kB / 0.7902 GB, free: 9.645 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002183/0.3396, allocations: 127.9 kB / 0.7903 GB, free: 9.52 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 9.248e-06/0.3396, allocations: 4 kB / 0.7903 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.124e-06/0.3396, allocations: 0 / 0.7903 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.3396, allocations: 0 / 0.7903 GB, free: 9.516 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.0005259/0.3401, allocations: 351.6 kB / 0.7906 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/0.3402, allocations: 12.03 kB / 0.7906 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004469/0.3406, allocations: 91.73 kB / 0.7907 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001351/0.3408, allocations: 171 kB / 0.7909 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.418e-05/0.3408, allocations: 0 / 0.7909 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.298e-05/0.3409, allocations: 4 kB / 0.7909 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002515/0.3411, allocations: 81.62 kB / 0.791 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.234e-06/0.3411, allocations: 0 / 0.791 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.455e-05/0.3411, allocations: 0 / 0.791 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.3412, allocations: 0 / 0.791 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002883/0.3414, allocations: 79.92 kB / 0.791 GB, free: 8.648 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002357/0.3417, allocations: 169.6 kB / 0.7912 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006061/0.3423, allocations: 142.5 kB / 0.7913 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001556/0.3425, allocations: 52.98 kB / 0.7914 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004776/0.343, allocations: 181 kB / 0.7916 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.874e-05/0.343, allocations: 34.56 kB / 0.7916 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 2.725e-06/0.343, allocations: 0 / 0.7916 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5): time 0.001188/0.3442, allocations: 438.1 kB / 0.792 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.833e-05/0.3443, allocations: 55.41 kB / 0.7921 GB, free: 7.445 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.625e-05/0.3443, allocations: 89.86 kB / 0.7922 GB, free: 7.348 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.782e-05/0.3444, allocations: 29.83 kB / 0.7922 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.342e-05/0.3444, allocations: 84.14 kB / 0.7923 GB, free: 7.227 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.44e-05/0.3444, allocations: 23.67 kB / 0.7923 GB, free: 7.203 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.752e-06/0.3445, allocations: 0 / 0.7923 GB, free: 7.203 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001457/0.3446, allocations: 318.8 kB / 0.7926 GB, free: 6.883 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001461/0.3448, allocations: 47.91 kB / 0.7926 GB, free: 6.836 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001423/0.3449, allocations: 39.95 kB / 0.7927 GB, free: 6.797 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001412/0.3451, allocations: 47.97 kB / 0.7927 GB, free: 6.75 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.3451, allocations: 0 / 0.7927 GB, free: 6.75 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.00033/0.3454, allocations: 121.5 kB / 0.7928 GB, free: 6.625 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.3454, allocations: 4 kB / 0.7928 GB, free: 6.621 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.3454, allocations: 4 kB / 0.7928 GB, free: 6.617 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.3455, allocations: 3.984 kB / 0.7928 GB, free: 6.613 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001378/0.3456, allocations: 23.98 kB / 0.7929 GB, free: 6.59 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.3456, allocations: 0 / 0.7929 GB, free: 6.59 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.696e-05/0.3457, allocations: 19.98 kB / 0.7929 GB, free: 6.57 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.907e-06/0.3457, allocations: 4 kB / 0.7929 GB, free: 6.566 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.969e-05/0.3459, allocations: 122.4 kB / 0.793 GB, free: 6.438 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.17e-05/0.3459, allocations: 0 / 0.793 GB, free: 6.438 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004778/0.3464, allocations: 145.2 kB / 0.7931 GB, free: 6.285 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/0.3464, allocations: 4 kB / 0.7932 GB, free: 6.281 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.3464, allocations: 0 / 0.7932 GB, free: 6.281 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.3464, allocations: 4.312 kB / 0.7932 GB, free: 6.277 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001484/0.3465, allocations: 161.6 kB / 0.7933 GB, free: 6.07 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-06/0.3466, allocations: 0 / 0.7933 GB, free: 6.07 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001469/0.3467, allocations: 32.28 kB / 0.7933 GB, free: 6.039 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.514e-06/0.3467, allocations: 0 / 0.7933 GB, free: 6.039 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.679e-05/0.3467, allocations: 8 kB / 0.7933 GB, free: 6.031 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.896e-06/0.3467, allocations: 7.938 kB / 0.7934 GB, free: 6.023 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.3468, allocations: 3.984 kB / 0.7934 GB, free: 6.02 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005528/0.3473, allocations: 205 kB / 0.7936 GB, free: 5.801 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 8.137e-05/0.3474, allocations: 92.97 kB / 0.7936 GB, free: 5.691 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.893e-05/0.3474, allocations: 0 / 0.7936 GB, free: 5.691 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001071/0.3475, allocations: 24.05 kB / 0.7937 GB, free: 5.668 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.126e-05/0.3476, allocations: 3.984 kB / 0.7937 GB, free: 5.664 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.033e-05/0.3476, allocations: 4 kB / 0.7937 GB, free: 5.66 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.145e-05/0.3477, allocations: 79.28 kB / 0.7937 GB, free: 5.582 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3477, allocations: 0 / 0.7937 GB, free: 5.582 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002566/0.3479, allocations: 36 kB / 0.7938 GB, free: 5.547 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002657/0.3482, allocations: 127.3 kB / 0.7939 GB, free: 5.41 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000349/0.3486, allocations: 99.8 kB / 0.794 GB, free: 5.312 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.3486, allocations: 4 kB / 0.794 GB, free: 5.309 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001468/0.3487, allocations: 51.95 kB / 0.7941 GB, free: 5.258 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001965/0.3489, allocations: 7.953 kB / 0.7941 GB, free: 5.25 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006416/0.3496, allocations: 226.5 kB / 0.7943 GB, free: 5 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003417/0.3499, allocations: 0.6809 MB / 0.7949 GB, free: 4.293 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.366e-05/0.35, allocations: 15.42 kB / 0.795 GB, free: 4.277 MB / 0.6075 GB Notification: Performance of SimCode: time 6.11e-07/0.35, allocations: 0 / 0.795 GB, free: 4.277 MB / 0.6075 GB Notification: Performance of Templates: time 0.003379/0.3534, allocations: 1.097 MB / 0.796 GB, free: 3.176 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++ NOTFOUND -Winvalid-pch -O0 -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/c/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