Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.009507/0.009507, allocations: 100.8 kB / 15.87 MB, free: 5.867 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001641/0.001642, allocations: 193.7 kB / 16.79 MB, free: 5.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.715/1.715, allocations: 205.1 MB / 222.6 MB, free: 4.68 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.752/1.752, allocations: 292.3 MB / 0.5491 GB, free: 13.69 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001431/0.001431, allocations: 64.94 kB / 0.6715 GB, free: 26.4 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3321/0.3335, allocations: 114.6 MB / 0.7833 GB, free: 14.04 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.002369/0.3359, allocations: 0.6859 MB / 0.784 GB, free: 13.34 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002077/0.338, allocations: 1.316 MB / 0.7853 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.978e-05/0.3381, allocations: 0 / 0.7853 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.644e-05/0.3381, allocations: 3.938 kB / 0.7853 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 2.467e-05/0.3381, allocations: 0 / 0.7853 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003796/0.3385, allocations: 55.88 kB / 0.7854 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.684e-05/0.3386, allocations: 19.98 kB / 0.7854 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 6.338e-05/0.3387, allocations: 3.984 kB / 0.7854 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.039e-05/0.3387, allocations: 7.938 kB / 0.7854 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.86e-05/0.3388, allocations: 19.92 kB / 0.7854 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.434e-05/0.3388, allocations: 0 / 0.7854 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000258/0.3391, allocations: 103.8 kB / 0.7855 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.973e-05/0.3391, allocations: 7.984 kB / 0.7855 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.87e-05/0.3392, allocations: 7.938 kB / 0.7855 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001285/0.3393, allocations: 47.94 kB / 0.7856 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.3393, allocations: 0 / 0.7856 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.624e-06/0.3393, allocations: 0 / 0.7856 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.388e-06/0.3393, allocations: 0 / 0.7856 GB, free: 11.74 MB / 0.6075 GB 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.0006215/0.3399, allocations: 351.8 kB / 0.7859 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 8.714e-05/0.34, allocations: 11.97 kB / 0.7859 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.763e-05/0.3401, allocations: 8.844 kB / 0.7859 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001509/0.3402, allocations: 160.4 kB / 0.7861 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.298e-05/0.3403, allocations: 4.375 kB / 0.7861 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.415e-05/0.3403, allocations: 8.375 kB / 0.7861 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001841/0.3405, allocations: 57.97 kB / 0.7861 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.89e-05/0.3405, allocations: 0 / 0.7861 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.76e-05/0.3405, allocations: 7.938 kB / 0.7861 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.416e-06/0.3406, allocations: 4 kB / 0.7862 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.13e-05/0.3406, allocations: 23.92 kB / 0.7862 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002498/0.3409, allocations: 165.6 kB / 0.7863 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001335/0.341, allocations: 62.55 kB / 0.7864 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.228e-05/0.3411, allocations: 20.86 kB / 0.7864 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006376/0.3417, allocations: 0.5622 MB / 0.787 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.163e-05/0.3418, allocations: 34.5 kB / 0.787 GB, free: 9.984 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=8): time 1.153e-06/0.3418, allocations: 0 / 0.787 GB, free: 9.984 MB / 0.6075 GB 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.02047/0.3623, allocations: 4.304 MB / 0.7912 GB, free: 5.527 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.877e-05/0.3624, allocations: 51.41 kB / 0.7912 GB, free: 5.465 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.821e-05/0.3625, allocations: 97.86 kB / 0.7913 GB, free: 5.359 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001648/0.3627, allocations: 29.83 kB / 0.7914 GB, free: 5.324 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.479e-05/0.3627, allocations: 80.14 kB / 0.7914 GB, free: 5.242 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001328/0.3628, allocations: 67.11 kB / 0.7915 GB, free: 5.176 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000262/0.3631, allocations: 89.67 kB / 0.7916 GB, free: 5.082 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001649/0.3633, allocations: 322.8 kB / 0.7919 GB, free: 4.758 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005694/0.3639, allocations: 311.8 kB / 0.7922 GB, free: 4.453 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005571/0.3644, allocations: 314.4 kB / 0.7925 GB, free: 4.148 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001882/0.3663, allocations: 0.7507 MB / 0.7932 GB, free: 3.395 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.103e-06/0.3663, allocations: 0 / 0.7932 GB, free: 3.395 MB / 0.6075 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001827/0.3682, allocations: 0.798 MB / 0.794 GB, free: 2.59 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.119e-05/0.3682, allocations: 6.5 kB / 0.794 GB, free: 2.586 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.3682, allocations: 0 / 0.794 GB, free: 2.586 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.993e-05/0.3682, allocations: 0 / 0.794 GB, free: 2.586 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007964/0.369, allocations: 95.94 kB / 0.7941 GB, free: 2.492 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.806e-06/0.3691, allocations: 0 / 0.7941 GB, free: 2.492 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004261/0.3695, allocations: 8 kB / 0.7941 GB, free: 2.484 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.92e-05/0.3696, allocations: 35.98 kB / 0.7942 GB, free: 2.449 MB / 0.6075 GB 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.000271/0.3699, allocations: 126.4 kB / 0.7943 GB, free: 2.316 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.524e-05/0.37, allocations: 8 kB / 0.7943 GB, free: 2.309 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003918/0.3739, allocations: 1.38 MB / 0.7956 GB, free: 0.918 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.115e-06/0.3739, allocations: 4 kB / 0.7956 GB, free: 0.9141 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.042e-05/0.3739, allocations: 4 kB / 0.7956 GB, free: 0.9102 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.024e-05/0.374, allocations: 3.984 kB / 0.7956 GB, free: 0.9062 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003286/0.3773, allocations: 1.802 MB / 0.7974 GB, free: 15.05 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.3773, allocations: 0 / 0.7974 GB, free: 15.05 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007581/0.378, allocations: 111.9 kB / 0.7975 GB, free: 14.94 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.923e-06/0.3781, allocations: 7.969 kB / 0.7975 GB, free: 14.93 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.546e-05/0.3782, allocations: 35.94 kB / 0.7975 GB, free: 14.89 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.167e-06/0.3782, allocations: 0 / 0.7975 GB, free: 14.89 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.3782, allocations: 0.9375 kB / 0.7975 GB, free: 14.89 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002652/0.3808, allocations: 1.457 MB / 0.799 GB, free: 13.42 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 6.122e-05/0.3809, allocations: 88.98 kB / 0.7991 GB, free: 13.31 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.528e-05/0.381, allocations: 12 kB / 0.7991 GB, free: 13.3 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004454/0.3815, allocations: 15.98 kB / 0.7991 GB, free: 13.29 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001565/0.3816, allocations: 43.97 kB / 0.7991 GB, free: 13.24 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.92e-05/0.3817, allocations: 32 kB / 0.7992 GB, free: 13.21 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 4.234e-05/0.3818, allocations: 75.28 kB / 0.7992 GB, free: 13.14 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3818, allocations: 0 / 0.7992 GB, free: 13.14 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0007329/0.3825, allocations: 176 kB / 0.7994 GB, free: 12.96 MB / 0.6231 GB 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.0006055/0.3831, allocations: 223.4 kB / 0.7996 GB, free: 12.74 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001372/0.3845, allocations: 0.7262 MB / 0.8003 GB, free: 12.01 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.3845, allocations: 0 / 0.8003 GB, free: 12.01 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0007023/0.3852, allocations: 451.8 kB / 0.8007 GB, free: 11.57 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003618/0.3856, allocations: 19.94 kB / 0.8008 GB, free: 11.55 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003394/0.389, allocations: 0.886 MB / 0.8016 GB, free: 10.63 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006387/0.3897, allocations: 0.7184 MB / 0.8023 GB, free: 9.891 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007281/0.3904, allocations: 91.41 kB / 0.8024 GB, free: 9.801 MB / 0.6231 GB Notification: Performance of SimCode: time 7.01e-07/0.3904, allocations: 4 kB / 0.8024 GB, free: 9.797 MB / 0.6231 GB Notification: Performance of Templates: time 0.01252/0.4029, allocations: 6.843 MB / 0.8091 GB, free: 3.008 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.makefile make -j1 -f Buildings_8_Buildings.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 OMCppBuildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheckCalcHelperMain.o OMCppBuildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheckCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheckCalcHelperMain.o] Error 1