Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-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(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.0009809/0.0009809, allocations: 102.6 kB / 15.71 MB, free: 460 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.001727/0.001727, allocations: 176.3 kB / 16.58 MB, free: 6.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.676/1.676, allocations: 223.2 MB / 240.6 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.09/1.09, allocations: 135.3 MB / 427 MB, free: 14.18 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003419/0.0003419, allocations: 8 kB / 0.5076 GB, free: 5.273 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2011/0.2015, allocations: 82.31 MB / 0.588 GB, free: 3.133 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.001639/0.2031, allocations: 0.9789 MB / 0.5889 GB, free: 2.137 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001104/0.2043, allocations: 0.5666 MB / 0.5895 GB, free: 1.57 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.33e-05/0.2043, allocations: 0 / 0.5895 GB, free: 1.57 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.651e-05/0.2043, allocations: 7.938 kB / 0.5895 GB, free: 1.562 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.556e-05/0.2044, allocations: 0 / 0.5895 GB, free: 1.562 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004612/0.2049, allocations: 119.6 kB / 0.5896 GB, free: 1.445 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.239e-05/0.2049, allocations: 19.92 kB / 0.5896 GB, free: 1.426 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.746e-05/0.205, allocations: 3.984 kB / 0.5896 GB, free: 1.422 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.595e-05/0.205, allocations: 11.94 kB / 0.5897 GB, free: 1.41 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.874e-05/0.2051, allocations: 4 kB / 0.5897 GB, free: 1.406 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.422e-05/0.2051, allocations: 0 / 0.5897 GB, free: 1.406 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005045/0.2056, allocations: 335.3 kB / 0.59 GB, free: 1.078 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.436e-05/0.2057, allocations: 11.98 kB / 0.59 GB, free: 1.066 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.927e-05/0.2057, allocations: 29.64 kB / 0.59 GB, free: 1.031 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001744/0.2059, allocations: 96.11 kB / 0.5901 GB, free: 0.9375 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.2059, allocations: 0 / 0.5901 GB, free: 0.9375 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.2059, allocations: 0 / 0.5901 GB, free: 0.9375 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.559e-06/0.2059, allocations: 4 kB / 0.5901 GB, free: 0.9336 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.0004196/0.2063, allocations: 363.1 kB / 0.5905 GB, free: 0.5312 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/0.2064, allocations: 12.03 kB / 0.5905 GB, free: 0.5195 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.878e-05/0.2064, allocations: 0 / 0.5905 GB, free: 0.5195 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001271/0.2066, allocations: 167 kB / 0.5906 GB, free: 324 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.341e-05/0.2066, allocations: 4 kB / 0.5906 GB, free: 320 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.133e-05/0.2066, allocations: 4 kB / 0.5906 GB, free: 316 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001084/0.2067, allocations: 37.69 kB / 0.5907 GB, free: 272 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.2067, allocations: 4 kB / 0.5907 GB, free: 268 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.285e-05/0.2068, allocations: 8 kB / 0.5907 GB, free: 260 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.628e-06/0.2068, allocations: 0 / 0.5907 GB, free: 260 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.362e-05/0.2068, allocations: 11.92 kB / 0.5907 GB, free: 248 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001875/0.207, allocations: 161.7 kB / 0.5909 GB, free: 36 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001854/0.2072, allocations: 42.56 kB / 0.5909 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.096e-05/0.2072, allocations: 16.86 kB / 0.5909 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.93e-05/0.2073, allocations: 4 kB / 0.5909 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.25e-05/0.2073, allocations: 30.56 kB / 0.5909 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.2073, allocations: 0 / 0.5909 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.0006321/0.2079, allocations: 322.1 kB / 0.5912 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.699e-05/0.208, allocations: 51.41 kB / 0.5913 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.103e-05/0.2081, allocations: 93.86 kB / 0.5914 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/0.2081, allocations: 29.7 kB / 0.5914 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.933e-05/0.2082, allocations: 84.14 kB / 0.5915 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.821e-05/0.2082, allocations: 19.8 kB / 0.5915 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.757e-06/0.2082, allocations: 3.938 kB / 0.5915 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001252/0.2083, allocations: 314.8 kB / 0.5918 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.558e-05/0.2084, allocations: 15.98 kB / 0.5918 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.06e-05/0.2084, allocations: 11.98 kB / 0.5918 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.918e-05/0.2084, allocations: 12 kB / 0.5919 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.61e-07/0.2084, allocations: 0 / 0.5919 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.45e-05/0.2085, allocations: 69.53 kB / 0.5919 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.232e-05/0.2086, allocations: 8 kB / 0.5919 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.369e-06/0.2086, allocations: 0 / 0.5919 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.14e-05/0.2086, allocations: 0 / 0.5919 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.157e-05/0.2086, allocations: 16 kB / 0.5919 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.2086, allocations: 3.938 kB / 0.592 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.634e-05/0.2087, allocations: 0 / 0.592 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.077e-06/0.2087, allocations: 4.516 kB / 0.592 GB, free: 14.79 MB / 0.4981 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 (7): * Single equations (assignments): 7 * 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 8.534e-05/0.2088, allocations: 117.8 kB / 0.5921 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.688e-06/0.2088, allocations: 4 kB / 0.5921 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000138/0.2089, allocations: 73.59 kB / 0.5921 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.2089, allocations: 0 / 0.5921 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.209, allocations: 0 / 0.5921 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.03e-06/0.209, allocations: 3.984 kB / 0.5921 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003291/0.2093, allocations: 315.5 kB / 0.5924 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.2093, allocations: 4.062 kB / 0.5925 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.904e-05/0.2094, allocations: 12 kB / 0.5925 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.023e-06/0.2094, allocations: 0 / 0.5925 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.909e-06/0.2094, allocations: 4.031 kB / 0.5925 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.2094, allocations: 4.234 kB / 0.5925 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.2094, allocations: 0 / 0.5925 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001873/0.2096, allocations: 184.2 kB / 0.5926 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.521e-05/0.2097, allocations: 89.12 kB / 0.5927 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.506e-05/0.2097, allocations: 0 / 0.5927 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.63e-05/0.2098, allocations: 3.938 kB / 0.5927 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.928e-05/0.2098, allocations: 8.062 kB / 0.5927 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.042e-06/0.2098, allocations: 4 kB / 0.5927 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.951e-05/0.2099, allocations: 79.28 kB / 0.5928 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.2099, allocations: 0 / 0.5928 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002328/0.2101, allocations: 27.92 kB / 0.5928 GB, free: 13.75 MB / 0.4981 GB 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 (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.0001962/0.2103, allocations: 119.2 kB / 0.593 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 9.753e-05/0.2104, allocations: 31.98 kB / 0.593 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.2104, allocations: 0 / 0.593 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.63e-05/0.2105, allocations: 23.94 kB / 0.593 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002199/0.2107, allocations: 9.828 kB / 0.593 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000461/0.2111, allocations: 263.2 kB / 0.5933 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002905/0.2114, allocations: 0.6809 MB / 0.5939 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.454e-05/0.2115, allocations: 11.44 kB / 0.594 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of SimCode: time 2e-07/0.2115, allocations: 0 / 0.594 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of Templates: time 0.002426/0.2139, allocations: 0.7759 MB / 0.5947 GB, free: 11.79 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.makefile make -j1 -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.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 OMCppIDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheckCalcHelperMain.o OMCppIDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheckCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheckCalcHelperMain.o] Error 1