Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower.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.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower") translateModel(BuildingSystems.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009607/0.0009609, allocations: 98.88 kB / 16.02 MB, free: 72 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.001325/0.001325, allocations: 182.5 kB / 16.92 MB, free: 6.918 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.327/1.327, allocations: 223.2 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001943/0.001943, allocations: 263 kB / 292.3 MB, free: 1.887 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9199/0.9199, allocations: 169.5 MB / 0.501 GB, free: 14.15 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004555/0.0004555, allocations: 20.33 kB / 0.5993 GB, free: 28.04 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1882/0.1887, allocations: 88.54 MB / 0.6858 GB, free: 15.1 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.RegNonZeroPower): time 0.001552/0.1902, allocations: 1.158 MB / 0.6869 GB, free: 13.93 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007282/0.191, allocations: 408.1 kB / 0.6873 GB, free: 13.53 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.119e-05/0.191, allocations: 0.75 kB / 0.6873 GB, free: 13.53 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 4.154e-05/0.1911, allocations: 3.984 kB / 0.6873 GB, free: 13.53 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.413e-05/0.1911, allocations: 9.125 kB / 0.6873 GB, free: 13.52 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003278/0.1915, allocations: 77.8 kB / 0.6874 GB, free: 13.45 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.689e-05/0.1915, allocations: 19.94 kB / 0.6874 GB, free: 13.43 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.998e-05/0.1916, allocations: 7.984 kB / 0.6874 GB, free: 13.42 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.445e-05/0.1917, allocations: 13.25 kB / 0.6874 GB, free: 13.41 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.022e-05/0.1917, allocations: 11.92 kB / 0.6874 GB, free: 13.39 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.144e-05/0.1917, allocations: 0 / 0.6874 GB, free: 13.39 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003604/0.1921, allocations: 271.7 kB / 0.6877 GB, free: 13.13 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.326e-05/0.1921, allocations: 5.547 kB / 0.6877 GB, free: 13.12 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.536e-05/0.1922, allocations: 33.64 kB / 0.6877 GB, free: 13.09 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001938/0.1924, allocations: 72.14 kB / 0.6878 GB, free: 13.02 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.1924, allocations: 0 / 0.6878 GB, free: 13.02 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.385e-06/0.1924, allocations: 2.875 kB / 0.6878 GB, free: 13.02 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.359e-06/0.1924, allocations: 3.938 kB / 0.6878 GB, free: 13.01 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.0004596/0.1929, allocations: 363.5 kB / 0.6881 GB, free: 12.61 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.606e-05/0.1929, allocations: 8.031 kB / 0.6882 GB, free: 12.6 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.672e-05/0.193, allocations: 9.344 kB / 0.6882 GB, free: 12.59 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001064/0.1931, allocations: 164.9 kB / 0.6883 GB, free: 12.39 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.318e-05/0.1931, allocations: 8.375 kB / 0.6883 GB, free: 12.38 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.606e-06/0.1931, allocations: 0.875 kB / 0.6883 GB, free: 12.38 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001843/0.1933, allocations: 60.83 kB / 0.6884 GB, free: 12.32 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.643e-06/0.1933, allocations: 192 / 0.6884 GB, free: 12.32 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.312e-05/0.1934, allocations: 3.938 kB / 0.6884 GB, free: 12.32 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.1934, allocations: 3.938 kB / 0.6884 GB, free: 12.31 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001704/0.1935, allocations: 46.44 kB / 0.6884 GB, free: 12.27 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003251/0.1939, allocations: 259.9 kB / 0.6887 GB, free: 11.97 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001257/0.194, allocations: 42.5 kB / 0.6887 GB, free: 11.92 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001002/0.1941, allocations: 34.89 kB / 0.6888 GB, free: 11.88 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006653/0.1948, allocations: 464.3 kB / 0.6892 GB, free: 11.34 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.085e-05/0.1948, allocations: 31.88 kB / 0.6892 GB, free: 11.3 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.1948, allocations: 0 / 0.6892 GB, free: 11.3 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003832/0.1952, allocations: 102.4 kB / 0.6893 GB, free: 11.2 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.939e-05/0.1953, allocations: 51.41 kB / 0.6894 GB, free: 11.13 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.258e-05/0.1954, allocations: 105.8 kB / 0.6895 GB, free: 11.02 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.524e-05/0.1954, allocations: 25.7 kB / 0.6895 GB, free: 10.99 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.22e-05/0.1955, allocations: 84.27 kB / 0.6896 GB, free: 10.9 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.191e-05/0.1955, allocations: 15.89 kB / 0.6896 GB, free: 10.89 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.198e-05/0.1956, allocations: 9.719 kB / 0.6896 GB, free: 10.87 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001037/0.1957, allocations: 310.8 kB / 0.6899 GB, free: 10.56 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.871e-05/0.1958, allocations: 27.92 kB / 0.6899 GB, free: 10.53 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.729e-05/0.1959, allocations: 19.98 kB / 0.69 GB, free: 10.51 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001691/0.196, allocations: 56.81 kB / 0.69 GB, free: 10.45 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.196, allocations: 0 / 0.69 GB, free: 10.45 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002148/0.1963, allocations: 81.66 kB / 0.6901 GB, free: 10.37 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.1963, allocations: 4 kB / 0.6901 GB, free: 10.36 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.1963, allocations: 0 / 0.6901 GB, free: 10.36 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.1963, allocations: 4 kB / 0.6901 GB, free: 10.36 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.067e-05/0.1964, allocations: 8 kB / 0.6901 GB, free: 10.35 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.079e-06/0.1964, allocations: 4.031 kB / 0.6901 GB, free: 10.35 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.873e-05/0.1965, allocations: 7.984 kB / 0.6901 GB, free: 10.34 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.715e-06/0.1965, allocations: 4 kB / 0.6901 GB, free: 10.34 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 7.893e-05/0.1966, allocations: 119 kB / 0.6902 GB, free: 10.21 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.591e-05/0.1966, allocations: 3.906 kB / 0.6902 GB, free: 10.21 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002541/0.1969, allocations: 93.16 kB / 0.6903 GB, free: 10.11 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/0.1969, allocations: 0 / 0.6903 GB, free: 10.11 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.1969, allocations: 3.938 kB / 0.6903 GB, free: 10.11 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.1969, allocations: 0 / 0.6903 GB, free: 10.11 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001595/0.1971, allocations: 165.5 kB / 0.6905 GB, free: 9.895 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.1971, allocations: 0 / 0.6905 GB, free: 9.895 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.074e-05/0.1971, allocations: 20.02 kB / 0.6905 GB, free: 9.875 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.1971, allocations: 3.984 kB / 0.6905 GB, free: 9.871 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.291e-06/0.1972, allocations: 0 / 0.6905 GB, free: 9.871 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.1972, allocations: 0 / 0.6905 GB, free: 9.871 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.1972, allocations: 0 / 0.6905 GB, free: 9.871 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003087/0.1975, allocations: 183.4 kB / 0.6907 GB, free: 9.676 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.313e-05/0.1975, allocations: 77.11 kB / 0.6908 GB, free: 9.582 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.303e-05/0.1975, allocations: 4.234 kB / 0.6908 GB, free: 9.578 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.536e-05/0.1976, allocations: 12 kB / 0.6908 GB, free: 9.566 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.505e-05/0.1977, allocations: 3.984 kB / 0.6908 GB, free: 9.562 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.926e-06/0.1977, allocations: 0 / 0.6908 GB, free: 9.562 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001059/0.1978, allocations: 87.31 kB / 0.6909 GB, free: 9.477 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1978, allocations: 4 kB / 0.6909 GB, free: 9.473 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002214/0.198, allocations: 12 kB / 0.6909 GB, free: 9.461 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.0001567/0.1982, allocations: 111.2 kB / 0.691 GB, free: 9.344 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002249/0.1984, allocations: 51.91 kB / 0.691 GB, free: 9.293 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.1984, allocations: 0 / 0.691 GB, free: 9.293 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 9.117e-05/0.1985, allocations: 23.98 kB / 0.691 GB, free: 9.27 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002828/0.1988, allocations: 11.92 kB / 0.6911 GB, free: 9.258 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002804/0.1991, allocations: 142.5 kB / 0.6912 GB, free: 9.09 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002566/0.1994, allocations: 0.677 MB / 0.6919 GB, free: 8.387 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.186e-05/0.1994, allocations: 11.44 kB / 0.6919 GB, free: 8.375 MB / 494.1 MB Notification: Performance of SimCode: time 2.244e-06/0.1994, allocations: 0 / 0.6919 GB, free: 8.375 MB / 494.1 MB Notification: Performance of Templates: time 0.002121/0.2015, allocations: 0.6995 MB / 0.6926 GB, free: 7.684 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower.makefile make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower.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.RegNonZeroPowerCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPowerCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPowerCalcHelperMain.o] Error 1