Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008286/0.0008286, allocations: 100.5 kB / 15.71 MB, free: 452 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.0009096/0.0009098, allocations: 174.9 kB / 16.58 MB, free: 6.422 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.4/1.4, allocations: 223.2 MB / 240.6 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8008/0.8008, allocations: 132.3 MB / 424 MB, free: 2.074 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003619/0.000362, allocations: 8 kB / 0.504 GB, free: 4.246 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4899/0.4903, allocations: 81.57 MB / 0.5837 GB, free: 3.977 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.001556/0.4919, allocations: 1.176 MB / 0.5848 GB, free: 3.117 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009536/0.4929, allocations: 0.5851 MB / 0.5854 GB, free: 2.715 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.127e-05/0.4929, allocations: 0.6562 kB / 0.5854 GB, free: 2.715 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.104e-05/0.4929, allocations: 5.391 kB / 0.5854 GB, free: 2.711 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.112e-05/0.493, allocations: 6.656 kB / 0.5854 GB, free: 2.707 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004907/0.4935, allocations: 139.1 kB / 0.5855 GB, free: 2.641 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 8.711e-05/0.4936, allocations: 42.75 kB / 0.5856 GB, free: 2.625 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.525e-05/0.4936, allocations: 4.125 kB / 0.5856 GB, free: 2.625 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.783e-05/0.4937, allocations: 19.44 kB / 0.5856 GB, free: 2.617 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.63e-05/0.4938, allocations: 29.8 kB / 0.5856 GB, free: 2.602 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.649e-05/0.4938, allocations: 3.469 kB / 0.5856 GB, free: 2.602 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005755/0.4944, allocations: 333.5 kB / 0.586 GB, free: 2.512 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.976e-05/0.4944, allocations: 18.03 kB / 0.586 GB, free: 2.5 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.498e-05/0.4944, allocations: 29.67 kB / 0.586 GB, free: 2.469 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002294/0.4947, allocations: 119.8 kB / 0.5861 GB, free: 2.438 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.846e-06/0.4947, allocations: 1.094 kB / 0.5861 GB, free: 2.438 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.086e-06/0.4947, allocations: 3.938 kB / 0.5861 GB, free: 2.434 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.509e-06/0.4947, allocations: 3.938 kB / 0.5861 GB, free: 2.43 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005001/0.4952, allocations: 388.8 kB / 0.5865 GB, free: 2.047 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/0.4953, allocations: 13.06 kB / 0.5865 GB, free: 2.043 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.592e-05/0.4953, allocations: 6.5 kB / 0.5865 GB, free: 2.039 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.728e-05/0.4954, allocations: 174.9 kB / 0.5867 GB, free: 1.832 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.016e-05/0.4954, allocations: 7.312 kB / 0.5867 GB, free: 1.828 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.846e-05/0.4955, allocations: 5.594 kB / 0.5867 GB, free: 1.828 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000239/0.4957, allocations: 82.56 kB / 0.5868 GB, free: 1.781 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.4957, allocations: 0 / 0.5868 GB, free: 1.781 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.495e-05/0.4958, allocations: 5.125 kB / 0.5868 GB, free: 1.777 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.632e-06/0.4958, allocations: 1.453 kB / 0.5868 GB, free: 1.777 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002348/0.496, allocations: 64.23 kB / 0.5868 GB, free: 1.762 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000527/0.4966, allocations: 329.8 kB / 0.5872 GB, free: 1.461 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000267/0.4968, allocations: 90.14 kB / 0.5872 GB, free: 1.418 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001106/0.497, allocations: 35.59 kB / 0.5873 GB, free: 1.402 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.363e-05/0.497, allocations: 1.375 kB / 0.5873 GB, free: 1.402 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.184e-05/0.497, allocations: 32.86 kB / 0.5873 GB, free: 1.363 MB / 430.1 MB Notification: Performance of pre-optimization done (n=7): time 1.132e-06/0.497, allocations: 0 / 0.5873 GB, free: 1.363 MB / 430.1 MB Notification: Performance of matching and sorting (n=11): time 0.001548/0.4986, allocations: 0.6749 MB / 0.588 GB, free: 0.832 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.822e-05/0.4986, allocations: 52.56 kB / 0.588 GB, free: 0.7695 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.555e-05/0.4987, allocations: 97.95 kB / 0.5881 GB, free: 0.6719 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.332e-05/0.4987, allocations: 29.7 kB / 0.5881 GB, free: 0.6367 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.287e-05/0.4987, allocations: 97.06 kB / 0.5882 GB, free: 0.543 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.135e-05/0.4988, allocations: 38.56 kB / 0.5883 GB, free: 0.5117 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.31e-06/0.4988, allocations: 0 / 0.5883 GB, free: 0.5117 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.634e-05/0.4988, allocations: 323.2 kB / 0.5886 GB, free: 196 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001259/0.499, allocations: 35.89 kB / 0.5886 GB, free: 188 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001179/0.4991, allocations: 36.45 kB / 0.5886 GB, free: 180 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001291/0.4992, allocations: 44.03 kB / 0.5887 GB, free: 164 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.42e-07/0.4992, allocations: 1.25 kB / 0.5887 GB, free: 164 kB / 430.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003021/0.4996, allocations: 125.6 kB / 0.5888 GB, free: 104 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.257e-05/0.4996, allocations: 11.44 kB / 0.5888 GB, free: 100 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.4996, allocations: 5.359 kB / 0.5888 GB, free: 96 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.4996, allocations: 0 / 0.5888 GB, free: 96 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001612/0.4998, allocations: 35.7 kB / 0.5889 GB, free: 88 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.227e-06/0.4998, allocations: 5.125 kB / 0.5889 GB, free: 84 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.091e-05/0.4999, allocations: 10.84 kB / 0.5889 GB, free: 80 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.698e-06/0.4999, allocations: 3.156 kB / 0.5889 GB, free: 80 kB / 430.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 (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.000102/0.5, allocations: 119.1 kB / 0.589 GB, free: 15.96 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.082e-05/0.5, allocations: 4.828 kB / 0.589 GB, free: 15.96 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004097/0.5004, allocations: 144.2 kB / 0.5891 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.5005, allocations: 1.219 kB / 0.5891 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.491e-06/0.5005, allocations: 0 / 0.5891 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.5005, allocations: 0.9375 kB / 0.5891 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005898/0.5011, allocations: 398.7 kB / 0.5895 GB, free: 15.54 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.5011, allocations: 0 / 0.5895 GB, free: 15.54 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001505/0.5012, allocations: 30.02 kB / 0.5895 GB, free: 15.54 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.947e-06/0.5013, allocations: 1.844 kB / 0.5895 GB, free: 15.54 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.005e-05/0.5013, allocations: 0.9375 kB / 0.5895 GB, free: 15.54 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.449e-06/0.5013, allocations: 1.734 kB / 0.5895 GB, free: 15.54 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.5013, allocations: 3.938 kB / 0.5896 GB, free: 15.53 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005031/0.5018, allocations: 263.2 kB / 0.5898 GB, free: 15.36 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.387e-05/0.5019, allocations: 79.14 kB / 0.5899 GB, free: 15.27 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.152e-05/0.5019, allocations: 9.328 kB / 0.5899 GB, free: 15.26 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001135/0.502, allocations: 12.86 kB / 0.5899 GB, free: 15.25 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.587e-05/0.502, allocations: 6.297 kB / 0.5899 GB, free: 15.25 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.052e-05/0.5021, allocations: 3.875 kB / 0.5899 GB, free: 15.25 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.508e-05/0.5021, allocations: 87.59 kB / 0.59 GB, free: 15.17 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5021, allocations: 0 / 0.59 GB, free: 15.17 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000315/0.5024, allocations: 39.69 kB / 0.59 GB, free: 15.16 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (dp_comp,der_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 (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.00023/0.5027, allocations: 130.7 kB / 0.5902 GB, free: 15.06 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003228/0.503, allocations: 90.12 kB / 0.5902 GB, free: 15.04 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.503, allocations: 0.9688 kB / 0.5902 GB, free: 15.04 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001465/0.5032, allocations: 50.06 kB / 0.5903 GB, free: 15.03 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002938/0.5035, allocations: 17.17 kB / 0.5903 GB, free: 15.02 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007479/0.5042, allocations: 404.9 kB / 0.5907 GB, free: 14.71 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002696/0.5045, allocations: 0.6902 MB / 0.5914 GB, free: 14.01 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.167e-05/0.5046, allocations: 16 kB / 0.5914 GB, free: 14 MB / 446.1 MB Notification: Performance of SimCode: time 3.2e-07/0.5046, allocations: 1.156 kB / 0.5914 GB, free: 14 MB / 446.1 MB Notification: Performance of Templates: time 0.003738/0.5083, allocations: 1.297 MB / 0.5926 GB, free: 13.9 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile make -j1 -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_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_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2CalcHelperMain.o OMCppIDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2CalcHelperMain.o] Error 1