Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.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.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") translateModel(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001786/0.001786, 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.00258/0.00258, allocations: 197.2 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.387/2.387, allocations: 222.9 MB / 240.5 MB, free: 4.465 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.003568/0.003568, allocations: 286.5 kB / 290.9 MB, free: 2.086 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.651/1.651, allocations: 169.2 MB / 0.4983 GB, free: 14.15 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00283/0.00283, allocations: 86.33 kB / 0.5951 GB, free: 28.17 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3285/0.3314, allocations: 86.99 MB / 0.6801 GB, free: 1.148 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.004366/0.3358, allocations: 1.325 MB / 0.6814 GB, free: 15.82 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001769/0.3376, allocations: 0.6396 MB / 0.682 GB, free: 15.18 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.037e-05/0.3377, allocations: 0 / 0.682 GB, free: 15.18 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.31e-05/0.3377, allocations: 0 / 0.682 GB, free: 15.18 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.549e-05/0.3379, allocations: 3.938 kB / 0.682 GB, free: 15.18 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008284/0.3387, allocations: 125.3 kB / 0.6821 GB, free: 15.06 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.373e-05/0.3388, allocations: 15.94 kB / 0.6821 GB, free: 15.05 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.839e-05/0.3389, allocations: 4 kB / 0.6822 GB, free: 15.04 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.636e-05/0.3389, allocations: 11.92 kB / 0.6822 GB, free: 15.03 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.197e-05/0.339, allocations: 8 kB / 0.6822 GB, free: 15.02 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.634e-05/0.3391, allocations: 0.5938 kB / 0.6822 GB, free: 15.02 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000862/0.3399, allocations: 344 kB / 0.6825 GB, free: 14.69 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.279e-05/0.34, allocations: 7.938 kB / 0.6825 GB, free: 14.68 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.558e-05/0.34, allocations: 12.84 kB / 0.6825 GB, free: 14.67 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002853/0.3403, allocations: 96.06 kB / 0.6826 GB, free: 14.57 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.3404, allocations: 0.625 kB / 0.6826 GB, free: 14.57 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3404, allocations: 0 / 0.6826 GB, free: 14.57 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.107e-05/0.3404, allocations: 1.344 kB / 0.6826 GB, free: 14.57 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.0006186/0.341, allocations: 359.5 kB / 0.683 GB, free: 14.17 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.089e-05/0.3411, allocations: 12.75 kB / 0.683 GB, free: 14.16 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.142e-05/0.3412, allocations: 4.844 kB / 0.683 GB, free: 14.16 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001727/0.3413, allocations: 168.3 kB / 0.6831 GB, free: 13.95 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.681e-05/0.3414, allocations: 8.375 kB / 0.6831 GB, free: 13.95 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.904e-05/0.3414, allocations: 4.375 kB / 0.6831 GB, free: 13.94 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001665/0.3416, allocations: 38.25 kB / 0.6832 GB, free: 13.9 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-06/0.3416, allocations: 192 / 0.6832 GB, free: 13.9 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.924e-05/0.3417, allocations: 7.938 kB / 0.6832 GB, free: 13.89 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.3417, allocations: 0 / 0.6832 GB, free: 13.89 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.125e-05/0.3418, allocations: 11.98 kB / 0.6832 GB, free: 13.88 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002782/0.3421, allocations: 157.7 kB / 0.6834 GB, free: 13.68 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002864/0.3424, allocations: 50.5 kB / 0.6834 GB, free: 13.62 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.448e-05/0.3424, allocations: 20.84 kB / 0.6834 GB, free: 13.59 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.625e-05/0.3425, allocations: 0 / 0.6834 GB, free: 13.59 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.648e-05/0.3425, allocations: 38.64 kB / 0.6835 GB, free: 13.55 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.433e-06/0.3426, allocations: 0 / 0.6835 GB, free: 13.55 MB / 494.1 MB Notification: Performance of matching and sorting (n=6): time 0.001017/0.3436, allocations: 314.1 kB / 0.6838 GB, free: 13.19 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.556e-05/0.3437, allocations: 51.41 kB / 0.6838 GB, free: 13.12 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001242/0.3438, allocations: 93.86 kB / 0.6839 GB, free: 13.02 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.533e-05/0.3438, allocations: 33.62 kB / 0.6839 GB, free: 12.98 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.481e-05/0.3439, allocations: 88.14 kB / 0.684 GB, free: 12.89 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.062e-05/0.344, allocations: 11.72 kB / 0.684 GB, free: 12.88 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.551e-05/0.344, allocations: 17.72 kB / 0.684 GB, free: 12.86 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001707/0.3442, allocations: 322.8 kB / 0.6843 GB, free: 12.54 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.709e-05/0.3443, allocations: 12 kB / 0.6844 GB, free: 12.52 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.675e-05/0.3443, allocations: 11.94 kB / 0.6844 GB, free: 12.51 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.935e-05/0.3444, allocations: 36.84 kB / 0.6844 GB, free: 12.47 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.3445, allocations: 0 / 0.6844 GB, free: 12.47 MB / 494.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001726/0.3446, allocations: 65.67 kB / 0.6845 GB, free: 12.4 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.152e-05/0.3447, allocations: 7.938 kB / 0.6845 GB, free: 12.39 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.3447, allocations: 0 / 0.6845 GB, free: 12.39 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/0.3447, allocations: 0 / 0.6845 GB, free: 12.39 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.912e-05/0.3448, allocations: 12 kB / 0.6845 GB, free: 12.38 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/0.3448, allocations: 4.172 kB / 0.6845 GB, free: 12.38 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.539e-05/0.3449, allocations: 8 kB / 0.6845 GB, free: 12.37 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.925e-06/0.3449, allocations: 0 / 0.6845 GB, free: 12.37 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 (7): * Single equations (assignments): 7 * 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.0001216/0.345, allocations: 114.4 kB / 0.6846 GB, free: 12.25 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.487e-05/0.3451, allocations: 11.83 kB / 0.6846 GB, free: 12.24 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000229/0.3453, allocations: 77.59 kB / 0.6847 GB, free: 12.16 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.3453, allocations: 0 / 0.6847 GB, free: 12.16 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.3454, allocations: 0 / 0.6847 GB, free: 12.16 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.3454, allocations: 0 / 0.6847 GB, free: 12.16 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005442/0.3459, allocations: 319.5 kB / 0.685 GB, free: 11.79 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.069e-06/0.3459, allocations: 4 kB / 0.685 GB, free: 11.78 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001049/0.3461, allocations: 12 kB / 0.685 GB, free: 11.77 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.3461, allocations: 0 / 0.685 GB, free: 11.77 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.137e-05/0.3461, allocations: 0 / 0.685 GB, free: 11.77 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.019e-05/0.3461, allocations: 11.92 kB / 0.685 GB, free: 11.76 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/0.3461, allocations: 0 / 0.685 GB, free: 11.76 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003189/0.3465, allocations: 180.4 kB / 0.6852 GB, free: 11.56 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.518e-05/0.3466, allocations: 89.05 kB / 0.6853 GB, free: 11.46 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.152e-05/0.3466, allocations: 0 / 0.6853 GB, free: 11.46 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001391/0.3468, allocations: 7.984 kB / 0.6853 GB, free: 11.45 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.592e-05/0.3468, allocations: 0 / 0.6853 GB, free: 11.45 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.226e-05/0.3468, allocations: 4 kB / 0.6853 GB, free: 11.45 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.054e-05/0.3469, allocations: 83.73 kB / 0.6854 GB, free: 11.36 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.3469, allocations: 0 / 0.6854 GB, free: 11.36 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004768/0.3474, allocations: 23.98 kB / 0.6854 GB, free: 11.34 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (dp_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 (6): * Single equations (assignments): 6 * 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.0002983/0.3477, allocations: 127.2 kB / 0.6855 GB, free: 11.21 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001611/0.3479, allocations: 35.98 kB / 0.6855 GB, free: 11.17 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.3479, allocations: 0 / 0.6855 GB, free: 11.17 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 5.31e-05/0.3479, allocations: 19.94 kB / 0.6856 GB, free: 11.15 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004232/0.3484, allocations: 3.938 kB / 0.6856 GB, free: 11.15 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006923/0.3491, allocations: 235.8 kB / 0.6858 GB, free: 10.88 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003618/0.3495, allocations: 0.677 MB / 0.6865 GB, free: 10.18 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.465e-05/0.3495, allocations: 15.44 kB / 0.6865 GB, free: 10.16 MB / 494.1 MB Notification: Performance of SimCode: time 6.61e-07/0.3495, allocations: 0 / 0.6865 GB, free: 10.16 MB / 494.1 MB Notification: Performance of Templates: time 0.003916/0.3535, allocations: 0.7917 MB / 0.6872 GB, free: 9.379 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.makefile make -j1 -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.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.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheckCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheckCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheckCalcHelperMain.o] Error 1