Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") translateModel(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.0008636/0.0008637, allocations: 98.88 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.001166/0.001166, allocations: 187.7 kB / 16.92 MB, free: 6.773 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.283/1.283, allocations: 223.2 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6873/0.6873, allocations: 132.3 MB / 424.4 MB, free: 1.965 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003213/0.0003215, allocations: 12.56 kB / 0.5046 GB, free: 3.887 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3866/0.387, allocations: 81.58 MB / 0.5843 GB, free: 4.059 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.0006933/0.3877, allocations: 333.3 kB / 0.5846 GB, free: 3.836 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00158/0.3893, allocations: 1.455 MB / 0.586 GB, free: 2.777 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.403e-05/0.3893, allocations: 0 / 0.586 GB, free: 2.777 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.594e-05/0.3893, allocations: 4.594 kB / 0.586 GB, free: 2.773 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 2.148e-05/0.3894, allocations: 1.281 kB / 0.586 GB, free: 2.773 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003966/0.3898, allocations: 119.4 kB / 0.5862 GB, free: 2.719 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.884e-05/0.3898, allocations: 25.72 kB / 0.5862 GB, free: 2.715 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.712e-05/0.3899, allocations: 6.797 kB / 0.5862 GB, free: 2.711 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.251e-05/0.3899, allocations: 20.39 kB / 0.5862 GB, free: 2.703 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.259e-05/0.39, allocations: 22.44 kB / 0.5862 GB, free: 2.699 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.463e-05/0.39, allocations: 2.062 kB / 0.5862 GB, free: 2.699 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000489/0.3905, allocations: 315.3 kB / 0.5865 GB, free: 2.613 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.843e-05/0.3906, allocations: 9.297 kB / 0.5865 GB, free: 2.609 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.113e-05/0.3906, allocations: 39.31 kB / 0.5866 GB, free: 2.57 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002208/0.3908, allocations: 131.4 kB / 0.5867 GB, free: 2.547 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.3908, allocations: 4 kB / 0.5867 GB, free: 2.543 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.3909, allocations: 0 / 0.5867 GB, free: 2.543 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.487e-06/0.3909, allocations: 0 / 0.5867 GB, free: 2.543 MB / 430.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.0004314/0.3913, allocations: 357.6 kB / 0.587 GB, free: 2.172 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.3913, allocations: 9.125 kB / 0.5871 GB, free: 2.172 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004803/0.3918, allocations: 82.88 kB / 0.5871 GB, free: 2.164 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.255e-05/0.3919, allocations: 171.1 kB / 0.5873 GB, free: 1.961 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.212e-05/0.3919, allocations: 5.797 kB / 0.5873 GB, free: 1.957 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.981e-05/0.392, allocations: 2.094 kB / 0.5873 GB, free: 1.957 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002567/0.3922, allocations: 87 kB / 0.5874 GB, free: 1.914 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.744e-06/0.3922, allocations: 0 / 0.5874 GB, free: 1.914 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.386e-05/0.3923, allocations: 0 / 0.5874 GB, free: 1.914 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.3923, allocations: 6.047 kB / 0.5874 GB, free: 1.91 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003185/0.3926, allocations: 75.38 kB / 0.5875 GB, free: 1.902 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000149/0.3927, allocations: 168 kB / 0.5876 GB, free: 1.703 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006161/0.3934, allocations: 145.1 kB / 0.5878 GB, free: 1.66 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001777/0.3936, allocations: 51.95 kB / 0.5878 GB, free: 1.645 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004693/0.394, allocations: 172.8 kB / 0.588 GB, free: 1.543 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.791e-05/0.3941, allocations: 40.09 kB / 0.588 GB, free: 1.496 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.3941, allocations: 0 / 0.588 GB, free: 1.496 MB / 430.1 MB Notification: Performance of matching and sorting (n=5): time 0.001157/0.3952, allocations: 440.4 kB / 0.5884 GB, free: 1.207 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.174e-05/0.3953, allocations: 52.38 kB / 0.5885 GB, free: 1.145 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.149e-05/0.3953, allocations: 99.16 kB / 0.5886 GB, free: 1.043 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.199e-05/0.3953, allocations: 25.7 kB / 0.5886 GB, free: 1.012 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.348e-05/0.3954, allocations: 85.7 kB / 0.5887 GB, free: 0.9258 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.656e-05/0.3954, allocations: 15.48 kB / 0.5887 GB, free: 0.9141 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.509e-05/0.3954, allocations: 15.58 kB / 0.5887 GB, free: 0.8945 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.168e-05/0.3955, allocations: 313.2 kB / 0.589 GB, free: 0.582 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001662/0.3956, allocations: 43.95 kB / 0.5891 GB, free: 0.5742 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000157/0.3958, allocations: 41.42 kB / 0.5891 GB, free: 0.5703 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003115/0.3961, allocations: 94.06 kB / 0.5892 GB, free: 0.543 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.3961, allocations: 0.7812 kB / 0.5892 GB, free: 0.543 MB / 430.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003705/0.3965, allocations: 132.6 kB / 0.5893 GB, free: 500 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.3965, allocations: 5.531 kB / 0.5893 GB, free: 500 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.3965, allocations: 0.7031 kB / 0.5893 GB, free: 500 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.3966, allocations: 0 / 0.5893 GB, free: 500 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000147/0.3967, allocations: 28.89 kB / 0.5894 GB, free: 496 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.3967, allocations: 1.453 kB / 0.5894 GB, free: 496 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001034/0.3968, allocations: 15.7 kB / 0.5894 GB, free: 496 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.187e-06/0.3968, allocations: 1.594 kB / 0.5894 GB, free: 496 kB / 430.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 5.606e-05/0.3969, allocations: 116.6 kB / 0.5895 GB, free: 372 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.49e-05/0.3969, allocations: 13.98 kB / 0.5895 GB, free: 360 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004648/0.3974, allocations: 145.8 kB / 0.5896 GB, free: 300 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.3974, allocations: 0 / 0.5896 GB, free: 300 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.3974, allocations: 1.875 kB / 0.5896 GB, free: 300 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.3974, allocations: 0 / 0.5896 GB, free: 300 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.46e-05/0.3975, allocations: 170.7 kB / 0.5898 GB, free: 96 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.3975, allocations: 0 / 0.5898 GB, free: 96 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001572/0.3977, allocations: 30.31 kB / 0.5898 GB, free: 92 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.3977, allocations: 0 / 0.5898 GB, free: 92 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.116e-05/0.3977, allocations: 6.016 kB / 0.5898 GB, free: 88 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.3977, allocations: 9.406 kB / 0.5898 GB, free: 80 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.3977, allocations: 1.125 kB / 0.5898 GB, free: 80 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006011/0.3983, allocations: 206.3 kB / 0.59 GB, free: 15.98 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.306e-05/0.3984, allocations: 87.92 kB / 0.5901 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.724e-05/0.3985, allocations: 1.344 kB / 0.5901 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001176/0.3986, allocations: 15.28 kB / 0.5901 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.74e-05/0.3986, allocations: 5.062 kB / 0.5901 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.14e-05/0.3986, allocations: 10.8 kB / 0.5902 GB, free: 15.88 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.273e-05/0.3987, allocations: 77.72 kB / 0.5902 GB, free: 15.8 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3987, allocations: 0 / 0.5902 GB, free: 15.8 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000251/0.3989, allocations: 32.11 kB / 0.5903 GB, free: 15.79 MB / 446.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.0002134/0.3992, allocations: 126.3 kB / 0.5904 GB, free: 15.7 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003845/0.3996, allocations: 97.94 kB / 0.5905 GB, free: 15.68 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3996, allocations: 4 kB / 0.5905 GB, free: 15.68 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001752/0.3997, allocations: 47.53 kB / 0.5905 GB, free: 15.67 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001553/0.3999, allocations: 6.344 kB / 0.5905 GB, free: 15.67 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006359/0.4006, allocations: 239.2 kB / 0.5908 GB, free: 15.49 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00024/0.4008, allocations: 0.679 MB / 0.5914 GB, free: 14.79 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.303e-05/0.4009, allocations: 18.2 kB / 0.5914 GB, free: 14.78 MB / 446.1 MB Notification: Performance of SimCode: time 3.71e-07/0.4009, allocations: 0 / 0.5914 GB, free: 14.78 MB / 446.1 MB Notification: Performance of Templates: time 0.002817/0.4037, allocations: 1.118 MB / 0.5925 GB, free: 14.7 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.makefile make -j1 -f IDEAS_IDEAS.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 OMCppIDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheckCalcHelperMain.o OMCppIDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheckCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheckCalcHelperMain.o] Error 1