Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.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.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001674/0.001674, allocations: 100.1 kB / 15.88 MB, free: 12 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.001991/0.001991, allocations: 196.9 kB / 16.79 MB, free: 6.863 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.667/2.667, allocations: 222.9 MB / 240.5 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00385/0.003851, allocations: 282.8 kB / 290.9 MB, free: 2.211 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.939/1.939, allocations: 169.2 MB / 0.4983 GB, free: 14.16 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002887/0.002887, allocations: 95.11 kB / 0.5951 GB, free: 28.23 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4121/0.4151, allocations: 86.99 MB / 0.6801 GB, free: 1.184 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.004897/0.4201, allocations: 0.6615 MB / 0.6807 GB, free: 0.5273 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.003671/0.4238, allocations: 1.289 MB / 0.682 GB, free: 15.22 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.126e-05/0.4239, allocations: 4 kB / 0.682 GB, free: 15.22 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.199e-05/0.424, allocations: 3.938 kB / 0.682 GB, free: 15.21 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.481e-05/0.4241, allocations: 0 / 0.682 GB, free: 15.21 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006635/0.4248, allocations: 55.81 kB / 0.6821 GB, free: 15.16 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001207/0.4249, allocations: 31.91 kB / 0.6821 GB, free: 15.13 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.15e-05/0.425, allocations: 0 / 0.6821 GB, free: 15.13 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.352e-05/0.4251, allocations: 7.984 kB / 0.6821 GB, free: 15.12 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001384/0.4252, allocations: 19.92 kB / 0.6821 GB, free: 15.1 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.257e-05/0.4252, allocations: 0 / 0.6821 GB, free: 15.1 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004048/0.4257, allocations: 99.89 kB / 0.6822 GB, free: 15 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.138e-05/0.4257, allocations: 7.984 kB / 0.6822 GB, free: 15 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.796e-05/0.4258, allocations: 15.92 kB / 0.6822 GB, free: 14.98 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001976/0.426, allocations: 43.89 kB / 0.6823 GB, free: 14.94 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.732e-06/0.426, allocations: 0 / 0.6823 GB, free: 14.94 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.776e-06/0.426, allocations: 4 kB / 0.6823 GB, free: 14.93 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.111e-05/0.426, allocations: 0 / 0.6823 GB, free: 14.93 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.00083/0.4269, allocations: 358 kB / 0.6826 GB, free: 14.54 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.101e-05/0.427, allocations: 12.03 kB / 0.6826 GB, free: 14.53 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.059e-05/0.427, allocations: 4.844 kB / 0.6826 GB, free: 14.52 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002516/0.4273, allocations: 164.4 kB / 0.6828 GB, free: 14.32 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.233e-05/0.4273, allocations: 4.375 kB / 0.6828 GB, free: 14.32 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.151e-05/0.4274, allocations: 4.375 kB / 0.6828 GB, free: 14.32 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002475/0.4277, allocations: 57.98 kB / 0.6829 GB, free: 14.25 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.414e-05/0.4277, allocations: 0 / 0.6829 GB, free: 14.25 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.281e-05/0.4277, allocations: 0 / 0.6829 GB, free: 14.25 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.387e-06/0.4277, allocations: 0 / 0.6829 GB, free: 14.25 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001679/0.4279, allocations: 31.92 kB / 0.6829 GB, free: 14.22 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003787/0.4283, allocations: 169.7 kB / 0.6831 GB, free: 14.01 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002177/0.4285, allocations: 54.56 kB / 0.6831 GB, free: 13.95 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.084e-05/0.4286, allocations: 28.84 kB / 0.6831 GB, free: 13.91 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009604/0.4296, allocations: 0.5544 MB / 0.6837 GB, free: 13.23 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.649e-05/0.4297, allocations: 38.5 kB / 0.6837 GB, free: 13.18 MB / 494.1 MB Notification: Performance of pre-optimization done (n=8): time 2.976e-06/0.4297, allocations: 0 / 0.6837 GB, free: 13.18 MB / 494.1 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: x 2: deltax Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=17): time 0.03277/0.4625, allocations: 4.382 MB / 0.688 GB, free: 8.652 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00011/0.4627, allocations: 59.41 kB / 0.688 GB, free: 8.582 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001515/0.4629, allocations: 97.73 kB / 0.6881 GB, free: 8.477 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001234/0.463, allocations: 25.7 kB / 0.6882 GB, free: 8.445 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.699e-05/0.4631, allocations: 84.14 kB / 0.6882 GB, free: 8.359 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002399/0.4634, allocations: 59.23 kB / 0.6883 GB, free: 8.301 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004485/0.4638, allocations: 89.67 kB / 0.6884 GB, free: 8.207 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002839/0.4641, allocations: 322.8 kB / 0.6887 GB, free: 7.883 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009494/0.4651, allocations: 308 kB / 0.689 GB, free: 7.582 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009292/0.4661, allocations: 315.8 kB / 0.6893 GB, free: 7.273 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002785/0.4689, allocations: 0.7725 MB / 0.69 GB, free: 6.5 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.4689, allocations: 0 / 0.69 GB, free: 6.5 MB / 494.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.00305/0.472, allocations: 0.7943 MB / 0.6908 GB, free: 5.699 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.37e-05/0.4721, allocations: 4 kB / 0.6908 GB, free: 5.695 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.756e-05/0.4721, allocations: 0 / 0.6908 GB, free: 5.695 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.349e-05/0.4721, allocations: 0 / 0.6908 GB, free: 5.695 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001291/0.4735, allocations: 99.88 kB / 0.6909 GB, free: 5.598 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.858e-05/0.4735, allocations: 0 / 0.6909 GB, free: 5.598 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006826/0.4742, allocations: 8 kB / 0.6909 GB, free: 5.59 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001636/0.4744, allocations: 35.98 kB / 0.691 GB, free: 5.555 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 (18): * Single equations (assignments): 18 * 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 0.0003962/0.4748, allocations: 127 kB / 0.6911 GB, free: 5.422 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001623/0.475, allocations: 11.91 kB / 0.6911 GB, free: 5.41 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005999/0.481, allocations: 1.395 MB / 0.6925 GB, free: 4.008 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.341e-05/0.481, allocations: 4 kB / 0.6925 GB, free: 4.004 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.41e-05/0.4811, allocations: 0 / 0.6925 GB, free: 4.004 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.16e-05/0.4811, allocations: 0 / 0.6925 GB, free: 4.004 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005717/0.4868, allocations: 1.825 MB / 0.6942 GB, free: 2.125 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.039e-05/0.4869, allocations: 0 / 0.6942 GB, free: 2.125 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001203/0.4881, allocations: 107.9 kB / 0.6943 GB, free: 2.02 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.878e-05/0.4881, allocations: 0 / 0.6943 GB, free: 2.02 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001413/0.4883, allocations: 35.94 kB / 0.6944 GB, free: 1.984 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.206e-05/0.4883, allocations: 0 / 0.6944 GB, free: 1.984 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.464e-06/0.4883, allocations: 3.938 kB / 0.6944 GB, free: 1.98 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004656/0.493, allocations: 1.465 MB / 0.6958 GB, free: 0.4961 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000173/0.4932, allocations: 96.89 kB / 0.6959 GB, free: 392 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001462/0.4933, allocations: 11.94 kB / 0.6959 GB, free: 380 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007425/0.4941, allocations: 16 kB / 0.6959 GB, free: 364 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002546/0.4944, allocations: 43.89 kB / 0.696 GB, free: 320 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001415/0.4945, allocations: 32 kB / 0.696 GB, free: 288 kB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001054/0.4946, allocations: 79.22 kB / 0.6961 GB, free: 208 kB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4947, allocations: 0 / 0.6961 GB, free: 208 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.001085/0.4958, allocations: 188.1 kB / 0.6963 GB, free: 20 kB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (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 (40): * Single equations (assignments): 40 * 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.001108/0.4969, allocations: 220.8 kB / 0.6965 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002381/0.4993, allocations: 0.7243 MB / 0.6972 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.49e-06/0.4993, allocations: 0 / 0.6972 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001326/0.5006, allocations: 451.8 kB / 0.6976 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005833/0.5013, allocations: 16 kB / 0.6976 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005384/0.5067, allocations: 0.8869 MB / 0.6985 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008512/0.5075, allocations: 0.7223 MB / 0.6992 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001046/0.5086, allocations: 91.41 kB / 0.6993 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of SimCode: time 3.056e-06/0.5086, allocations: 0 / 0.6993 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of Templates: time 0.02534/0.534, allocations: 6.885 MB / 0.706 GB, free: 6.062 MB / 0.4981 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.makefile make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.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.SpliceFunctionDerivativeCheckCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheckCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheckCalcHelperMain.o] Error 1