Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.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.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline") translateModel(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01182/0.01182, allocations: 100.2 kB / 15.87 MB, free: 6.328 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.002498/0.002498, allocations: 193.1 kB / 16.79 MB, free: 6.254 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.507/2.507, allocations: 222.9 MB / 240.5 MB, free: 4.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.004368/0.004368, allocations: 286.3 kB / 290.9 MB, free: 2.062 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.862/1.862, allocations: 169.2 MB / 0.4983 GB, free: 14.1 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003171/0.003172, allocations: 89.52 kB / 0.5951 GB, free: 28.09 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3275/0.3307, allocations: 86.99 MB / 0.6801 GB, free: 1.141 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.003828/0.3346, allocations: 1.482 MB / 0.6815 GB, free: 15.66 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001823/0.3365, allocations: 0.8041 MB / 0.6823 GB, free: 14.84 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.994e-05/0.3365, allocations: 0 / 0.6823 GB, free: 14.84 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 9.986e-05/0.3366, allocations: 7.938 kB / 0.6823 GB, free: 14.84 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.174e-05/0.3367, allocations: 4 kB / 0.6823 GB, free: 14.83 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000726/0.3375, allocations: 127.8 kB / 0.6825 GB, free: 14.71 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.000107/0.3376, allocations: 39.91 kB / 0.6825 GB, free: 14.67 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000138/0.3377, allocations: 4.281 kB / 0.6825 GB, free: 14.66 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.656e-05/0.3378, allocations: 19.92 kB / 0.6825 GB, free: 14.64 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.248e-05/0.3379, allocations: 19.92 kB / 0.6825 GB, free: 14.62 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.947e-05/0.3379, allocations: 4 kB / 0.6825 GB, free: 14.62 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004365/0.3383, allocations: 187.7 kB / 0.6827 GB, free: 14.44 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.408e-05/0.3384, allocations: 7.984 kB / 0.6827 GB, free: 14.43 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.209e-05/0.3385, allocations: 19.88 kB / 0.6827 GB, free: 14.41 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002687/0.3388, allocations: 131.7 kB / 0.6829 GB, free: 14.28 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.3388, allocations: 0 / 0.6829 GB, free: 14.28 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.3388, allocations: 0 / 0.6829 GB, free: 14.28 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.436e-06/0.3388, allocations: 4 kB / 0.6829 GB, free: 14.28 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006673/0.3395, allocations: 426.8 kB / 0.6833 GB, free: 13.8 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.003e-05/0.3395, allocations: 12.03 kB / 0.6833 GB, free: 13.79 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.865e-05/0.3396, allocations: 4.844 kB / 0.6833 GB, free: 13.79 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001941/0.3398, allocations: 176.3 kB / 0.6835 GB, free: 13.57 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.552e-05/0.3398, allocations: 384 / 0.6835 GB, free: 13.57 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.95e-05/0.3398, allocations: 4.375 kB / 0.6835 GB, free: 13.57 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002362/0.3401, allocations: 89.84 kB / 0.6836 GB, free: 13.48 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/0.3401, allocations: 3.984 kB / 0.6836 GB, free: 13.47 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.226e-05/0.3401, allocations: 0 / 0.6836 GB, free: 13.47 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.3401, allocations: 4 kB / 0.6836 GB, free: 13.47 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000144/0.3403, allocations: 47.97 kB / 0.6836 GB, free: 13.42 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005175/0.3408, allocations: 272.9 kB / 0.6839 GB, free: 13.11 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001527/0.341, allocations: 54.56 kB / 0.6839 GB, free: 13.04 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001175/0.3411, allocations: 48.84 kB / 0.684 GB, free: 12.99 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.365e-05/0.3412, allocations: 11.94 kB / 0.684 GB, free: 12.98 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.797e-05/0.3412, allocations: 30.56 kB / 0.684 GB, free: 12.94 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.393e-06/0.3412, allocations: 0 / 0.684 GB, free: 12.94 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005443/0.3417, allocations: 187.2 kB / 0.6842 GB, free: 12.75 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.769e-05/0.3418, allocations: 81.11 kB / 0.6843 GB, free: 12.65 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001445/0.342, allocations: 125.8 kB / 0.6844 GB, free: 12.52 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.346e-05/0.342, allocations: 25.7 kB / 0.6844 GB, free: 12.48 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.161e-05/0.3421, allocations: 92.17 kB / 0.6845 GB, free: 12.39 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.883e-05/0.3421, allocations: 3.906 kB / 0.6845 GB, free: 12.39 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.651e-05/0.3422, allocations: 25.7 kB / 0.6845 GB, free: 12.36 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000133/0.3424, allocations: 318.8 kB / 0.6848 GB, free: 12.04 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001442/0.3425, allocations: 59.95 kB / 0.6849 GB, free: 11.98 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001297/0.3427, allocations: 55.91 kB / 0.6849 GB, free: 11.92 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002979/0.343, allocations: 197.8 kB / 0.6851 GB, free: 11.71 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.332e-06/0.343, allocations: 4.062 kB / 0.6851 GB, free: 11.7 MB / 494.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004153/0.3434, allocations: 220.9 kB / 0.6853 GB, free: 11.47 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001138/0.3435, allocations: 65.73 kB / 0.6854 GB, free: 11.39 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/0.3436, allocations: 0 / 0.6854 GB, free: 11.39 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.3436, allocations: 0 / 0.6854 GB, free: 11.39 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.246e-05/0.3437, allocations: 4 kB / 0.6854 GB, free: 11.39 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.3437, allocations: 0 / 0.6854 GB, free: 11.39 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.132e-05/0.3437, allocations: 7.984 kB / 0.6854 GB, free: 11.38 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.818e-05/0.3438, allocations: 4 kB / 0.6854 GB, free: 11.38 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: 1 (cubSpl.i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 2 * 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.000166/0.3439, allocations: 160.1 kB / 0.6856 GB, free: 11.21 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.448e-05/0.344, allocations: 11.84 kB / 0.6856 GB, free: 11.2 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.361e-05/0.344, allocations: 7.906 kB / 0.6856 GB, free: 11.18 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.3441, allocations: 0 / 0.6856 GB, free: 11.18 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.633e-06/0.3441, allocations: 0 / 0.6856 GB, free: 11.18 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.3441, allocations: 0 / 0.6856 GB, free: 11.18 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002375/0.3443, allocations: 177.6 kB / 0.6858 GB, free: 10.96 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.3443, allocations: 0 / 0.6858 GB, free: 10.96 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.132e-05/0.3444, allocations: 0 / 0.6858 GB, free: 10.96 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.2e-06/0.3444, allocations: 4 kB / 0.6858 GB, free: 10.96 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.341e-05/0.3444, allocations: 4 kB / 0.6858 GB, free: 10.95 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.3444, allocations: 3.984 kB / 0.6858 GB, free: 10.95 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.3444, allocations: 0 / 0.6858 GB, free: 10.95 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003583/0.3448, allocations: 245.1 kB / 0.686 GB, free: 10.69 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.449e-05/0.3449, allocations: 81.02 kB / 0.6861 GB, free: 10.59 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.619e-05/0.3449, allocations: 4 kB / 0.6861 GB, free: 10.59 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.888e-05/0.345, allocations: 8.219 kB / 0.6861 GB, free: 10.58 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001722/0.3452, allocations: 11.97 kB / 0.6861 GB, free: 10.57 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.105e-05/0.3452, allocations: 7.938 kB / 0.6861 GB, free: 10.56 MB / 494.1 MB Notification: Performance of sorting global known variables: time 8.112e-05/0.3453, allocations: 95.27 kB / 0.6862 GB, free: 10.46 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.3453, allocations: 0 / 0.6862 GB, free: 10.46 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004923/0.3458, allocations: 63.92 kB / 0.6863 GB, free: 10.4 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: 1 (cubSpl.i) * Number of discrete states: 1 (cubSpl.i) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 1 * 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.0003685/0.3462, allocations: 155.1 kB / 0.6864 GB, free: 10.24 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000444/0.3466, allocations: 234.7 kB / 0.6866 GB, free: 9.988 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.3467, allocations: 8 kB / 0.6866 GB, free: 9.98 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001591/0.3468, allocations: 99.38 kB / 0.6867 GB, free: 9.871 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003231/0.3472, allocations: 7.938 kB / 0.6867 GB, free: 9.863 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00056/0.3477, allocations: 224.8 kB / 0.687 GB, free: 9.613 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003742/0.3481, allocations: 0.6809 MB / 0.6876 GB, free: 8.906 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.413e-05/0.3482, allocations: 15.5 kB / 0.6876 GB, free: 8.891 MB / 494.1 MB Notification: Performance of SimCode: time 2.71e-07/0.3482, allocations: 0 / 0.6876 GB, free: 8.891 MB / 494.1 MB Notification: Performance of Templates: time 0.004759/0.3529, allocations: 1.479 MB / 0.6891 GB, free: 7.418 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.makefile make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.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.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSplineCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSplineCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSplineCalcHelperMain.o] Error 1