Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.Polynomial.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.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.Polynomial") translateModel(BuildingSystems.Utilities.Math.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.Polynomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009849/0.0009849, 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.0009649/0.0009647, allocations: 186.5 kB / 16.92 MB, free: 6.77 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.35/1.35, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001796/0.001797, allocations: 266.5 kB / 292.3 MB, free: 1.875 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9447/0.9447, allocations: 169.5 MB / 0.501 GB, free: 14.12 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004258/0.0004257, allocations: 23.61 kB / 0.5993 GB, free: 28.1 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1885/0.189, allocations: 88.54 MB / 0.6858 GB, free: 15.08 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Polynomial): time 0.001672/0.1907, allocations: 1.161 MB / 0.6869 GB, free: 13.91 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003384/0.191, allocations: 88.64 kB / 0.687 GB, free: 13.82 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.224e-05/0.1911, allocations: 0 / 0.687 GB, free: 13.82 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 5.037e-05/0.1911, allocations: 6.656 kB / 0.687 GB, free: 13.81 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.576e-05/0.1912, allocations: 4 kB / 0.687 GB, free: 13.81 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000215/0.1914, allocations: 15.98 kB / 0.687 GB, free: 13.79 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.361e-05/0.1915, allocations: 19.92 kB / 0.687 GB, free: 13.77 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.156e-05/0.1916, allocations: 8 kB / 0.687 GB, free: 13.77 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.874e-05/0.1916, allocations: 9.5 kB / 0.687 GB, free: 13.76 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.374e-05/0.1917, allocations: 11.97 kB / 0.6871 GB, free: 13.75 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.076e-05/0.1917, allocations: 0 / 0.6871 GB, free: 13.75 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001053/0.1918, allocations: 23.92 kB / 0.6871 GB, free: 13.72 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.448e-05/0.1918, allocations: 13.98 kB / 0.6871 GB, free: 13.71 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.641e-05/0.1919, allocations: 29.64 kB / 0.6871 GB, free: 13.68 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 8.322e-05/0.192, allocations: 23.97 kB / 0.6871 GB, free: 13.65 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.192, allocations: 0 / 0.6871 GB, free: 13.65 MB / 494.1 MB Notification: Performance of FrontEnd: time 9.01e-07/0.192, allocations: 0 / 0.6871 GB, free: 13.65 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.268e-06/0.192, allocations: 0 / 0.6871 GB, free: 13.65 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.000442/0.1925, allocations: 349.7 kB / 0.6875 GB, free: 13.26 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.1925, allocations: 8.031 kB / 0.6875 GB, free: 13.25 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.185e-05/0.1925, allocations: 12.31 kB / 0.6875 GB, free: 13.25 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001166/0.1927, allocations: 160.4 kB / 0.6877 GB, free: 13.05 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.12e-05/0.1927, allocations: 4.312 kB / 0.6877 GB, free: 13.05 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.034e-05/0.1927, allocations: 4.375 kB / 0.6877 GB, free: 13.04 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001859/0.1929, allocations: 58.22 kB / 0.6877 GB, free: 12.98 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.703e-06/0.1929, allocations: 192 / 0.6877 GB, free: 12.98 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.056e-05/0.1929, allocations: 4.812 kB / 0.6877 GB, free: 12.98 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.561e-06/0.1929, allocations: 0 / 0.6877 GB, free: 12.98 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001898/0.1931, allocations: 54.02 kB / 0.6878 GB, free: 12.93 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003578/0.1935, allocations: 258.4 kB / 0.688 GB, free: 12.62 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001298/0.1936, allocations: 48.56 kB / 0.6881 GB, free: 12.57 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.813e-05/0.1937, allocations: 33.53 kB / 0.6881 GB, free: 12.54 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.709e-05/0.1938, allocations: 7.984 kB / 0.6881 GB, free: 12.53 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.725e-05/0.1938, allocations: 34.5 kB / 0.6881 GB, free: 12.48 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.1938, allocations: 0 / 0.6881 GB, free: 12.48 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003744/0.1942, allocations: 101.6 kB / 0.6882 GB, free: 12.38 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.596e-05/0.1943, allocations: 55.41 kB / 0.6883 GB, free: 12.31 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.372e-05/0.1944, allocations: 109.8 kB / 0.6884 GB, free: 12.2 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.443e-05/0.1944, allocations: 25.7 kB / 0.6884 GB, free: 12.16 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.84e-05/0.1944, allocations: 80.14 kB / 0.6885 GB, free: 12.08 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.496e-05/0.1945, allocations: 11.84 kB / 0.6885 GB, free: 12.07 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.094e-05/0.1945, allocations: 21.78 kB / 0.6885 GB, free: 12.04 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001227/0.1946, allocations: 310.8 kB / 0.6888 GB, free: 11.73 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.411e-05/0.1947, allocations: 27.97 kB / 0.6888 GB, free: 11.7 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.868e-05/0.1948, allocations: 19.98 kB / 0.6889 GB, free: 11.68 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001664/0.195, allocations: 60.81 kB / 0.6889 GB, free: 11.62 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.195, allocations: 4 kB / 0.6889 GB, free: 11.62 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002061/0.1952, allocations: 77.61 kB / 0.689 GB, free: 11.54 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.1952, allocations: 8 kB / 0.689 GB, free: 11.53 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.1953, allocations: 0 / 0.689 GB, free: 11.53 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/0.1953, allocations: 3.984 kB / 0.689 GB, free: 11.52 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.747e-05/0.1954, allocations: 8.25 kB / 0.689 GB, free: 11.52 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.1954, allocations: 0 / 0.689 GB, free: 11.52 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.343e-05/0.1955, allocations: 20.02 kB / 0.689 GB, free: 11.5 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.37e-06/0.1955, allocations: 0 / 0.689 GB, free: 11.5 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 9.512e-05/0.1956, allocations: 115.1 kB / 0.6892 GB, free: 11.38 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.486e-05/0.1956, allocations: 7.906 kB / 0.6892 GB, free: 11.37 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002857/0.1959, allocations: 93.11 kB / 0.6892 GB, free: 11.27 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.1959, allocations: 0 / 0.6892 GB, free: 11.27 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.1959, allocations: 0 / 0.6892 GB, free: 11.27 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.1959, allocations: 0 / 0.6892 GB, free: 11.27 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001688/0.1961, allocations: 165.6 kB / 0.6894 GB, free: 11.06 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.1961, allocations: 0 / 0.6894 GB, free: 11.06 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.579e-05/0.1962, allocations: 11.98 kB / 0.6894 GB, free: 11.05 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.285e-06/0.1962, allocations: 3.938 kB / 0.6894 GB, free: 11.04 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.351e-06/0.1962, allocations: 4.031 kB / 0.6894 GB, free: 11.04 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.1962, allocations: 0 / 0.6894 GB, free: 11.04 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.1962, allocations: 0 / 0.6894 GB, free: 11.04 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002584/0.1965, allocations: 183.4 kB / 0.6896 GB, free: 10.84 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.702e-05/0.1965, allocations: 85.09 kB / 0.6897 GB, free: 10.74 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.05e-05/0.1965, allocations: 0 / 0.6897 GB, free: 10.74 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.186e-05/0.1966, allocations: 4 kB / 0.6897 GB, free: 10.74 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.557e-05/0.1967, allocations: 7.984 kB / 0.6897 GB, free: 10.73 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.496e-06/0.1967, allocations: 0 / 0.6897 GB, free: 10.73 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.384e-05/0.1967, allocations: 83.28 kB / 0.6898 GB, free: 10.65 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1967, allocations: 0 / 0.6898 GB, free: 10.65 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002176/0.197, allocations: 12.03 kB / 0.6898 GB, free: 10.64 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.0001522/0.1971, allocations: 107.2 kB / 0.6899 GB, free: 10.52 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002123/0.1973, allocations: 43.97 kB / 0.6899 GB, free: 10.48 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.1973, allocations: 8.062 kB / 0.6899 GB, free: 10.47 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 9.403e-05/0.1974, allocations: 31.91 kB / 0.69 GB, free: 10.44 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002698/0.1977, allocations: 7.703 kB / 0.69 GB, free: 10.44 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003071/0.198, allocations: 146.3 kB / 0.6901 GB, free: 10.27 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002817/0.1983, allocations: 0.6888 MB / 0.6908 GB, free: 9.551 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.161e-05/0.1984, allocations: 7.438 kB / 0.6908 GB, free: 9.543 MB / 494.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1984, allocations: 0 / 0.6908 GB, free: 9.543 MB / 494.1 MB Notification: Performance of Templates: time 0.002141/0.2005, allocations: 0.651 MB / 0.6914 GB, free: 8.895 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Polynomial.makefile make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Polynomial.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.PolynomialCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Utilities.Math.Examples.PolynomialCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Utilities.Math.Examples.PolynomialCalcHelperMain.o] Error 1