Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.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_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001061/0.001061, allocations: 101.7 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.001634/0.001634, allocations: 180.1 kB / 16.59 MB, free: 6.125 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.573/1.573, allocations: 223.3 MB / 240.6 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.054/1.054, allocations: 135.3 MB / 427 MB, free: 14.23 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003789/0.000379, allocations: 8 kB / 0.5076 GB, free: 5.141 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2034/0.2038, allocations: 82.32 MB / 0.588 GB, free: 3 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.001707/0.2055, allocations: 0.9828 MB / 0.589 GB, free: 2 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001173/0.2067, allocations: 0.5744 MB / 0.5895 GB, free: 1.426 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.614e-05/0.2068, allocations: 4 kB / 0.5895 GB, free: 1.422 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.179e-05/0.2068, allocations: 3.938 kB / 0.5895 GB, free: 1.418 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.847e-05/0.2069, allocations: 0 / 0.5895 GB, free: 1.418 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000667/0.2076, allocations: 123.6 kB / 0.5896 GB, free: 1.297 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.239e-05/0.2076, allocations: 27.91 kB / 0.5897 GB, free: 1.27 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.24e-05/0.2077, allocations: 7.938 kB / 0.5897 GB, free: 1.262 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.136e-05/0.2077, allocations: 7.984 kB / 0.5897 GB, free: 1.254 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.753e-05/0.2078, allocations: 19.92 kB / 0.5897 GB, free: 1.234 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.366e-05/0.2078, allocations: 4 kB / 0.5897 GB, free: 1.23 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005754/0.2084, allocations: 335.3 kB / 0.59 GB, free: 0.9023 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.511e-05/0.2084, allocations: 11.94 kB / 0.59 GB, free: 0.8906 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.285e-05/0.2085, allocations: 29.7 kB / 0.5901 GB, free: 0.8555 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002217/0.2087, allocations: 100.1 kB / 0.5902 GB, free: 0.7578 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.471e-06/0.2087, allocations: 0 / 0.5902 GB, free: 0.7578 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.2087, allocations: 4 kB / 0.5902 GB, free: 0.7539 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.792e-06/0.2087, allocations: 0 / 0.5902 GB, free: 0.7539 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004731/0.2092, allocations: 363.1 kB / 0.5905 GB, free: 360 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.581e-05/0.2093, allocations: 16.02 kB / 0.5905 GB, free: 344 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.867e-05/0.2093, allocations: 0 / 0.5905 GB, free: 344 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001337/0.2095, allocations: 167 kB / 0.5907 GB, free: 136 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.506e-05/0.2095, allocations: 0 / 0.5907 GB, free: 136 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.763e-05/0.2095, allocations: 7.938 kB / 0.5907 GB, free: 128 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001316/0.2097, allocations: 49.69 kB / 0.5907 GB, free: 72 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.2097, allocations: 0 / 0.5907 GB, free: 72 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.221e-05/0.2097, allocations: 0 / 0.5907 GB, free: 72 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.99e-06/0.2097, allocations: 0 / 0.5907 GB, free: 72 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.483e-05/0.2098, allocations: 19.98 kB / 0.5908 GB, free: 52 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002241/0.21, allocations: 185.4 kB / 0.5909 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000108/0.2101, allocations: 58.5 kB / 0.591 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.663e-05/0.2102, allocations: 28.84 kB / 0.591 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.568e-05/0.2102, allocations: 4 kB / 0.591 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.093e-05/0.2103, allocations: 30.56 kB / 0.5911 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 1.072e-06/0.2103, allocations: 0 / 0.5911 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11): time 0.001188/0.2115, allocations: 0.5875 MB / 0.5916 GB, free: 15 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.165e-05/0.2115, allocations: 51.41 kB / 0.5917 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.585e-05/0.2116, allocations: 97.86 kB / 0.5918 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.818e-05/0.2116, allocations: 25.83 kB / 0.5918 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.413e-05/0.2117, allocations: 84.14 kB / 0.5919 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.443e-05/0.2117, allocations: 47.39 kB / 0.5919 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.318e-06/0.2117, allocations: 0 / 0.5919 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001221/0.2119, allocations: 322.8 kB / 0.5922 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.056e-05/0.2119, allocations: 16 kB / 0.5922 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.936e-05/0.212, allocations: 27.61 kB / 0.5923 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.25e-05/0.212, allocations: 31.94 kB / 0.5923 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.212, allocations: 0 / 0.5923 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001445/0.2122, allocations: 93.69 kB / 0.5924 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/0.2122, allocations: 15.92 kB / 0.5924 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.249e-06/0.2122, allocations: 0 / 0.5924 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.2122, allocations: 0 / 0.5924 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001079/0.2123, allocations: 20 kB / 0.5924 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.2124, allocations: 0 / 0.5924 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.35e-05/0.2124, allocations: 0 / 0.5924 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.06e-05/0.2124, allocations: 8 kB / 0.5924 GB, free: 14.14 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 (13): * Single equations (assignments): 13 * 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 0.0001022/0.2125, allocations: 125.7 kB / 0.5925 GB, free: 14 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.303e-05/0.2125, allocations: 0 / 0.5925 GB, free: 14 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002019/0.2127, allocations: 105.6 kB / 0.5927 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.958e-06/0.2128, allocations: 3.984 kB / 0.5927 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.2128, allocations: 0 / 0.5927 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.2128, allocations: 3.984 kB / 0.5927 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004472/0.2132, allocations: 358.3 kB / 0.593 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.2132, allocations: 0 / 0.593 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001011/0.2133, allocations: 23.98 kB / 0.593 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.2134, allocations: 0 / 0.593 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.157e-05/0.2134, allocations: 8 kB / 0.593 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.2134, allocations: 80 / 0.593 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.2134, allocations: 3.984 kB / 0.593 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002552/0.2136, allocations: 215.4 kB / 0.5932 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.545e-05/0.2137, allocations: 85.05 kB / 0.5933 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.8e-05/0.2137, allocations: 4 kB / 0.5933 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.121e-05/0.2138, allocations: 7.938 kB / 0.5933 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.493e-05/0.2139, allocations: 7.984 kB / 0.5933 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.496e-06/0.2139, allocations: 8.062 kB / 0.5933 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.198e-05/0.2139, allocations: 75.28 kB / 0.5934 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.51e-07/0.2139, allocations: 4 kB / 0.5934 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002914/0.2142, allocations: 39.98 kB / 0.5935 GB, free: 12.97 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (m_flow_comp,der_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 (11): * Single equations (assignments): 11 * 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.0002227/0.2144, allocations: 127.2 kB / 0.5936 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001415/0.2146, allocations: 59.91 kB / 0.5936 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.2146, allocations: 4 kB / 0.5936 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.823e-05/0.2147, allocations: 36.03 kB / 0.5937 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002205/0.2149, allocations: 7.953 kB / 0.5937 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005692/0.2155, allocations: 365 kB / 0.594 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002906/0.2158, allocations: 0.6848 MB / 0.5947 GB, free: 11.63 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.343e-05/0.2158, allocations: 19.44 kB / 0.5947 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of SimCode: time 2.51e-07/0.2158, allocations: 0 / 0.5947 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of Templates: time 0.003108/0.2189, allocations: 1.104 MB / 0.5958 GB, free: 10.52 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.makefile make -j1 -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.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_DerivativeCheck2CalcHelperMain.o OMCppIDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2CalcHelperMain.o] Error 1