Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 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.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.0009602/0.0009603, allocations: 99.03 kB / 16.02 MB, free: 76 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.001252/0.001252, allocations: 183 kB / 16.92 MB, free: 6.895 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.921/1.921, allocations: 205.4 MB / 223.1 MB, free: 5.527 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.8/1.8, 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.0006256/0.0006254, allocations: 17 kB / 0.675 GB, free: 25.98 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3212/0.3218, allocations: 116.3 MB / 0.7885 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.001373/0.3232, allocations: 0.5201 MB / 0.7891 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002179/0.3254, allocations: 1.523 MB / 0.7905 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.543e-05/0.3255, allocations: 0 / 0.7905 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.134e-05/0.3255, allocations: 0 / 0.7905 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.805e-05/0.3255, allocations: 0 / 0.7905 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005158/0.3261, allocations: 119.7 kB / 0.7907 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.608e-05/0.3262, allocations: 47.84 kB / 0.7907 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.867e-05/0.3262, allocations: 4 kB / 0.7907 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.457e-05/0.3263, allocations: 27.91 kB / 0.7907 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.564e-05/0.3264, allocations: 31.89 kB / 0.7908 GB, free: 9.27 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.788e-05/0.3264, allocations: 4 kB / 0.7908 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004768/0.3269, allocations: 315.4 kB / 0.7911 GB, free: 8.957 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.274e-05/0.3269, allocations: 11.92 kB / 0.7911 GB, free: 8.945 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.671e-05/0.327, allocations: 57.56 kB / 0.7911 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002604/0.3273, allocations: 152 kB / 0.7913 GB, free: 8.734 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.3273, allocations: 0 / 0.7913 GB, free: 8.734 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.174e-06/0.3273, allocations: 0 / 0.7913 GB, free: 8.734 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.119e-06/0.3273, allocations: 0 / 0.7913 GB, free: 8.734 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0007206/0.328, allocations: 383.4 kB / 0.7916 GB, free: 8.312 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.733e-05/0.3281, allocations: 19.97 kB / 0.7917 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005059/0.3286, allocations: 84.75 kB / 0.7917 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000158/0.3288, allocations: 172.3 kB / 0.7919 GB, free: 8.004 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.833e-05/0.3288, allocations: 4.375 kB / 0.7919 GB, free: 8 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.976e-05/0.3289, allocations: 4.375 kB / 0.7919 GB, free: 7.996 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004245/0.3293, allocations: 125.7 kB / 0.792 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.435e-05/0.3293, allocations: 0 / 0.792 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.746e-05/0.3293, allocations: 0 / 0.792 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.858e-06/0.3294, allocations: 4 kB / 0.792 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005194/0.3299, allocations: 127.8 kB / 0.7922 GB, free: 7.738 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007183/0.3306, allocations: 348.5 kB / 0.7925 GB, free: 7.348 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007097/0.3313, allocations: 186.4 kB / 0.7927 GB, free: 7.156 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002611/0.3316, allocations: 60.81 kB / 0.7927 GB, free: 7.094 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.721e-05/0.3316, allocations: 7.938 kB / 0.7927 GB, free: 7.086 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.393e-05/0.3317, allocations: 34.56 kB / 0.7928 GB, free: 7.043 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.172e-06/0.3317, allocations: 0 / 0.7928 GB, free: 7.043 MB / 0.6075 GB 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.01951/0.3512, allocations: 3.18 MB / 0.7959 GB, free: 3.77 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.794e-05/0.3513, allocations: 55.34 kB / 0.7959 GB, free: 3.703 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.865e-05/0.3514, allocations: 113.8 kB / 0.796 GB, free: 3.582 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.685e-05/0.3515, allocations: 29.7 kB / 0.7961 GB, free: 3.547 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.523e-05/0.3515, allocations: 88.08 kB / 0.7962 GB, free: 3.457 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 7.483e-05/0.3516, allocations: 39.36 kB / 0.7962 GB, free: 3.418 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.365e-05/0.3517, allocations: 17.72 kB / 0.7962 GB, free: 3.395 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001438/0.3518, allocations: 322.8 kB / 0.7965 GB, free: 3.07 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007222/0.3526, allocations: 211.8 kB / 0.7967 GB, free: 2.863 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000706/0.3533, allocations: 219.8 kB / 0.7969 GB, free: 2.648 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001471/0.3548, allocations: 447.2 kB / 0.7974 GB, free: 2.211 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.3548, allocations: 0 / 0.7974 GB, free: 2.211 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001653/0.3564, allocations: 0.513 MB / 0.7979 GB, free: 1.691 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.39e-05/0.3565, allocations: 8 kB / 0.7979 GB, free: 1.684 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.3565, allocations: 0 / 0.7979 GB, free: 1.684 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.779e-05/0.3565, allocations: 0 / 0.7979 GB, free: 1.684 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008549/0.3574, allocations: 123.7 kB / 0.798 GB, free: 1.562 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.478e-06/0.3574, allocations: 3.938 kB / 0.798 GB, free: 1.559 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00065/0.3581, allocations: 63.94 kB / 0.798 GB, free: 1.496 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.745e-05/0.3581, allocations: 23.92 kB / 0.7981 GB, free: 1.473 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 (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.000182/0.3583, allocations: 118.5 kB / 0.7982 GB, free: 1.348 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.248e-05/0.3584, allocations: 8 kB / 0.7982 GB, free: 1.34 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.973e-05/0.3585, allocations: 15.91 kB / 0.7982 GB, free: 1.32 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.247e-06/0.3585, allocations: 7.938 kB / 0.7982 GB, free: 1.312 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.3585, allocations: 0 / 0.7982 GB, free: 1.312 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.3585, allocations: 0 / 0.7982 GB, free: 1.312 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002408/0.3609, allocations: 1.101 MB / 0.7993 GB, free: 100 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.3609, allocations: 0 / 0.7993 GB, free: 100 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008805/0.3618, allocations: 119.8 kB / 0.7994 GB, free: 15.98 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.3618, allocations: 4 kB / 0.7994 GB, free: 15.97 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.406e-05/0.3619, allocations: 23.92 kB / 0.7994 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.3619, allocations: 4 kB / 0.7994 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.3619, allocations: 0 / 0.7994 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002548/0.3645, allocations: 0.8697 MB / 0.8003 GB, free: 15.06 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001498/0.3646, allocations: 117 kB / 0.8004 GB, free: 14.93 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.601e-05/0.3647, allocations: 7.984 kB / 0.8004 GB, free: 14.92 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007029/0.3654, allocations: 64 kB / 0.8005 GB, free: 14.86 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001/0.3655, allocations: 23.92 kB / 0.8005 GB, free: 14.84 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.886e-05/0.3656, allocations: 23.94 kB / 0.8005 GB, free: 14.81 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 5.974e-05/0.3657, allocations: 87.27 kB / 0.8006 GB, free: 14.73 MB / 0.6231 GB Notification: Performance of sort global known variables: time 5.72e-07/0.3657, allocations: 0 / 0.8006 GB, free: 14.73 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004072/0.3661, allocations: 48 kB / 0.8006 GB, free: 14.68 MB / 0.6231 GB 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.0002777/0.3664, allocations: 115.2 kB / 0.8007 GB, free: 14.56 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001542/0.3679, allocations: 471.5 kB / 0.8012 GB, free: 14.1 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.3679, allocations: 7.938 kB / 0.8012 GB, free: 14.09 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0007479/0.3687, allocations: 247.7 kB / 0.8014 GB, free: 13.85 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003788/0.3691, allocations: 18.36 kB / 0.8015 GB, free: 13.83 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004514/0.3736, allocations: 0.8952 MB / 0.8023 GB, free: 12.91 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003214/0.3739, allocations: 0.6965 MB / 0.803 GB, free: 12.18 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004035/0.3743, allocations: 79.22 kB / 0.8031 GB, free: 12.11 MB / 0.6231 GB Notification: Performance of SimCode: time 7.91e-07/0.3744, allocations: 0 / 0.8031 GB, free: 12.11 MB / 0.6231 GB Notification: Performance of Templates: time 0.006919/0.3813, allocations: 3.799 MB / 0.8068 GB, free: 8.297 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.makefile make -j1 -f Buildings_8_Buildings.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 OMCppBuildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_CheckCalcHelperMain.o OMCppBuildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_CheckCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_CheckCalcHelperMain.o] Error 1