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.001227/0.001227, allocations: 102.4 kB / 15.71 MB, free: 440 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.001157/0.001157, allocations: 178.9 kB / 16.58 MB, free: 6.09 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.641/1.641, allocations: 205.4 MB / 222.8 MB, free: 5.609 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.792/1.792, allocations: 292.7 MB / 0.5505 GB, free: 14.57 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.0006297/0.0006298, allocations: 14.38 kB / 0.6744 GB, free: 26.31 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.363/0.3637, allocations: 116.3 MB / 0.7879 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.0008991/0.3646, allocations: 347.4 kB / 0.7883 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001741/0.3664, allocations: 1.262 MB / 0.7895 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.681e-05/0.3664, allocations: 0 / 0.7895 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.738e-05/0.3664, allocations: 0 / 0.7895 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 2.487e-05/0.3665, allocations: 0 / 0.7895 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003485/0.3668, allocations: 51.88 kB / 0.7896 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.483e-05/0.3669, allocations: 19.92 kB / 0.7896 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 6.155e-05/0.367, allocations: 4 kB / 0.7896 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.054e-05/0.367, allocations: 11.98 kB / 0.7896 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 9.399e-05/0.3671, allocations: 19.91 kB / 0.7896 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.281e-05/0.3671, allocations: 0 / 0.7896 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001999/0.3674, allocations: 87.91 kB / 0.7897 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.528e-05/0.3674, allocations: 7.984 kB / 0.7897 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.936e-05/0.3674, allocations: 33.64 kB / 0.7897 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001383/0.3676, allocations: 47.94 kB / 0.7898 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.3676, allocations: 0 / 0.7898 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.374e-06/0.3676, allocations: 0 / 0.7898 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.566e-06/0.3676, allocations: 0 / 0.7898 GB, free: 10.02 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.0005046/0.3681, allocations: 343.6 kB / 0.7901 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/0.3682, allocations: 11.97 kB / 0.7901 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.736e-05/0.3682, allocations: 7.906 kB / 0.7901 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000155/0.3684, allocations: 163 kB / 0.7903 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.723e-05/0.3684, allocations: 8 kB / 0.7903 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.904e-05/0.3684, allocations: 0 / 0.7903 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000151/0.3686, allocations: 53.67 kB / 0.7903 GB, free: 9.348 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.654e-05/0.3686, allocations: 3.938 kB / 0.7903 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.42e-05/0.3686, allocations: 7.938 kB / 0.7904 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.912e-06/0.3687, allocations: 0 / 0.7904 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.086e-05/0.3687, allocations: 23.98 kB / 0.7904 GB, free: 9.312 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002106/0.369, allocations: 161.6 kB / 0.7905 GB, free: 9.105 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000146/0.3691, allocations: 62.55 kB / 0.7906 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.319e-05/0.3692, allocations: 24.86 kB / 0.7906 GB, free: 9.008 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005478/0.3697, allocations: 0.5583 MB / 0.7912 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.382e-05/0.3698, allocations: 38.5 kB / 0.7912 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=8): time 1.383e-06/0.3698, allocations: 0 / 0.7912 GB, free: 8.273 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.01711/0.3869, allocations: 4.209 MB / 0.7953 GB, free: 3.914 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.59e-05/0.387, allocations: 59.36 kB / 0.7954 GB, free: 3.844 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001156/0.3871, allocations: 89.86 kB / 0.7954 GB, free: 3.746 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 7.351e-05/0.3872, allocations: 33.69 kB / 0.7955 GB, free: 3.707 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.714e-05/0.3873, allocations: 84.14 kB / 0.7956 GB, free: 3.621 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001474/0.3875, allocations: 63.25 kB / 0.7956 GB, free: 3.559 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.794e-05/0.3875, allocations: 0 / 0.7956 GB, free: 3.559 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002261/0.3878, allocations: 318.8 kB / 0.7959 GB, free: 3.238 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005276/0.3883, allocations: 307.9 kB / 0.7962 GB, free: 2.938 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005408/0.3888, allocations: 322.4 kB / 0.7965 GB, free: 2.625 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007735/0.3896, allocations: 379.9 kB / 0.7969 GB, free: 2.254 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.61e-07/0.3896, allocations: 0 / 0.7969 GB, free: 2.254 MB / 0.6075 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.00156/0.3912, allocations: 0.7826 MB / 0.7977 GB, free: 1.465 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.37e-05/0.3912, allocations: 4 kB / 0.7977 GB, free: 1.461 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.787e-06/0.3912, allocations: 3.938 kB / 0.7977 GB, free: 1.457 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.044e-05/0.3913, allocations: 4 kB / 0.7977 GB, free: 1.453 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007092/0.392, allocations: 95.94 kB / 0.7978 GB, free: 1.359 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.116e-05/0.392, allocations: 8.891 kB / 0.7978 GB, free: 1.352 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003668/0.3924, allocations: 4 kB / 0.7978 GB, free: 1.348 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.207e-05/0.3925, allocations: 31.98 kB / 0.7978 GB, free: 1.316 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001954/0.3927, allocations: 122.4 kB / 0.7979 GB, free: 1.188 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.389e-05/0.3927, allocations: 11.89 kB / 0.7979 GB, free: 1.176 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003389/0.3961, allocations: 1.392 MB / 0.7993 GB, free: 15.77 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.296e-06/0.3962, allocations: 4 kB / 0.7993 GB, free: 15.76 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.3962, allocations: 0 / 0.7993 GB, free: 15.76 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.234e-06/0.3962, allocations: 3.953 kB / 0.7993 GB, free: 15.76 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002947/0.3991, allocations: 1.794 MB / 0.801 GB, free: 13.91 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.3992, allocations: 4.031 kB / 0.801 GB, free: 13.91 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007019/0.3999, allocations: 119.8 kB / 0.8012 GB, free: 13.79 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.903e-06/0.3999, allocations: 0 / 0.8012 GB, free: 13.79 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.272e-05/0.4, allocations: 28 kB / 0.8012 GB, free: 13.76 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.971e-06/0.4, allocations: 0 / 0.8012 GB, free: 13.76 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.4, allocations: 3.938 kB / 0.8012 GB, free: 13.76 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002391/0.4024, allocations: 1.453 MB / 0.8026 GB, free: 12.29 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 6.799e-05/0.4025, allocations: 93.02 kB / 0.8027 GB, free: 12.18 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.041e-05/0.4026, allocations: 15.95 kB / 0.8027 GB, free: 12.16 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000388/0.403, allocations: 8 kB / 0.8027 GB, free: 12.15 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001135/0.4031, allocations: 43.97 kB / 0.8028 GB, free: 12.11 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.11e-05/0.4032, allocations: 35.98 kB / 0.8028 GB, free: 12.07 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 4.376e-05/0.4032, allocations: 75.28 kB / 0.8029 GB, free: 12 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1e-07/0.4032, allocations: 0 / 0.8029 GB, free: 12 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0006052/0.4038, allocations: 172 kB / 0.803 GB, free: 11.83 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005093/0.4043, allocations: 231.7 kB / 0.8033 GB, free: 11.6 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001259/0.4056, allocations: 0.7298 MB / 0.804 GB, free: 10.87 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.4056, allocations: 0 / 0.804 GB, free: 10.87 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0006756/0.4063, allocations: 447.8 kB / 0.8044 GB, free: 10.43 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003168/0.4066, allocations: 12 kB / 0.8044 GB, free: 10.42 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002917/0.4096, allocations: 0.8873 MB / 0.8053 GB, free: 9.5 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003668/0.4099, allocations: 0.7145 MB / 0.806 GB, free: 8.762 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005437/0.4105, allocations: 95.41 kB / 0.8061 GB, free: 8.668 MB / 0.6231 GB Notification: Performance of SimCode: time 1.022e-06/0.4105, allocations: 4 kB / 0.8061 GB, free: 8.664 MB / 0.6231 GB Notification: Performance of Templates: time 0.01197/0.4225, allocations: 6.838 MB / 0.8127 GB, free: 1.879 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++ NOTFOUND -Winvalid-pch -O0 -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/c/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