Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction.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.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007887/0.0007887, allocations: 87.98 kB / 16.02 MB, free: 80 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.001212/0.001212, allocations: 177.4 kB / 16.92 MB, free: 6.23 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.416/1.416, allocations: 223.2 MB / 241 MB, free: 5.043 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002603/0.002603, allocations: 270.8 kB / 292.3 MB, free: 1.586 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9381/0.9381, allocations: 169.5 MB / 0.501 GB, free: 14.12 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004409/0.0004409, allocations: 13.91 kB / 0.5993 GB, free: 28.16 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1827/0.1832, allocations: 88.55 MB / 0.6858 GB, free: 15.12 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction): time 0.0007077/0.1839, allocations: 309.3 kB / 0.6861 GB, free: 14.81 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001414/0.1853, allocations: 1.243 MB / 0.6873 GB, free: 13.55 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.977e-06/0.1854, allocations: 7.938 kB / 0.6873 GB, free: 13.55 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.401e-05/0.1854, allocations: 1.062 kB / 0.6873 GB, free: 13.55 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.609e-06/0.1854, allocations: 0 / 0.6873 GB, free: 13.55 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002639/0.1857, allocations: 49.83 kB / 0.6873 GB, free: 13.5 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.034e-05/0.1857, allocations: 0 / 0.6873 GB, free: 13.5 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.11e-05/0.1858, allocations: 4 kB / 0.6874 GB, free: 13.5 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.333e-05/0.1858, allocations: 7.938 kB / 0.6874 GB, free: 13.49 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.787e-05/0.1858, allocations: 0 / 0.6874 GB, free: 13.49 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.903e-06/0.1858, allocations: 2.438 kB / 0.6874 GB, free: 13.49 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000206/0.186, allocations: 99.88 kB / 0.6875 GB, free: 13.39 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.804e-06/0.1861, allocations: 0 / 0.6875 GB, free: 13.39 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.502e-05/0.1861, allocations: 25.7 kB / 0.6875 GB, free: 13.36 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 8.619e-05/0.1862, allocations: 39.95 kB / 0.6875 GB, free: 13.32 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.1862, allocations: 0 / 0.6875 GB, free: 13.32 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1862, allocations: 0.5 kB / 0.6875 GB, free: 13.32 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.158e-06/0.1862, allocations: 0.5625 kB / 0.6875 GB, free: 13.32 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002608/0.1865, allocations: 324.8 kB / 0.6878 GB, free: 12.96 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.558e-05/0.1865, allocations: 8.031 kB / 0.6878 GB, free: 12.95 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.24e-05/0.1865, allocations: 0.9375 kB / 0.6878 GB, free: 12.95 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001037/0.1867, allocations: 165.8 kB / 0.688 GB, free: 12.75 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.096e-05/0.1867, allocations: 4.375 kB / 0.688 GB, free: 12.75 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.458e-06/0.1867, allocations: 8.312 kB / 0.688 GB, free: 12.74 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.549e-05/0.1868, allocations: 38.69 kB / 0.688 GB, free: 12.7 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.242e-06/0.1868, allocations: 0 / 0.688 GB, free: 12.7 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.025e-06/0.1868, allocations: 1.719 kB / 0.688 GB, free: 12.7 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.1868, allocations: 0 / 0.688 GB, free: 12.7 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.7e-05/0.1869, allocations: 4 kB / 0.6881 GB, free: 12.69 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001353/0.187, allocations: 146.2 kB / 0.6882 GB, free: 12.5 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.884e-05/0.187, allocations: 21.39 kB / 0.6882 GB, free: 12.47 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.546e-05/0.1871, allocations: 4.859 kB / 0.6882 GB, free: 12.46 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000539/0.1876, allocations: 0.5623 MB / 0.6888 GB, free: 11.77 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.63e-05/0.1876, allocations: 44.19 kB / 0.6888 GB, free: 11.72 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 1.042e-06/0.1876, allocations: 0 / 0.6888 GB, free: 11.72 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001243/0.1878, allocations: 34.41 kB / 0.6888 GB, free: 11.68 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.97e-05/0.1878, allocations: 55.41 kB / 0.6889 GB, free: 11.62 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.11e-05/0.1879, allocations: 90.73 kB / 0.689 GB, free: 11.52 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.178e-05/0.1879, allocations: 25.7 kB / 0.689 GB, free: 11.49 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.459e-05/0.1879, allocations: 80.77 kB / 0.6891 GB, free: 11.41 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.548e-05/0.188, allocations: 5.625 kB / 0.6891 GB, free: 11.4 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.818e-05/0.188, allocations: 9.719 kB / 0.6891 GB, free: 11.39 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001058/0.1881, allocations: 314.8 kB / 0.6894 GB, free: 11.07 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.073e-06/0.1881, allocations: 0.6562 kB / 0.6894 GB, free: 11.07 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.484e-06/0.1881, allocations: 8.125 kB / 0.6894 GB, free: 11.06 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.411e-05/0.1882, allocations: 12.8 kB / 0.6894 GB, free: 11.05 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.1882, allocations: 0 / 0.6894 GB, free: 11.05 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.849e-05/0.1882, allocations: 33.69 kB / 0.6894 GB, free: 11.01 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/0.1882, allocations: 7.938 kB / 0.6895 GB, free: 11 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.1882, allocations: 0 / 0.6895 GB, free: 11 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.005e-05/0.1883, allocations: 3.938 kB / 0.6895 GB, free: 11 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.774e-05/0.1883, allocations: 4 kB / 0.6895 GB, free: 10.99 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/0.1883, allocations: 0 / 0.6895 GB, free: 10.99 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.191e-05/0.1883, allocations: 4.094 kB / 0.6895 GB, free: 10.99 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.959e-06/0.1883, allocations: 0 / 0.6895 GB, free: 10.99 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 (1): * Single equations (assignments): 1 * 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.639e-05/0.1884, allocations: 115.2 kB / 0.6896 GB, free: 10.87 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.732e-06/0.1884, allocations: 3.938 kB / 0.6896 GB, free: 10.86 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.764e-05/0.1885, allocations: 44.66 kB / 0.6896 GB, free: 10.81 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.1885, allocations: 0 / 0.6896 GB, free: 10.81 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.1885, allocations: 3.938 kB / 0.6896 GB, free: 10.81 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.1886, allocations: 4.031 kB / 0.6896 GB, free: 10.8 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.082e-05/0.1886, allocations: 149.7 kB / 0.6898 GB, free: 10.61 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.1887, allocations: 0 / 0.6898 GB, free: 10.61 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.265e-05/0.1887, allocations: 0 / 0.6898 GB, free: 10.61 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.536e-06/0.1887, allocations: 3.938 kB / 0.6898 GB, free: 10.61 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.089e-06/0.1887, allocations: 4 kB / 0.6898 GB, free: 10.6 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.71e-07/0.1887, allocations: 0 / 0.6898 GB, free: 10.6 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1887, allocations: 0 / 0.6898 GB, free: 10.6 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.405e-05/0.1888, allocations: 61.08 kB / 0.6898 GB, free: 10.52 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.984e-05/0.1888, allocations: 85.09 kB / 0.6899 GB, free: 10.42 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.044e-05/0.1888, allocations: 3.938 kB / 0.6899 GB, free: 10.42 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.456e-06/0.1888, allocations: 0 / 0.6899 GB, free: 10.42 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.009e-05/0.1889, allocations: 0 / 0.6899 GB, free: 10.42 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.724e-06/0.1889, allocations: 0 / 0.6899 GB, free: 10.42 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.582e-05/0.1889, allocations: 75.28 kB / 0.69 GB, free: 10.34 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1889, allocations: 0 / 0.69 GB, free: 10.34 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001843/0.1891, allocations: 12 kB / 0.69 GB, free: 10.33 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 (1): * Single equations (assignments): 1 * 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.0001563/0.1893, allocations: 111.3 kB / 0.6901 GB, free: 10.21 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 5.08e-05/0.1893, allocations: 4 kB / 0.6901 GB, free: 10.21 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.1893, allocations: 0 / 0.6901 GB, free: 10.21 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 7.323e-06/0.1893, allocations: 7.938 kB / 0.6901 GB, free: 10.2 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001234/0.1895, allocations: 1.375 kB / 0.6901 GB, free: 10.2 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001851/0.1897, allocations: 106 kB / 0.6902 GB, free: 10.07 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002504/0.1899, allocations: 0.6731 MB / 0.6909 GB, free: 9.367 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.379e-05/0.1899, allocations: 15.5 kB / 0.6909 GB, free: 9.352 MB / 494.1 MB Notification: Performance of SimCode: time 3.8e-07/0.1899, allocations: 0 / 0.6909 GB, free: 9.352 MB / 494.1 MB Notification: Performance of Templates: time 0.001619/0.1916, allocations: 434.1 kB / 0.6913 GB, free: 8.93 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction.makefile make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction.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.SpliceFunctionCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunctionCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunctionCalcHelperMain.o] Error 1