Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_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_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") translateModel(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01077/0.01077, allocations: 100.8 kB / 15.87 MB, free: 5.863 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.002131/0.002131, allocations: 190 kB / 16.79 MB, free: 5.805 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.754/2.754, allocations: 222.9 MB / 240.5 MB, free: 4.551 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.003711/0.00371, allocations: 286.3 kB / 290.9 MB, free: 2.164 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.952/1.952, allocations: 169.2 MB / 0.4983 GB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003363/0.003364, allocations: 88.91 kB / 0.5951 GB, free: 28.24 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3658/0.3693, allocations: 86.98 MB / 0.6801 GB, free: 1.117 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.005593/0.3749, allocations: 1.315 MB / 0.6814 GB, free: 15.8 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002308/0.3773, allocations: 0.6301 MB / 0.682 GB, free: 15.17 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.077e-05/0.3774, allocations: 0.875 kB / 0.682 GB, free: 15.17 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 4.355e-05/0.3774, allocations: 0 / 0.682 GB, free: 15.17 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001228/0.3776, allocations: 8.562 kB / 0.682 GB, free: 15.16 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001119/0.3788, allocations: 127.5 kB / 0.6821 GB, free: 15.04 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 9.587e-05/0.3789, allocations: 19.88 kB / 0.6821 GB, free: 15.02 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.315e-05/0.379, allocations: 0.75 kB / 0.6821 GB, free: 15.02 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.044e-05/0.379, allocations: 7.984 kB / 0.6822 GB, free: 15.02 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.377e-05/0.3791, allocations: 15.94 kB / 0.6822 GB, free: 15 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.957e-05/0.3792, allocations: 0 / 0.6822 GB, free: 15 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009416/0.3801, allocations: 347.3 kB / 0.6825 GB, free: 14.66 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.033e-05/0.3802, allocations: 0 / 0.6825 GB, free: 14.66 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 6.463e-05/0.3803, allocations: 15.91 kB / 0.6825 GB, free: 14.64 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003849/0.3807, allocations: 96.12 kB / 0.6826 GB, free: 14.55 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.876e-06/0.3807, allocations: 0 / 0.6826 GB, free: 14.55 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.216e-06/0.3807, allocations: 0 / 0.6826 GB, free: 14.55 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.207e-06/0.3807, allocations: 0 / 0.6826 GB, free: 14.55 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.0007713/0.3815, allocations: 359.5 kB / 0.6829 GB, free: 14.15 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 9.399e-05/0.3816, allocations: 12.03 kB / 0.683 GB, free: 14.14 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001015/0.3817, allocations: 4.844 kB / 0.683 GB, free: 14.13 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000369/0.3821, allocations: 168.3 kB / 0.6831 GB, free: 13.93 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.498e-05/0.3822, allocations: 384 / 0.6831 GB, free: 13.93 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.347e-05/0.3822, allocations: 384 / 0.6831 GB, free: 13.93 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002363/0.3825, allocations: 42.25 kB / 0.6832 GB, free: 13.88 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.863e-05/0.3825, allocations: 4.188 kB / 0.6832 GB, free: 13.88 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.716e-05/0.3826, allocations: 3.938 kB / 0.6832 GB, free: 13.88 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.247e-05/0.3826, allocations: 0 / 0.6832 GB, free: 13.88 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.205e-05/0.3827, allocations: 19.92 kB / 0.6832 GB, free: 13.86 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000284/0.383, allocations: 161.7 kB / 0.6833 GB, free: 13.65 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003102/0.3833, allocations: 54.48 kB / 0.6834 GB, free: 13.59 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.773e-05/0.3834, allocations: 12.86 kB / 0.6834 GB, free: 13.57 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.423e-05/0.3834, allocations: 4 kB / 0.6834 GB, free: 13.57 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.51e-05/0.3835, allocations: 30.56 kB / 0.6834 GB, free: 13.53 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.453e-06/0.3835, allocations: 4 kB / 0.6834 GB, free: 13.52 MB / 494.1 MB Notification: Performance of matching and sorting (n=6): time 0.001095/0.3846, allocations: 314.2 kB / 0.6837 GB, free: 13.16 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.918e-05/0.3847, allocations: 55.41 kB / 0.6838 GB, free: 13.1 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002591/0.385, allocations: 93.86 kB / 0.6839 GB, free: 13 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.166e-05/0.385, allocations: 29.7 kB / 0.6839 GB, free: 12.96 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.745e-05/0.3851, allocations: 80.14 kB / 0.684 GB, free: 12.88 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.984e-05/0.3852, allocations: 15.7 kB / 0.684 GB, free: 12.86 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.266e-05/0.3852, allocations: 25.72 kB / 0.684 GB, free: 12.83 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0006788/0.3859, allocations: 318.8 kB / 0.6843 GB, free: 12.51 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.843e-05/0.386, allocations: 15.94 kB / 0.6844 GB, free: 12.5 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.961e-05/0.3861, allocations: 4 kB / 0.6844 GB, free: 12.49 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001284/0.3862, allocations: 36.84 kB / 0.6844 GB, free: 12.45 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.3862, allocations: 0 / 0.6844 GB, free: 12.45 MB / 494.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001948/0.3864, allocations: 61.69 kB / 0.6845 GB, free: 12.39 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.588e-05/0.3865, allocations: 11.92 kB / 0.6845 GB, free: 12.38 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.789e-06/0.3865, allocations: 0 / 0.6845 GB, free: 12.38 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.3e-05/0.3865, allocations: 4 kB / 0.6845 GB, free: 12.37 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.394e-05/0.3866, allocations: 19.94 kB / 0.6845 GB, free: 12.35 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.123e-05/0.3867, allocations: 0 / 0.6845 GB, free: 12.35 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.157e-05/0.3867, allocations: 0 / 0.6845 GB, free: 12.35 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.449e-05/0.3867, allocations: 4 kB / 0.6845 GB, free: 12.35 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.0001537/0.3869, allocations: 115.1 kB / 0.6846 GB, free: 12.23 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.769e-05/0.3869, allocations: 11.84 kB / 0.6846 GB, free: 12.21 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002765/0.3872, allocations: 69.64 kB / 0.6847 GB, free: 12.14 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.94e-06/0.3872, allocations: 0 / 0.6847 GB, free: 12.14 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.136e-06/0.3873, allocations: 4 kB / 0.6847 GB, free: 12.14 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/0.3873, allocations: 0 / 0.6847 GB, free: 12.14 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007858/0.3881, allocations: 319.3 kB / 0.685 GB, free: 11.77 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.3881, allocations: 192 / 0.685 GB, free: 11.77 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001171/0.3882, allocations: 15.98 kB / 0.685 GB, free: 11.75 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.55e-06/0.3883, allocations: 3.938 kB / 0.685 GB, free: 11.75 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.761e-05/0.3883, allocations: 4 kB / 0.685 GB, free: 11.74 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.937e-06/0.3883, allocations: 3.938 kB / 0.685 GB, free: 11.74 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.3883, allocations: 0 / 0.685 GB, free: 11.74 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004012/0.3887, allocations: 184.6 kB / 0.6852 GB, free: 11.54 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001162/0.3889, allocations: 85.02 kB / 0.6853 GB, free: 11.44 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.821e-05/0.3889, allocations: 4 kB / 0.6853 GB, free: 11.43 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001252/0.389, allocations: 0.5156 kB / 0.6853 GB, free: 11.43 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.801e-05/0.3891, allocations: 3.984 kB / 0.6853 GB, free: 11.43 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.087e-06/0.3891, allocations: 4 kB / 0.6853 GB, free: 11.43 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001776/0.3893, allocations: 91.33 kB / 0.6854 GB, free: 11.34 MB / 494.1 MB Notification: Performance of sort global known variables: time 5.01e-07/0.3893, allocations: 0 / 0.6854 GB, free: 11.34 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004904/0.3898, allocations: 16 kB / 0.6854 GB, free: 11.32 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (m_flow_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.0003379/0.3902, allocations: 127.2 kB / 0.6855 GB, free: 11.19 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001932/0.3904, allocations: 31.98 kB / 0.6855 GB, free: 11.16 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.3904, allocations: 0 / 0.6855 GB, free: 11.16 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 6.653e-05/0.3905, allocations: 23.92 kB / 0.6856 GB, free: 11.13 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004286/0.3909, allocations: 13.62 kB / 0.6856 GB, free: 11.12 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008792/0.3918, allocations: 231.6 kB / 0.6858 GB, free: 10.86 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000594/0.3924, allocations: 0.6809 MB / 0.6865 GB, free: 10.15 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001481/0.3926, allocations: 11.44 kB / 0.6865 GB, free: 10.14 MB / 494.1 MB Notification: Performance of SimCode: time 5.71e-07/0.3926, allocations: 0 / 0.6865 GB, free: 10.14 MB / 494.1 MB Notification: Performance of Templates: time 0.004329/0.397, allocations: 0.7871 MB / 0.6872 GB, free: 9.359 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.makefile make -j1 -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_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_dp_DerivativeCheckCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheckCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheckCalcHelperMain.o] Error 1