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.001115/0.001115, allocations: 91.92 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.001622/0.001622, allocations: 180.5 kB / 16.92 MB, free: 6.652 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.959/1.959, allocations: 205.4 MB / 223.1 MB, free: 5.438 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.773/1.773, allocations: 292.7 MB / 0.5509 GB, free: 14.49 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.0005757/0.0005757, allocations: 16.56 kB / 0.675 GB, free: 25.8 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3354/0.336, allocations: 116.3 MB / 0.7886 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.001073/0.3372, allocations: 355.4 kB / 0.7889 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002328/0.3395, allocations: 1.301 MB / 0.7902 GB, free: 9.926 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.142e-05/0.3395, allocations: 0 / 0.7902 GB, free: 9.926 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.619e-05/0.3396, allocations: 0 / 0.7902 GB, free: 9.926 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 2.997e-05/0.3396, allocations: 4 kB / 0.7902 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004197/0.34, allocations: 51.88 kB / 0.7902 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.659e-05/0.3401, allocations: 19.97 kB / 0.7902 GB, free: 9.852 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 6.527e-05/0.3402, allocations: 8 kB / 0.7902 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.936e-05/0.3403, allocations: 11.94 kB / 0.7903 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 9.305e-05/0.3404, allocations: 15.97 kB / 0.7903 GB, free: 9.816 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.719e-05/0.3404, allocations: 4 kB / 0.7903 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003043/0.3407, allocations: 95.84 kB / 0.7904 GB, free: 9.719 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.134e-05/0.3407, allocations: 11.92 kB / 0.7904 GB, free: 9.707 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.826e-05/0.3408, allocations: 41.62 kB / 0.7904 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001783/0.341, allocations: 39.94 kB / 0.7905 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 1.093e-05/0.341, allocations: 4 kB / 0.7905 GB, free: 9.617 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.246e-06/0.341, allocations: 0 / 0.7905 GB, free: 9.617 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.627e-06/0.341, allocations: 4 kB / 0.7905 GB, free: 9.613 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.0006347/0.3417, allocations: 343.8 kB / 0.7908 GB, free: 9.23 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.214e-05/0.3418, allocations: 8.031 kB / 0.7908 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.078e-05/0.3418, allocations: 8.844 kB / 0.7908 GB, free: 9.215 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001663/0.342, allocations: 160.4 kB / 0.791 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.367e-05/0.342, allocations: 384 / 0.791 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.351e-05/0.3421, allocations: 8.375 kB / 0.791 GB, free: 9.012 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001669/0.3422, allocations: 61.92 kB / 0.791 GB, free: 8.945 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.262e-05/0.3423, allocations: 0 / 0.791 GB, free: 8.945 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.686e-05/0.3423, allocations: 7.938 kB / 0.791 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.169e-05/0.3423, allocations: 7.984 kB / 0.791 GB, free: 8.93 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.399e-05/0.3424, allocations: 19.98 kB / 0.7911 GB, free: 8.91 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002651/0.3427, allocations: 161.7 kB / 0.7912 GB, free: 8.703 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001538/0.3429, allocations: 58.55 kB / 0.7913 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.667e-05/0.3429, allocations: 20.86 kB / 0.7913 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006639/0.3436, allocations: 0.5661 MB / 0.7918 GB, free: 7.918 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.073e-05/0.3437, allocations: 38.5 kB / 0.7919 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=8): time 1.483e-06/0.3437, allocations: 3.938 kB / 0.7919 GB, free: 7.867 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.02841/0.3721, allocations: 4.213 MB / 0.796 GB, free: 3.504 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.844e-05/0.3722, allocations: 51.41 kB / 0.796 GB, free: 3.441 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000106/0.3723, allocations: 97.84 kB / 0.7961 GB, free: 3.336 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 9.319e-05/0.3724, allocations: 29.7 kB / 0.7962 GB, free: 3.301 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.792e-05/0.3725, allocations: 80.14 kB / 0.7962 GB, free: 3.219 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001622/0.3727, allocations: 59.19 kB / 0.7963 GB, free: 3.16 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001178/0.3728, allocations: 17.72 kB / 0.7963 GB, free: 3.137 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001596/0.373, allocations: 322.9 kB / 0.7966 GB, free: 2.812 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000765/0.3737, allocations: 311.9 kB / 0.7969 GB, free: 2.508 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007657/0.3745, allocations: 315.8 kB / 0.7972 GB, free: 2.199 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002394/0.3769, allocations: 0.7497 MB / 0.798 GB, free: 1.449 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-06/0.3769, allocations: 0 / 0.798 GB, free: 1.449 MB / 0.6075 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.002507/0.3795, allocations: 0.7942 MB / 0.7987 GB, free: 0.6484 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.8e-05/0.3795, allocations: 7.984 kB / 0.7987 GB, free: 0.6406 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/0.3795, allocations: 0 / 0.7987 GB, free: 0.6406 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.097e-05/0.3795, allocations: 0 / 0.7987 GB, free: 0.6406 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001181/0.3807, allocations: 91.95 kB / 0.7988 GB, free: 0.5508 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.406e-05/0.3808, allocations: 0 / 0.7988 GB, free: 0.5508 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000722/0.3815, allocations: 15.94 kB / 0.7988 GB, free: 0.5352 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001379/0.3816, allocations: 35.97 kB / 0.7989 GB, free: 0.5 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.0003128/0.382, allocations: 126.4 kB / 0.799 GB, free: 376 kB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001135/0.3821, allocations: 7.906 kB / 0.799 GB, free: 368 kB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005251/0.3874, allocations: 1.384 MB / 0.8004 GB, free: 14.96 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.28e-05/0.3874, allocations: 4 kB / 0.8004 GB, free: 14.95 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.096e-05/0.3874, allocations: 4 kB / 0.8004 GB, free: 14.95 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.759e-06/0.3874, allocations: 3.984 kB / 0.8004 GB, free: 14.95 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003251/0.3907, allocations: 1.798 MB / 0.8021 GB, free: 13.09 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.995e-06/0.3907, allocations: 7.938 kB / 0.8021 GB, free: 13.08 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007705/0.3915, allocations: 107.9 kB / 0.8022 GB, free: 12.98 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.306e-06/0.3915, allocations: 0 / 0.8022 GB, free: 12.98 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.448e-05/0.3916, allocations: 39.95 kB / 0.8023 GB, free: 12.94 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.3916, allocations: 0 / 0.8023 GB, free: 12.94 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.3916, allocations: 0 / 0.8023 GB, free: 12.94 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002532/0.3941, allocations: 1.446 MB / 0.8037 GB, free: 11.47 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 6.668e-05/0.3942, allocations: 96.94 kB / 0.8038 GB, free: 11.36 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.229e-05/0.3943, allocations: 11.94 kB / 0.8038 GB, free: 11.35 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005313/0.3948, allocations: 12 kB / 0.8038 GB, free: 11.34 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001597/0.395, allocations: 47.97 kB / 0.8038 GB, free: 11.29 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.997e-05/0.3951, allocations: 28 kB / 0.8039 GB, free: 11.26 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 4.568e-05/0.3951, allocations: 75.28 kB / 0.8039 GB, free: 11.19 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3952, allocations: 0 / 0.8039 GB, free: 11.19 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0006898/0.3958, allocations: 176 kB / 0.8041 GB, free: 11.02 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.0006514/0.3965, allocations: 223.3 kB / 0.8043 GB, free: 10.79 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001358/0.3979, allocations: 0.7223 MB / 0.805 GB, free: 10.07 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.3979, allocations: 4.094 kB / 0.805 GB, free: 10.06 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0007416/0.3986, allocations: 455.7 kB / 0.8055 GB, free: 9.617 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003485/0.399, allocations: 18.81 kB / 0.8055 GB, free: 9.602 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003772/0.4028, allocations: 0.8912 MB / 0.8064 GB, free: 8.68 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005366/0.4033, allocations: 0.7261 MB / 0.8071 GB, free: 7.93 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000552/0.4039, allocations: 95.41 kB / 0.8072 GB, free: 7.836 MB / 0.6231 GB Notification: Performance of SimCode: time 5.21e-07/0.4039, allocations: 0 / 0.8072 GB, free: 7.836 MB / 0.6231 GB Notification: Performance of Templates: time 0.01481/0.4187, allocations: 6.844 MB / 0.8138 GB, free: 1.047 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