Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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_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.000781/0.000781, allocations: 98.88 kB / 16.02 MB, free: 76 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.001034/0.001034, allocations: 182.9 kB / 16.92 MB, free: 6.668 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.329/1.329, allocations: 223.3 MB / 241 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7239/0.7239, allocations: 132.3 MB / 424.4 MB, free: 1.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003125/0.0003124, allocations: 16.77 kB / 0.5046 GB, free: 3.895 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4133/0.4136, allocations: 81.57 MB / 0.5843 GB, free: 4.059 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.001187/0.4148, allocations: 1.007 MB / 0.5853 GB, free: 3.309 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.000902/0.4157, allocations: 0.6274 MB / 0.5859 GB, free: 2.875 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.487e-05/0.4158, allocations: 0 / 0.5859 GB, free: 2.875 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.27e-05/0.4158, allocations: 0.9688 kB / 0.5859 GB, free: 2.875 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 3.49e-05/0.4158, allocations: 10.88 kB / 0.5859 GB, free: 2.867 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004373/0.4163, allocations: 120 kB / 0.586 GB, free: 2.816 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.745e-05/0.4163, allocations: 24.5 kB / 0.586 GB, free: 2.809 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.696e-05/0.4164, allocations: 6.797 kB / 0.586 GB, free: 2.805 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.546e-05/0.4164, allocations: 15.61 kB / 0.5861 GB, free: 2.797 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.259e-05/0.4165, allocations: 15.7 kB / 0.5861 GB, free: 2.789 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.129e-05/0.4165, allocations: 2.219 kB / 0.5861 GB, free: 2.789 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005106/0.417, allocations: 345.3 kB / 0.5864 GB, free: 2.688 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.373e-05/0.417, allocations: 7.578 kB / 0.5864 GB, free: 2.684 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.031e-05/0.4171, allocations: 39.73 kB / 0.5865 GB, free: 2.645 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001889/0.4173, allocations: 101.2 kB / 0.5865 GB, free: 2.621 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.4173, allocations: 0 / 0.5865 GB, free: 2.621 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.4173, allocations: 0.9062 kB / 0.5865 GB, free: 2.621 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.687e-06/0.4173, allocations: 0 / 0.5865 GB, free: 2.621 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003329/0.4176, allocations: 366.2 kB / 0.5869 GB, free: 2.238 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/0.4177, allocations: 8.625 kB / 0.5869 GB, free: 2.238 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.57e-05/0.4177, allocations: 4.438 kB / 0.5869 GB, free: 2.238 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.878e-05/0.4178, allocations: 171.1 kB / 0.5871 GB, free: 2.035 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.244e-05/0.4178, allocations: 1.781 kB / 0.5871 GB, free: 2.035 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.835e-05/0.4178, allocations: 3 kB / 0.5871 GB, free: 2.035 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001144/0.418, allocations: 54.83 kB / 0.5871 GB, free: 1.992 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.418, allocations: 0 / 0.5871 GB, free: 1.992 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/0.418, allocations: 5.5 kB / 0.5871 GB, free: 1.988 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.418, allocations: 1.375 kB / 0.5871 GB, free: 1.988 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.154e-05/0.4181, allocations: 22.27 kB / 0.5872 GB, free: 1.98 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001374/0.4182, allocations: 166.5 kB / 0.5873 GB, free: 1.781 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001017/0.4183, allocations: 64.83 kB / 0.5874 GB, free: 1.738 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.289e-05/0.4184, allocations: 28.62 kB / 0.5874 GB, free: 1.723 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.651e-05/0.4184, allocations: 2.859 kB / 0.5874 GB, free: 1.723 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.591e-05/0.4184, allocations: 42.5 kB / 0.5874 GB, free: 1.672 MB / 430.1 MB Notification: Performance of pre-optimization done (n=7): time 1.042e-06/0.4184, allocations: 4.688 kB / 0.5875 GB, free: 1.668 MB / 430.1 MB Notification: Performance of matching and sorting (n=11): time 0.0009176/0.4193, allocations: 0.5836 MB / 0.588 GB, free: 1.152 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.538e-05/0.4194, allocations: 53.34 kB / 0.5881 GB, free: 1.09 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.561e-05/0.4194, allocations: 97.5 kB / 0.5882 GB, free: 0.9883 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.134e-05/0.4194, allocations: 31.17 kB / 0.5882 GB, free: 0.9531 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.402e-05/0.4194, allocations: 81.47 kB / 0.5883 GB, free: 0.8711 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.765e-05/0.4195, allocations: 35.5 kB / 0.5883 GB, free: 0.8438 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.353e-05/0.4195, allocations: 22.77 kB / 0.5883 GB, free: 0.8203 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.053e-05/0.4195, allocations: 317.6 kB / 0.5886 GB, free: 0.5039 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.016e-05/0.4196, allocations: 18.75 kB / 0.5887 GB, free: 0.5 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.776e-05/0.4196, allocations: 27.47 kB / 0.5887 GB, free: 500 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.596e-05/0.4197, allocations: 61.61 kB / 0.5887 GB, free: 468 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.4197, allocations: 5.406 kB / 0.5887 GB, free: 464 kB / 430.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001385/0.4199, allocations: 95.78 kB / 0.5888 GB, free: 408 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.056e-05/0.4199, allocations: 5.5 kB / 0.5888 GB, free: 408 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.655e-06/0.4199, allocations: 1.438 kB / 0.5888 GB, free: 408 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.877e-06/0.4199, allocations: 0 / 0.5888 GB, free: 408 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.264e-05/0.42, allocations: 25.98 kB / 0.5889 GB, free: 404 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.695e-06/0.42, allocations: 0 / 0.5889 GB, free: 404 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.296e-05/0.4201, allocations: 5.094 kB / 0.5889 GB, free: 400 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.404e-06/0.4201, allocations: 3 kB / 0.5889 GB, free: 400 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.192e-05/0.4201, allocations: 123.1 kB / 0.589 GB, free: 272 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.48e-05/0.4201, allocations: 6.766 kB / 0.589 GB, free: 268 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001807/0.4203, allocations: 113.4 kB / 0.5891 GB, free: 196 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.4203, allocations: 1.219 kB / 0.5891 GB, free: 196 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/0.4204, allocations: 1.203 kB / 0.5891 GB, free: 196 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.4204, allocations: 1.609 kB / 0.5891 GB, free: 196 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003523/0.4207, allocations: 355.2 kB / 0.5894 GB, free: 15.86 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.4207, allocations: 4.781 kB / 0.5894 GB, free: 15.85 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001064/0.4209, allocations: 23.83 kB / 0.5895 GB, free: 15.85 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.387e-06/0.4209, allocations: 2.297 kB / 0.5895 GB, free: 15.85 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.596e-06/0.4209, allocations: 4.812 kB / 0.5895 GB, free: 15.84 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.4209, allocations: 0.5625 kB / 0.5895 GB, free: 15.84 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.4209, allocations: 1.219 kB / 0.5895 GB, free: 15.84 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002471/0.4212, allocations: 214.2 kB / 0.5897 GB, free: 15.68 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.212e-05/0.4212, allocations: 83.09 kB / 0.5898 GB, free: 15.59 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.445e-05/0.4212, allocations: 10.19 kB / 0.5898 GB, free: 15.58 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.8e-05/0.4213, allocations: 2.281 kB / 0.5898 GB, free: 15.58 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.106e-05/0.4213, allocations: 6.656 kB / 0.5898 GB, free: 15.58 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.067e-05/0.4214, allocations: 7.438 kB / 0.5898 GB, free: 15.57 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.27e-05/0.4214, allocations: 81.28 kB / 0.5899 GB, free: 15.5 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4214, allocations: 0 / 0.5899 GB, free: 15.5 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002799/0.4217, allocations: 37.69 kB / 0.5899 GB, free: 15.48 MB / 446.1 MB 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 (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.0001916/0.4219, allocations: 138.5 kB / 0.59 GB, free: 15.38 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001354/0.422, allocations: 67.02 kB / 0.5901 GB, free: 15.36 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.422, allocations: 1.125 kB / 0.5901 GB, free: 15.36 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 5.631e-05/0.4221, allocations: 31.86 kB / 0.5901 GB, free: 15.35 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001893/0.4223, allocations: 9.672 kB / 0.5901 GB, free: 15.34 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004869/0.4228, allocations: 366.5 kB / 0.5905 GB, free: 15.05 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002463/0.423, allocations: 0.6896 MB / 0.5912 GB, free: 14.36 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.182e-05/0.4231, allocations: 14.19 kB / 0.5912 GB, free: 14.35 MB / 446.1 MB Notification: Performance of SimCode: time 2.21e-07/0.4231, allocations: 5.469 kB / 0.5912 GB, free: 14.34 MB / 446.1 MB Notification: Performance of Templates: time 0.002718/0.4258, allocations: 1.105 MB / 0.5923 GB, free: 14.26 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.makefile make -j1 -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.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 OMCppIDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2CalcHelperMain.o OMCppIDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2CalcHelperMain.o] Error 1