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.0007933/0.0007933, allocations: 97.02 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.0009382/0.0009381, allocations: 181.7 kB / 16.58 MB, free: 6.422 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.392/1.392, allocations: 223.3 MB / 240.6 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7331/0.7331, allocations: 132.3 MB / 424 MB, free: 2.102 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003403/0.0003404, allocations: 12 kB / 0.504 GB, free: 4.23 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4518/0.4521, allocations: 81.57 MB / 0.5837 GB, free: 3.973 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.0007149/0.4529, allocations: 326.7 kB / 0.584 GB, free: 3.754 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001618/0.4545, allocations: 1.39 MB / 0.5853 GB, free: 2.738 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.775e-05/0.4546, allocations: 5.625 kB / 0.5854 GB, free: 2.734 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.059e-05/0.4546, allocations: 0 / 0.5854 GB, free: 2.734 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 2.826e-05/0.4546, allocations: 0 / 0.5854 GB, free: 2.734 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004112/0.455, allocations: 110 kB / 0.5855 GB, free: 2.688 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.809e-05/0.4551, allocations: 23.72 kB / 0.5855 GB, free: 2.68 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.025e-05/0.4552, allocations: 5.859 kB / 0.5855 GB, free: 2.676 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.087e-05/0.4552, allocations: 17.69 kB / 0.5855 GB, free: 2.672 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.733e-05/0.4553, allocations: 22.08 kB / 0.5855 GB, free: 2.668 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.736e-05/0.4554, allocations: 1.188 kB / 0.5855 GB, free: 2.668 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005974/0.456, allocations: 311.9 kB / 0.5858 GB, free: 2.582 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.692e-05/0.456, allocations: 8.453 kB / 0.5858 GB, free: 2.578 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.475e-05/0.456, allocations: 32.11 kB / 0.5859 GB, free: 2.543 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002934/0.4563, allocations: 130 kB / 0.586 GB, free: 2.52 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/0.4563, allocations: 0.8438 kB / 0.586 GB, free: 2.52 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.475e-06/0.4563, allocations: 0 / 0.586 GB, free: 2.52 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.351e-06/0.4563, allocations: 5.094 kB / 0.586 GB, free: 2.516 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.0004926/0.4568, allocations: 361.7 kB / 0.5863 GB, free: 2.141 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.116e-05/0.4569, allocations: 9.906 kB / 0.5863 GB, free: 2.141 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005098/0.4574, allocations: 81.09 kB / 0.5864 GB, free: 2.133 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001106/0.4575, allocations: 165.3 kB / 0.5866 GB, free: 1.934 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.53e-05/0.4576, allocations: 6.062 kB / 0.5866 GB, free: 1.93 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.919e-05/0.4576, allocations: 5.406 kB / 0.5866 GB, free: 1.926 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002909/0.4579, allocations: 78.52 kB / 0.5867 GB, free: 1.891 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.315e-06/0.4579, allocations: 0 / 0.5867 GB, free: 1.891 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.444e-05/0.4579, allocations: 7.984 kB / 0.5867 GB, free: 1.883 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.458, allocations: 1.125 kB / 0.5867 GB, free: 1.883 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003117/0.4583, allocations: 81.67 kB / 0.5868 GB, free: 1.871 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001766/0.4585, allocations: 167.1 kB / 0.5869 GB, free: 1.672 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005956/0.4591, allocations: 143.9 kB / 0.5871 GB, free: 1.629 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001632/0.4592, allocations: 51.84 kB / 0.5871 GB, free: 1.613 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004577/0.4597, allocations: 177.5 kB / 0.5873 GB, free: 1.508 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.884e-05/0.4597, allocations: 31.88 kB / 0.5873 GB, free: 1.469 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.4597, allocations: 0 / 0.5873 GB, free: 1.469 MB / 430.1 MB Notification: Performance of matching and sorting (n=5): time 0.001114/0.4609, allocations: 437 kB / 0.5877 GB, free: 1.184 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.237e-05/0.4609, allocations: 56.16 kB / 0.5878 GB, free: 1.117 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.923e-05/0.461, allocations: 98.27 kB / 0.5879 GB, free: 1.016 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.166e-05/0.461, allocations: 26.36 kB / 0.5879 GB, free: 0.9844 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.595e-05/0.461, allocations: 85.33 kB / 0.588 GB, free: 0.8984 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.17e-05/0.461, allocations: 19.06 kB / 0.588 GB, free: 0.8828 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.843e-06/0.461, allocations: 0 / 0.588 GB, free: 0.8828 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.303e-05/0.4611, allocations: 318.2 kB / 0.5883 GB, free: 0.5664 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001544/0.4613, allocations: 43.14 kB / 0.5883 GB, free: 0.5586 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001406/0.4614, allocations: 41.14 kB / 0.5884 GB, free: 0.5547 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001514/0.4616, allocations: 42.92 kB / 0.5884 GB, free: 0.5469 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.4616, allocations: 0 / 0.5884 GB, free: 0.5469 MB / 430.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003492/0.4619, allocations: 123.9 kB / 0.5885 GB, free: 0.5 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.462, allocations: 5 kB / 0.5885 GB, free: 0.5 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.82e-06/0.462, allocations: 1.375 kB / 0.5885 GB, free: 0.5 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.462, allocations: 4 kB / 0.5885 GB, free: 0.4961 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001406/0.4621, allocations: 29.86 kB / 0.5886 GB, free: 0.4922 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.142e-06/0.4622, allocations: 0.75 kB / 0.5886 GB, free: 0.4922 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.902e-05/0.4622, allocations: 14.16 kB / 0.5886 GB, free: 0.4922 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.224e-05/0.4623, allocations: 7.656 kB / 0.5886 GB, free: 500 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.019e-05/0.4623, allocations: 121.4 kB / 0.5887 GB, free: 372 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.268e-05/0.4624, allocations: 2.453 kB / 0.5887 GB, free: 372 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004539/0.4628, allocations: 144.5 kB / 0.5888 GB, free: 312 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.337e-06/0.4628, allocations: 1.25 kB / 0.5888 GB, free: 312 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/0.4628, allocations: 320 / 0.5888 GB, free: 312 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.4628, allocations: 1.828 kB / 0.5889 GB, free: 312 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001099/0.463, allocations: 177.8 kB / 0.589 GB, free: 100 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.463, allocations: 3.938 kB / 0.589 GB, free: 96 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000146/0.4631, allocations: 29.91 kB / 0.5891 GB, free: 92 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.536e-06/0.4631, allocations: 1.469 kB / 0.5891 GB, free: 92 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.272e-05/0.4631, allocations: 1.656 kB / 0.5891 GB, free: 92 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.4632, allocations: 3.938 kB / 0.5891 GB, free: 88 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.4632, allocations: 1.391 kB / 0.5891 GB, free: 88 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005817/0.4637, allocations: 214.1 kB / 0.5893 GB, free: 15.98 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.729e-05/0.4638, allocations: 85.55 kB / 0.5893 GB, free: 15.89 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.984e-05/0.4639, allocations: 0.6562 kB / 0.5893 GB, free: 15.89 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001205/0.464, allocations: 18.95 kB / 0.5894 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.548e-05/0.464, allocations: 8.797 kB / 0.5894 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.08e-05/0.4641, allocations: 3.469 kB / 0.5894 GB, free: 15.88 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.973e-05/0.4641, allocations: 81.2 kB / 0.5895 GB, free: 15.8 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4641, allocations: 0 / 0.5895 GB, free: 15.8 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002859/0.4644, allocations: 34.91 kB / 0.5895 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 (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.0002358/0.4647, allocations: 126.6 kB / 0.5896 GB, free: 15.69 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003888/0.4651, allocations: 98.17 kB / 0.5897 GB, free: 15.68 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.4651, allocations: 0 / 0.5897 GB, free: 15.68 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001745/0.4652, allocations: 51.16 kB / 0.5898 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.0001725/0.4654, allocations: 16.39 kB / 0.5898 GB, free: 15.66 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006371/0.4661, allocations: 220.2 kB / 0.59 GB, free: 15.5 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002318/0.4663, allocations: 0.6789 MB / 0.5906 GB, free: 14.8 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.644e-05/0.4664, allocations: 14.42 kB / 0.5907 GB, free: 14.79 MB / 446.1 MB Notification: Performance of SimCode: time 2.5e-07/0.4664, allocations: 0 / 0.5907 GB, free: 14.79 MB / 446.1 MB Notification: Performance of Templates: time 0.003317/0.4697, allocations: 1.111 MB / 0.5917 GB, free: 14.71 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++ 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 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