Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_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/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.Functions.Examples.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001009/0.001009, 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.001401/0.001401, allocations: 182.9 kB / 16.92 MB, free: 6.672 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.347/1.347, allocations: 223.2 MB / 240.9 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001758/0.001758, allocations: 278.4 kB / 292.3 MB, free: 1.891 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9655/0.9655, allocations: 169.5 MB / 0.501 GB, free: 14.13 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004378/0.0004378, allocations: 14.41 kB / 0.5993 GB, free: 28.27 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1855/0.1859, allocations: 88.54 MB / 0.6858 GB, free: 15.09 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.0008272/0.1868, allocations: 353.7 kB / 0.6861 GB, free: 14.74 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007368/0.1876, allocations: 371.9 kB / 0.6865 GB, free: 14.38 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.759e-05/0.1876, allocations: 0 / 0.6865 GB, free: 14.38 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.684e-05/0.1876, allocations: 5.219 kB / 0.6865 GB, free: 14.38 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.433e-05/0.1877, allocations: 0 / 0.6865 GB, free: 14.38 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003837/0.188, allocations: 89.94 kB / 0.6866 GB, free: 14.29 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.418e-05/0.1881, allocations: 16 kB / 0.6866 GB, free: 14.27 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.001e-05/0.1882, allocations: 4.484 kB / 0.6866 GB, free: 14.27 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.17e-05/0.1882, allocations: 17.06 kB / 0.6866 GB, free: 14.25 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.277e-05/0.1883, allocations: 11.92 kB / 0.6866 GB, free: 14.24 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.833e-05/0.1883, allocations: 4 kB / 0.6866 GB, free: 14.24 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003755/0.1887, allocations: 276.2 kB / 0.6869 GB, free: 13.97 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.687e-05/0.1887, allocations: 7.984 kB / 0.6869 GB, free: 13.96 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.897e-05/0.1887, allocations: 34.95 kB / 0.6869 GB, free: 13.92 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001378/0.1889, allocations: 63.89 kB / 0.687 GB, free: 13.86 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.1889, allocations: 0 / 0.687 GB, free: 13.86 MB / 494.1 MB Notification: Performance of FrontEnd: time 4.939e-06/0.1889, allocations: 5.375 kB / 0.687 GB, free: 13.86 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.045e-06/0.1889, allocations: 0 / 0.687 GB, free: 13.86 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004102/0.1893, allocations: 353.2 kB / 0.6873 GB, free: 13.46 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.1894, allocations: 12.03 kB / 0.6873 GB, free: 13.45 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.846e-05/0.1895, allocations: 4.844 kB / 0.6873 GB, free: 13.45 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001301/0.1896, allocations: 164.4 kB / 0.6875 GB, free: 13.25 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.141e-05/0.1896, allocations: 3.375 kB / 0.6875 GB, free: 13.25 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.683e-05/0.1896, allocations: 8.375 kB / 0.6875 GB, free: 13.24 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001267/0.1898, allocations: 58.2 kB / 0.6876 GB, free: 13.18 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.1898, allocations: 4.125 kB / 0.6876 GB, free: 13.17 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.144e-05/0.1898, allocations: 7.875 kB / 0.6876 GB, free: 13.16 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.1898, allocations: 0 / 0.6876 GB, free: 13.16 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.11e-05/0.1899, allocations: 23.98 kB / 0.6876 GB, free: 13.14 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001752/0.1901, allocations: 162.4 kB / 0.6877 GB, free: 12.93 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001117/0.1902, allocations: 56.47 kB / 0.6878 GB, free: 12.87 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.602e-05/0.1902, allocations: 28.84 kB / 0.6878 GB, free: 12.84 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006678/0.1909, allocations: 465.3 kB / 0.6883 GB, free: 12.3 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.662e-05/0.191, allocations: 34.5 kB / 0.6883 GB, free: 12.25 MB / 494.1 MB Notification: Performance of pre-optimization done (n=7): time 1.153e-06/0.191, allocations: 6.062 kB / 0.6883 GB, free: 12.25 MB / 494.1 MB Notification: Performance of matching and sorting (n=11): time 0.001215/0.1922, allocations: 0.5923 MB / 0.6889 GB, free: 11.57 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.369e-05/0.1922, allocations: 53.22 kB / 0.6889 GB, free: 11.5 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.636e-05/0.1923, allocations: 101.8 kB / 0.689 GB, free: 11.39 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.92e-05/0.1923, allocations: 29.69 kB / 0.6891 GB, free: 11.36 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.316e-05/0.1924, allocations: 81.02 kB / 0.6891 GB, free: 11.28 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.061e-05/0.1924, allocations: 35.47 kB / 0.6892 GB, free: 11.24 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.824e-05/0.1925, allocations: 18.42 kB / 0.6892 GB, free: 11.22 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001088/0.1926, allocations: 320.1 kB / 0.6895 GB, free: 10.9 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.212e-05/0.1926, allocations: 23.98 kB / 0.6895 GB, free: 10.88 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.545e-05/0.1927, allocations: 21.11 kB / 0.6895 GB, free: 10.86 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.852e-05/0.1928, allocations: 60.27 kB / 0.6896 GB, free: 10.8 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.92e-07/0.1928, allocations: 0 / 0.6896 GB, free: 10.8 MB / 494.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001531/0.1929, allocations: 102.1 kB / 0.6897 GB, free: 10.69 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.193, allocations: 9.703 kB / 0.6897 GB, free: 10.68 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.319e-06/0.193, allocations: 4 kB / 0.6897 GB, free: 10.68 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.153e-05/0.193, allocations: 0 / 0.6897 GB, free: 10.68 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.677e-05/0.1931, allocations: 20 kB / 0.6897 GB, free: 10.66 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.1931, allocations: 0 / 0.6897 GB, free: 10.66 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.713e-05/0.1931, allocations: 4 kB / 0.6897 GB, free: 10.66 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.798e-06/0.1932, allocations: 11.92 kB / 0.6897 GB, free: 10.64 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 (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 8.541e-05/0.1932, allocations: 115.1 kB / 0.6899 GB, free: 10.52 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.694e-05/0.1933, allocations: 7.938 kB / 0.6899 GB, free: 10.52 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001776/0.1935, allocations: 105.6 kB / 0.69 GB, free: 10.41 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.1935, allocations: 0 / 0.69 GB, free: 10.41 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.399e-06/0.1935, allocations: 0 / 0.69 GB, free: 10.41 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.1935, allocations: 3.984 kB / 0.69 GB, free: 10.4 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003825/0.1939, allocations: 358.4 kB / 0.6903 GB, free: 9.996 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.1939, allocations: 0 / 0.6903 GB, free: 9.996 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.664e-05/0.194, allocations: 16.19 kB / 0.6903 GB, free: 9.98 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.939e-06/0.194, allocations: 4 kB / 0.6903 GB, free: 9.977 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.967e-06/0.194, allocations: 4 kB / 0.6903 GB, free: 9.973 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.856e-06/0.194, allocations: 8 kB / 0.6903 GB, free: 9.965 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.194, allocations: 7.969 kB / 0.6903 GB, free: 9.957 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002461/0.1943, allocations: 223.2 kB / 0.6906 GB, free: 9.723 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.103e-05/0.1944, allocations: 92.97 kB / 0.6906 GB, free: 9.613 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.476e-05/0.1944, allocations: 4 kB / 0.6907 GB, free: 9.609 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.241e-05/0.1945, allocations: 0 / 0.6907 GB, free: 9.609 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.844e-05/0.1945, allocations: 7.984 kB / 0.6907 GB, free: 9.602 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.614e-06/0.1945, allocations: 4 kB / 0.6907 GB, free: 9.598 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.539e-05/0.1945, allocations: 87.34 kB / 0.6907 GB, free: 9.512 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1945, allocations: 0 / 0.6907 GB, free: 9.512 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000256/0.1948, allocations: 47.98 kB / 0.6908 GB, free: 9.465 MB / 494.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.000234/0.195, allocations: 139.2 kB / 0.6909 GB, free: 9.32 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001345/0.1952, allocations: 68.3 kB / 0.691 GB, free: 9.254 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.1952, allocations: 0 / 0.691 GB, free: 9.254 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 4.469e-05/0.1952, allocations: 31.92 kB / 0.691 GB, free: 9.223 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002179/0.1955, allocations: 14.47 kB / 0.691 GB, free: 9.211 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003441/0.1958, allocations: 224.5 kB / 0.6912 GB, free: 8.961 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002533/0.1961, allocations: 0.6887 MB / 0.6919 GB, free: 8.246 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.007e-05/0.1961, allocations: 15.44 kB / 0.6919 GB, free: 8.23 MB / 494.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1961, allocations: 0 / 0.6919 GB, free: 8.23 MB / 494.1 MB Notification: Performance of Templates: time 0.002758/0.1989, allocations: 1.198 MB / 0.6931 GB, free: 7.039 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.makefile make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_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 OMCppBuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_CheckCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_CheckCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_CheckCalcHelperMain.o] Error 1