Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") translateModel(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001206/0.001206, allocations: 99.36 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.001213/0.001213, allocations: 175.1 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.463/1.463, allocations: 223.2 MB / 240.6 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.004/1.004, allocations: 135.3 MB / 427 MB, free: 14.3 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003496/0.0003497, allocations: 8.719 kB / 0.5076 GB, free: 5.246 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1946/0.195, allocations: 82.32 MB / 0.588 GB, free: 3.098 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.0007593/0.1958, allocations: 319 kB / 0.5883 GB, free: 2.781 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002162/0.1979, allocations: 1.39 MB / 0.5897 GB, free: 1.375 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.663e-05/0.198, allocations: 0 / 0.5897 GB, free: 1.375 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.278e-05/0.198, allocations: 0 / 0.5897 GB, free: 1.375 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.445e-05/0.198, allocations: 0 / 0.5897 GB, free: 1.375 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004541/0.1985, allocations: 112.3 kB / 0.5898 GB, free: 1.266 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.957e-05/0.1986, allocations: 23.91 kB / 0.5898 GB, free: 1.242 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.467e-05/0.1986, allocations: 3.984 kB / 0.5898 GB, free: 1.238 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.425e-05/0.1987, allocations: 16 kB / 0.5898 GB, free: 1.223 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.617e-05/0.1988, allocations: 23.89 kB / 0.5898 GB, free: 1.199 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2e-05/0.1988, allocations: 4 kB / 0.5898 GB, free: 1.195 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004757/0.1993, allocations: 311.4 kB / 0.5901 GB, free: 0.8906 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.496e-05/0.1993, allocations: 4 kB / 0.5901 GB, free: 0.8867 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.676e-05/0.1994, allocations: 29.69 kB / 0.5902 GB, free: 0.8516 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002278/0.1996, allocations: 127.9 kB / 0.5903 GB, free: 0.7266 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.935e-06/0.1996, allocations: 0 / 0.5903 GB, free: 0.7266 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.1996, allocations: 7.938 kB / 0.5903 GB, free: 0.7188 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.699e-06/0.1996, allocations: 0 / 0.5903 GB, free: 0.7188 MB / 494.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.0005368/0.2002, allocations: 363.5 kB / 0.5906 GB, free: 324 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.367e-05/0.2002, allocations: 8.031 kB / 0.5907 GB, free: 316 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004491/0.2007, allocations: 79.92 kB / 0.5907 GB, free: 236 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001611/0.2009, allocations: 167 kB / 0.5909 GB, free: 28 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.574e-05/0.2009, allocations: 4 kB / 0.5909 GB, free: 24 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.238e-05/0.2009, allocations: 4 kB / 0.5909 GB, free: 20 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002657/0.2012, allocations: 77.64 kB / 0.591 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.124e-06/0.2012, allocations: 4 kB / 0.591 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.389e-05/0.2012, allocations: 4 kB / 0.591 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.2012, allocations: 3.984 kB / 0.591 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002798/0.2015, allocations: 71.94 kB / 0.5911 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002199/0.2018, allocations: 173.6 kB / 0.5912 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006333/0.2024, allocations: 146.5 kB / 0.5914 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001456/0.2026, allocations: 48.86 kB / 0.5914 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004399/0.203, allocations: 177 kB / 0.5916 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.338e-05/0.203, allocations: 30.56 kB / 0.5916 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.123e-06/0.2031, allocations: 4 kB / 0.5916 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5): time 0.001116/0.2042, allocations: 438.2 kB / 0.592 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001088/0.2043, allocations: 55.39 kB / 0.5921 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.952e-05/0.2044, allocations: 97.86 kB / 0.5922 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.174e-05/0.2044, allocations: 25.7 kB / 0.5922 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.08e-05/0.2044, allocations: 84.08 kB / 0.5923 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000105/0.2045, allocations: 19.75 kB / 0.5923 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.802e-06/0.2046, allocations: 0 / 0.5923 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002409/0.2048, allocations: 318.9 kB / 0.5926 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000143/0.205, allocations: 43.97 kB / 0.5926 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001326/0.2051, allocations: 43.97 kB / 0.5927 GB, free: 14 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001389/0.2052, allocations: 39.97 kB / 0.5927 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.2053, allocations: 4 kB / 0.5927 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003381/0.2056, allocations: 125.5 kB / 0.5928 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/0.2056, allocations: 8 kB / 0.5929 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.219e-06/0.2056, allocations: 0 / 0.5929 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.2057, allocations: 0 / 0.5929 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000138/0.2058, allocations: 27.97 kB / 0.5929 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.2058, allocations: 7.938 kB / 0.5929 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.771e-05/0.2059, allocations: 15.98 kB / 0.5929 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.648e-06/0.2059, allocations: 336 / 0.5929 GB, free: 13.77 MB / 0.4981 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 0.0001067/0.206, allocations: 117.8 kB / 0.593 GB, free: 13.65 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.181e-05/0.2061, allocations: 0 / 0.593 GB, free: 13.65 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004421/0.2065, allocations: 145.2 kB / 0.5932 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.2065, allocations: 3.984 kB / 0.5932 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.2065, allocations: 4 kB / 0.5932 GB, free: 13.49 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.2065, allocations: 0 / 0.5932 GB, free: 13.49 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001585/0.2067, allocations: 173.6 kB / 0.5933 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.2067, allocations: 320 / 0.5933 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001501/0.2069, allocations: 35.91 kB / 0.5934 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.496e-06/0.2069, allocations: 0 / 0.5934 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.079e-05/0.2069, allocations: 3.938 kB / 0.5934 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.2069, allocations: 0 / 0.5934 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.2069, allocations: 4 kB / 0.5934 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000557/0.2075, allocations: 212.9 kB / 0.5936 GB, free: 13 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.055e-05/0.2076, allocations: 81.09 kB / 0.5936 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.972e-05/0.2076, allocations: 3.938 kB / 0.5937 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001077/0.2077, allocations: 20 kB / 0.5937 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.077e-05/0.2077, allocations: 8 kB / 0.5937 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.744e-06/0.2078, allocations: 0 / 0.5937 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.163e-05/0.2078, allocations: 83.34 kB / 0.5938 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9.1e-08/0.2078, allocations: 0 / 0.5938 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.00026/0.2081, allocations: 31.98 kB / 0.5938 GB, free: 12.76 MB / 0.4981 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.000268/0.2084, allocations: 131.2 kB / 0.5939 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003927/0.2088, allocations: 100 kB / 0.594 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.2088, allocations: 0 / 0.594 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001534/0.2089, allocations: 47.97 kB / 0.5941 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001721/0.2091, allocations: 11.94 kB / 0.5941 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006564/0.2098, allocations: 230.3 kB / 0.5943 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005762/0.2104, allocations: 0.6809 MB / 0.595 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.505e-05/0.2104, allocations: 11.44 kB / 0.595 GB, free: 11.49 MB / 0.4981 GB Notification: Performance of SimCode: time 2.254e-06/0.2104, allocations: 0 / 0.595 GB, free: 11.49 MB / 0.4981 GB Notification: Performance of Templates: time 0.003392/0.2138, allocations: 1.113 MB / 0.596 GB, free: 10.38 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.makefile make -j1 -f IDEAS_dev_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_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheckCalcHelperMain.o OMCppIDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheckCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheckCalcHelperMain.o] Error 1