Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.InverseXRegularized.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.InverseXRegularized") translateModel(BuildingSystems.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.InverseXRegularized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009314/0.0009312, allocations: 97.78 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.001188/0.001188, allocations: 187.3 kB / 16.92 MB, free: 6.75 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.343/1.343, allocations: 223.3 MB / 241 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001784/0.001784, allocations: 266.7 kB / 292.3 MB, free: 1.859 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9348/0.9348, allocations: 169.5 MB / 0.501 GB, free: 14.07 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004346/0.0004348, allocations: 21.59 kB / 0.5993 GB, free: 28.12 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1821/0.1826, allocations: 88.55 MB / 0.6858 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.InverseXRegularized): time 0.001568/0.1842, allocations: 1.157 MB / 0.6869 GB, free: 13.9 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001184/0.1854, allocations: 0.7899 MB / 0.6877 GB, free: 13.11 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.819e-05/0.1854, allocations: 5 kB / 0.6877 GB, free: 13.1 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.827e-05/0.1855, allocations: 3.938 kB / 0.6877 GB, free: 13.1 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.309e-05/0.1855, allocations: 5.547 kB / 0.6877 GB, free: 13.09 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003617/0.1859, allocations: 104.9 kB / 0.6878 GB, free: 12.99 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.954e-05/0.186, allocations: 31.17 kB / 0.6878 GB, free: 12.96 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.023e-05/0.186, allocations: 4 kB / 0.6878 GB, free: 12.96 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.034e-05/0.1861, allocations: 11.98 kB / 0.6878 GB, free: 12.95 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.091e-05/0.1862, allocations: 19.91 kB / 0.6878 GB, free: 12.93 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.266e-05/0.1862, allocations: 4 kB / 0.6879 GB, free: 12.93 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004266/0.1866, allocations: 315.4 kB / 0.6882 GB, free: 12.62 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.45e-05/0.1866, allocations: 3.984 kB / 0.6882 GB, free: 12.61 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.619e-05/0.1867, allocations: 37.62 kB / 0.6882 GB, free: 12.57 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001986/0.1869, allocations: 144.6 kB / 0.6883 GB, free: 12.43 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.1869, allocations: 0.5312 kB / 0.6883 GB, free: 12.43 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.776e-06/0.1869, allocations: 0.5625 kB / 0.6883 GB, free: 12.43 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.657e-06/0.1869, allocations: 3.938 kB / 0.6883 GB, free: 12.43 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004882/0.1874, allocations: 366.2 kB / 0.6887 GB, free: 12.02 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.33e-05/0.1874, allocations: 8.031 kB / 0.6887 GB, free: 12.02 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004557/0.1879, allocations: 90.75 kB / 0.6888 GB, free: 11.93 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001128/0.188, allocations: 168.3 kB / 0.6889 GB, free: 11.73 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.208e-05/0.1881, allocations: 384 / 0.6889 GB, free: 11.73 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.255e-05/0.1881, allocations: 6.656 kB / 0.6889 GB, free: 11.73 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00032/0.1884, allocations: 100.2 kB / 0.689 GB, free: 11.62 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.151e-06/0.1884, allocations: 0 / 0.689 GB, free: 11.62 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.135e-05/0.1884, allocations: 0.5312 kB / 0.689 GB, free: 11.62 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.948e-06/0.1884, allocations: 0 / 0.689 GB, free: 11.62 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004329/0.1889, allocations: 118 kB / 0.6892 GB, free: 11.51 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005159/0.1894, allocations: 300.9 kB / 0.6894 GB, free: 11.17 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004001/0.1898, allocations: 114.4 kB / 0.6896 GB, free: 11.05 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002389/0.1901, allocations: 68.86 kB / 0.6896 GB, free: 10.98 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.434e-05/0.1901, allocations: 0 / 0.6896 GB, free: 10.98 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.263e-05/0.1901, allocations: 30.56 kB / 0.6896 GB, free: 10.94 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 2.184e-06/0.1901, allocations: 3.984 kB / 0.6896 GB, free: 10.93 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0007536/0.1909, allocations: 209.5 kB / 0.6898 GB, free: 10.72 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.317e-05/0.1909, allocations: 55.34 kB / 0.6899 GB, free: 10.66 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.063e-05/0.191, allocations: 101.9 kB / 0.69 GB, free: 10.55 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.29e-05/0.191, allocations: 25.7 kB / 0.69 GB, free: 10.52 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.465e-05/0.1911, allocations: 88.17 kB / 0.6901 GB, free: 10.43 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.154e-05/0.1911, allocations: 15.88 kB / 0.6901 GB, free: 10.41 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.564e-05/0.1911, allocations: 9.719 kB / 0.6901 GB, free: 10.39 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001075/0.1913, allocations: 314.8 kB / 0.6904 GB, free: 10.08 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002279/0.1915, allocations: 59.95 kB / 0.6905 GB, free: 10.02 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002066/0.1917, allocations: 55.95 kB / 0.6905 GB, free: 9.965 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004075/0.1921, allocations: 124.7 kB / 0.6907 GB, free: 9.84 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.1921, allocations: 0 / 0.6907 GB, free: 9.84 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004597/0.1926, allocations: 145.5 kB / 0.6908 GB, free: 9.691 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/0.1926, allocations: 4 kB / 0.6908 GB, free: 9.688 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.526e-06/0.1926, allocations: 4.031 kB / 0.6908 GB, free: 9.684 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.598e-06/0.1926, allocations: 4 kB / 0.6908 GB, free: 9.68 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001577/0.1928, allocations: 23.97 kB / 0.6908 GB, free: 9.656 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.808e-06/0.1928, allocations: 0 / 0.6908 GB, free: 9.656 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000119/0.1929, allocations: 27.97 kB / 0.6909 GB, free: 9.629 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.336e-06/0.193, allocations: 4 kB / 0.6909 GB, free: 9.625 MB / 494.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 (2): * Single equations (assignments): 2 * 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 8.553e-05/0.193, allocations: 115.1 kB / 0.691 GB, free: 9.504 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.57e-05/0.1931, allocations: 4 kB / 0.691 GB, free: 9.5 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.503e-05/0.1931, allocations: 3.125 kB / 0.691 GB, free: 9.496 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.1931, allocations: 0 / 0.691 GB, free: 9.496 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-06/0.1931, allocations: 0 / 0.691 GB, free: 9.496 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.1931, allocations: 4 kB / 0.691 GB, free: 9.492 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001702/0.1933, allocations: 177.7 kB / 0.6912 GB, free: 9.27 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.1933, allocations: 4 kB / 0.6912 GB, free: 9.266 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001391/0.1935, allocations: 27.97 kB / 0.6912 GB, free: 9.238 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.1935, allocations: 0 / 0.6912 GB, free: 9.238 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.245e-06/0.1935, allocations: 0 / 0.6912 GB, free: 9.238 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.1935, allocations: 0 / 0.6912 GB, free: 9.238 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.1935, allocations: 8 kB / 0.6912 GB, free: 9.23 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005268/0.194, allocations: 247.3 kB / 0.6914 GB, free: 8.973 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.119e-05/0.1941, allocations: 77.11 kB / 0.6915 GB, free: 8.879 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.459e-05/0.1941, allocations: 0 / 0.6915 GB, free: 8.879 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001467/0.1943, allocations: 27.97 kB / 0.6915 GB, free: 8.852 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.637e-05/0.1943, allocations: 4 kB / 0.6915 GB, free: 8.848 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.093e-06/0.1943, allocations: 3.984 kB / 0.6915 GB, free: 8.844 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.732e-05/0.1944, allocations: 83.31 kB / 0.6916 GB, free: 8.762 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1944, allocations: 0 / 0.6916 GB, free: 8.762 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002277/0.1946, allocations: 16 kB / 0.6916 GB, free: 8.746 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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.0001493/0.1947, allocations: 107.2 kB / 0.6917 GB, free: 8.629 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0004772/0.1952, allocations: 115.9 kB / 0.6918 GB, free: 8.516 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.1952, allocations: 3.938 kB / 0.6918 GB, free: 8.512 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002274/0.1955, allocations: 67.95 kB / 0.6919 GB, free: 8.445 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002651/0.1957, allocations: 18.11 kB / 0.6919 GB, free: 8.43 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005672/0.1963, allocations: 202.5 kB / 0.6921 GB, free: 8.203 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003068/0.1966, allocations: 0.6887 MB / 0.6928 GB, free: 7.488 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.574e-05/0.1967, allocations: 11.42 kB / 0.6928 GB, free: 7.477 MB / 494.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1967, allocations: 0 / 0.6928 GB, free: 7.477 MB / 494.1 MB Notification: Performance of Templates: time 0.002407/0.1991, allocations: 0.8736 MB / 0.6937 GB, free: 6.609 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.InverseXRegularized.makefile make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.InverseXRegularized.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 OMCppBuildingSystems_BuildingSystems.Utilities.Math.Examples.InverseXRegularizedCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Utilities.Math.Examples.InverseXRegularizedCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Utilities.Math.Examples.InverseXRegularizedCalcHelperMain.o] Error 1