Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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 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.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") translateModel(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.000715/0.0007149, allocations: 92.16 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.000823/0.000823, allocations: 172.9 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.252/1.252, allocations: 223.3 MB / 241 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6906/0.6906, allocations: 132.3 MB / 424.4 MB, free: 1.984 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003032/0.0003032, allocations: 16 kB / 0.5046 GB, free: 3.887 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.405/0.4053, allocations: 81.57 MB / 0.5843 GB, free: 4.039 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.00098/0.4063, allocations: 0.4988 MB / 0.5848 GB, free: 3.699 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001764/0.4081, allocations: 1.483 MB / 0.5862 GB, free: 2.617 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.187e-05/0.4081, allocations: 0 / 0.5862 GB, free: 2.617 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.137e-05/0.4082, allocations: 1.734 kB / 0.5862 GB, free: 2.617 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.236e-05/0.4082, allocations: 7.875 kB / 0.5862 GB, free: 2.609 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004279/0.4086, allocations: 106.9 kB / 0.5863 GB, free: 2.566 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 8.574e-05/0.4087, allocations: 55.72 kB / 0.5864 GB, free: 2.543 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.529e-05/0.4088, allocations: 8.016 kB / 0.5864 GB, free: 2.539 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.008e-05/0.4089, allocations: 24.25 kB / 0.5864 GB, free: 2.531 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.902e-05/0.409, allocations: 34.17 kB / 0.5865 GB, free: 2.516 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.629e-05/0.409, allocations: 3.75 kB / 0.5865 GB, free: 2.516 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000502/0.4095, allocations: 311.8 kB / 0.5868 GB, free: 2.434 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.542e-05/0.4095, allocations: 22.19 kB / 0.5868 GB, free: 2.418 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.499e-05/0.4096, allocations: 47.08 kB / 0.5868 GB, free: 2.375 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002627/0.4098, allocations: 145.2 kB / 0.587 GB, free: 2.348 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.4099, allocations: 1.281 kB / 0.587 GB, free: 2.348 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.4099, allocations: 0 / 0.587 GB, free: 2.348 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.449e-06/0.4099, allocations: 4 kB / 0.587 GB, free: 2.344 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005695/0.4104, allocations: 391.3 kB / 0.5873 GB, free: 1.961 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/0.4105, allocations: 8.969 kB / 0.5874 GB, free: 1.961 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004958/0.411, allocations: 93.88 kB / 0.5874 GB, free: 1.945 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.817e-05/0.4111, allocations: 170.6 kB / 0.5876 GB, free: 1.742 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.917e-05/0.4111, allocations: 7.594 kB / 0.5876 GB, free: 1.738 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.57e-05/0.4112, allocations: 6.203 kB / 0.5876 GB, free: 1.738 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003987/0.4116, allocations: 128.7 kB / 0.5877 GB, free: 1.68 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.338e-05/0.4116, allocations: 8.359 kB / 0.5878 GB, free: 1.672 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.621e-05/0.4116, allocations: 1.219 kB / 0.5878 GB, free: 1.672 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.4116, allocations: 1.188 kB / 0.5878 GB, free: 1.672 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005241/0.4122, allocations: 131 kB / 0.5879 GB, free: 1.648 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005252/0.4127, allocations: 335.2 kB / 0.5882 GB, free: 1.352 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006947/0.4134, allocations: 188.3 kB / 0.5884 GB, free: 1.297 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002519/0.4137, allocations: 65.36 kB / 0.5884 GB, free: 1.281 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.965e-05/0.4137, allocations: 1.156 kB / 0.5884 GB, free: 1.281 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.75e-05/0.4137, allocations: 36.47 kB / 0.5885 GB, free: 1.238 MB / 430.1 MB Notification: Performance of pre-optimization done (n=7): time 1.413e-06/0.4137, allocations: 0 / 0.5885 GB, free: 1.238 MB / 430.1 MB 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.01962/0.4333, allocations: 3.178 MB / 0.5916 GB, free: 380 kB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.357e-05/0.4334, allocations: 56.31 kB / 0.5916 GB, free: 312 kB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.759e-05/0.4335, allocations: 102.5 kB / 0.5917 GB, free: 208 kB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.707e-05/0.4336, allocations: 29.7 kB / 0.5918 GB, free: 172 kB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.402e-05/0.4336, allocations: 87.41 kB / 0.5918 GB, free: 84 kB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.894e-05/0.4337, allocations: 39.92 kB / 0.5919 GB, free: 52 kB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.405e-05/0.4337, allocations: 22.72 kB / 0.5919 GB, free: 28 kB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000147/0.4339, allocations: 322.4 kB / 0.5922 GB, free: 15.71 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007321/0.4346, allocations: 214.2 kB / 0.5924 GB, free: 15.66 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007511/0.4354, allocations: 224.8 kB / 0.5926 GB, free: 15.61 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001459/0.4369, allocations: 443.4 kB / 0.5931 GB, free: 15.5 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.213e-06/0.4369, allocations: 0 / 0.5931 GB, free: 15.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001711/0.4386, allocations: 0.5198 MB / 0.5936 GB, free: 15.36 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/0.4386, allocations: 4.844 kB / 0.5936 GB, free: 15.36 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.4386, allocations: 0.7969 kB / 0.5936 GB, free: 15.36 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.626e-05/0.4387, allocations: 1.094 kB / 0.5936 GB, free: 15.36 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008672/0.4395, allocations: 122.8 kB / 0.5937 GB, free: 15.35 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.957e-06/0.4395, allocations: 5.875 kB / 0.5937 GB, free: 15.35 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000638/0.4402, allocations: 60.16 kB / 0.5937 GB, free: 15.34 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.457e-05/0.4403, allocations: 24.08 kB / 0.5938 GB, free: 15.34 MB / 446.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 (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.0001696/0.4404, allocations: 115.2 kB / 0.5939 GB, free: 15.22 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.602e-05/0.4405, allocations: 3.844 kB / 0.5939 GB, free: 15.22 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.689e-05/0.4406, allocations: 18.59 kB / 0.5939 GB, free: 15.2 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.4406, allocations: 0.75 kB / 0.5939 GB, free: 15.2 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.585e-05/0.4406, allocations: 5.562 kB / 0.5939 GB, free: 15.2 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.4406, allocations: 0.7031 kB / 0.5939 GB, free: 15.2 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002402/0.4431, allocations: 1.104 MB / 0.595 GB, free: 14.31 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.686e-06/0.4431, allocations: 1.062 kB / 0.595 GB, free: 14.31 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008069/0.4439, allocations: 120.8 kB / 0.5951 GB, free: 14.25 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.581e-06/0.4439, allocations: 3.938 kB / 0.5951 GB, free: 14.25 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.232e-05/0.444, allocations: 25.48 kB / 0.5951 GB, free: 14.23 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.444, allocations: 1.016 kB / 0.5951 GB, free: 14.23 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.444, allocations: 1.781 kB / 0.5951 GB, free: 14.23 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00239/0.4464, allocations: 0.8685 MB / 0.596 GB, free: 13.73 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001479/0.4465, allocations: 121 kB / 0.5961 GB, free: 13.61 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.86e-05/0.4466, allocations: 1.312 kB / 0.5961 GB, free: 13.61 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006948/0.4473, allocations: 68.92 kB / 0.5962 GB, free: 13.57 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.531e-05/0.4474, allocations: 26.36 kB / 0.5962 GB, free: 13.55 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.31e-05/0.4475, allocations: 23.25 kB / 0.5962 GB, free: 13.54 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.603e-05/0.4475, allocations: 82.06 kB / 0.5963 GB, free: 13.46 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4475, allocations: 0 / 0.5963 GB, free: 13.46 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004171/0.448, allocations: 59.52 kB / 0.5963 GB, free: 13.45 MB / 446.1 MB 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.0002254/0.4482, allocations: 102.5 kB / 0.5964 GB, free: 13.36 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001462/0.4497, allocations: 479.1 kB / 0.5969 GB, free: 13.14 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.4497, allocations: 1.25 kB / 0.5969 GB, free: 13.14 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007208/0.4504, allocations: 250.4 kB / 0.5971 GB, free: 13.03 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003483/0.4508, allocations: 12.25 kB / 0.5972 GB, free: 13.02 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004287/0.4551, allocations: 0.8946 MB / 0.598 GB, free: 12.45 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002665/0.4554, allocations: 0.6911 MB / 0.5987 GB, free: 11.75 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000394/0.4558, allocations: 85.38 kB / 0.5988 GB, free: 11.68 MB / 446.1 MB Notification: Performance of SimCode: time 7.11e-07/0.4558, allocations: 0 / 0.5988 GB, free: 11.68 MB / 446.1 MB Notification: Performance of Templates: time 0.006328/0.4621, allocations: 3.788 MB / 0.6025 GB, free: 9.645 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.makefile make -j1 -f IDEAS_IDEAS.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 OMCppIDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_CheckCalcHelperMain.o OMCppIDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_CheckCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_CheckCalcHelperMain.o] Error 1