Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite.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.CubicHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000925/0.0009249, allocations: 98.09 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.0009909/0.0009908, allocations: 183.7 kB / 16.92 MB, free: 6.895 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.349/1.349, allocations: 223.3 MB / 241 MB, free: 5.254 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.0017/0.001701, allocations: 274.8 kB / 292.3 MB, free: 1.797 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9278/0.9278, allocations: 169.5 MB / 0.501 GB, free: 14.13 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004376/0.0004376, allocations: 15.47 kB / 0.5993 GB, free: 28.18 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1856/0.1861, allocations: 88.55 MB / 0.6858 GB, free: 15.05 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite): time 0.0007301/0.1869, allocations: 337.3 kB / 0.6861 GB, free: 14.72 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001732/0.1886, allocations: 1.402 MB / 0.6875 GB, free: 13.3 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.309e-05/0.1886, allocations: 4.75 kB / 0.6875 GB, free: 13.3 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 5.409e-05/0.1887, allocations: 0 / 0.6875 GB, free: 13.3 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.718e-05/0.1888, allocations: 4.547 kB / 0.6875 GB, free: 13.3 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004814/0.1892, allocations: 142.2 kB / 0.6876 GB, free: 13.16 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.655e-05/0.1893, allocations: 39.95 kB / 0.6877 GB, free: 13.12 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.008e-05/0.1894, allocations: 3.984 kB / 0.6877 GB, free: 13.12 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.484e-05/0.1894, allocations: 22.55 kB / 0.6877 GB, free: 13.1 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.417e-05/0.1895, allocations: 23.91 kB / 0.6877 GB, free: 13.07 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.369e-05/0.1895, allocations: 4 kB / 0.6877 GB, free: 13.07 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000269/0.1898, allocations: 183.8 kB / 0.6879 GB, free: 12.89 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.236e-05/0.1898, allocations: 15.91 kB / 0.6879 GB, free: 12.88 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 6.257e-05/0.1899, allocations: 53.56 kB / 0.688 GB, free: 12.82 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001678/0.1901, allocations: 120 kB / 0.6881 GB, free: 12.7 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.1901, allocations: 0.625 kB / 0.6881 GB, free: 12.7 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1901, allocations: 0 / 0.6881 GB, free: 12.7 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.396e-06/0.1901, allocations: 5.125 kB / 0.6881 GB, free: 12.7 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.000382/0.1905, allocations: 434.7 kB / 0.6885 GB, free: 12.21 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.792e-05/0.1905, allocations: 12.59 kB / 0.6885 GB, free: 12.2 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.216e-05/0.1906, allocations: 9.531 kB / 0.6885 GB, free: 12.19 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001168/0.1907, allocations: 176.3 kB / 0.6887 GB, free: 11.98 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.248e-05/0.1907, allocations: 2.25 kB / 0.6887 GB, free: 11.98 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.302e-05/0.1907, allocations: 4.375 kB / 0.6887 GB, free: 11.98 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001709/0.1909, allocations: 97.95 kB / 0.6888 GB, free: 11.88 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.229e-06/0.1909, allocations: 4 kB / 0.6888 GB, free: 11.87 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.207e-06/0.1909, allocations: 0.9062 kB / 0.6888 GB, free: 11.87 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-06/0.1909, allocations: 0 / 0.6888 GB, free: 11.87 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.948e-05/0.191, allocations: 59.95 kB / 0.6888 GB, free: 11.81 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001495/0.1912, allocations: 181 kB / 0.689 GB, free: 11.59 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001045/0.1913, allocations: 82.47 kB / 0.6891 GB, free: 11.5 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.82e-05/0.1914, allocations: 68.89 kB / 0.6892 GB, free: 11.43 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.182e-06/0.1914, allocations: 0 / 0.6892 GB, free: 11.43 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.356e-05/0.1914, allocations: 34.5 kB / 0.6892 GB, free: 11.39 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 7.81e-07/0.1914, allocations: 0.5938 kB / 0.6892 GB, free: 11.39 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003738/0.1918, allocations: 251.8 kB / 0.6894 GB, free: 11.13 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.858e-05/0.1919, allocations: 91.47 kB / 0.6895 GB, free: 11.02 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001183/0.192, allocations: 140.4 kB / 0.6896 GB, free: 10.88 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.641e-05/0.192, allocations: 33.7 kB / 0.6897 GB, free: 10.84 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.397e-05/0.1921, allocations: 96.03 kB / 0.6898 GB, free: 10.74 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.045e-05/0.1921, allocations: 3.906 kB / 0.6898 GB, free: 10.74 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.09e-05/0.1921, allocations: 25.7 kB / 0.6898 GB, free: 10.71 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001045/0.1923, allocations: 315.6 kB / 0.6901 GB, free: 10.39 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001221/0.1924, allocations: 106.7 kB / 0.6902 GB, free: 10.29 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001041/0.1925, allocations: 99.94 kB / 0.6903 GB, free: 10.19 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002532/0.1928, allocations: 281.8 kB / 0.6906 GB, free: 9.895 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.1928, allocations: 0 / 0.6906 GB, free: 9.895 MB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000343/0.1931, allocations: 320.9 kB / 0.6909 GB, free: 9.562 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.6e-05/0.1932, allocations: 71.39 kB / 0.6909 GB, free: 9.48 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.1932, allocations: 0 / 0.6909 GB, free: 9.48 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/0.1932, allocations: 4.766 kB / 0.6909 GB, free: 9.477 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.865e-06/0.1932, allocations: 7.922 kB / 0.691 GB, free: 9.469 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.1932, allocations: 5.719 kB / 0.691 GB, free: 9.465 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001394/0.1934, allocations: 11.84 kB / 0.691 GB, free: 9.453 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.466e-05/0.1934, allocations: 4 kB / 0.691 GB, free: 9.449 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: 1 (i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 2 * 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 0.0001264/0.1935, allocations: 153.5 kB / 0.6911 GB, free: 9.285 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.721e-05/0.1936, allocations: 13.69 kB / 0.6911 GB, free: 9.273 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.697e-05/0.1936, allocations: 8.25 kB / 0.6911 GB, free: 9.258 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-06/0.1936, allocations: 0 / 0.6911 GB, free: 9.258 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.1936, allocations: 11.92 kB / 0.6912 GB, free: 9.246 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.1936, allocations: 0 / 0.6912 GB, free: 9.246 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001141/0.1937, allocations: 166.2 kB / 0.6913 GB, free: 9.035 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.235e-06/0.1937, allocations: 4.875 kB / 0.6913 GB, free: 9.031 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.276e-06/0.1937, allocations: 7.922 kB / 0.6913 GB, free: 9.023 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.574e-06/0.1937, allocations: 0.5312 kB / 0.6913 GB, free: 9.023 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.075e-06/0.1938, allocations: 0 / 0.6913 GB, free: 9.023 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.1938, allocations: 1.062 kB / 0.6913 GB, free: 9.023 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.1938, allocations: 4 kB / 0.6913 GB, free: 9.02 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002487/0.194, allocations: 227.6 kB / 0.6915 GB, free: 8.773 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.622e-05/0.1941, allocations: 89.17 kB / 0.6916 GB, free: 8.668 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.549e-05/0.1941, allocations: 0 / 0.6916 GB, free: 8.668 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.492e-05/0.1941, allocations: 4 kB / 0.6916 GB, free: 8.664 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.856e-05/0.1942, allocations: 11.98 kB / 0.6916 GB, free: 8.652 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.384e-06/0.1942, allocations: 4 kB / 0.6916 GB, free: 8.648 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.118e-05/0.1943, allocations: 107.2 kB / 0.6918 GB, free: 8.543 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1943, allocations: 0 / 0.6918 GB, free: 8.543 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002533/0.1945, allocations: 68 kB / 0.6918 GB, free: 8.477 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: 1 (i) * Number of discrete states: 1 (i) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0002508/0.1948, allocations: 151.2 kB / 0.692 GB, free: 8.32 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003796/0.1952, allocations: 370.7 kB / 0.6923 GB, free: 7.934 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.1952, allocations: 0 / 0.6923 GB, free: 7.934 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001208/0.1953, allocations: 135.3 kB / 0.6924 GB, free: 7.789 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001491/0.1955, allocations: 19.84 kB / 0.6925 GB, free: 7.773 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003852/0.1959, allocations: 253.1 kB / 0.6927 GB, free: 7.492 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002685/0.1962, allocations: 0.6887 MB / 0.6934 GB, free: 6.777 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.758e-05/0.1962, allocations: 7.438 kB / 0.6934 GB, free: 6.77 MB / 494.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1962, allocations: 0 / 0.6934 GB, free: 6.77 MB / 494.1 MB Notification: Performance of Templates: time 0.002954/0.1991, allocations: 1.656 MB / 0.695 GB, free: 5.121 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite.makefile make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite.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.CubicHermiteCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermiteCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermiteCalcHelperMain.o] Error 1