Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_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/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_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001008/0.001008, allocations: 102.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.001251/0.001251, allocations: 177.6 kB / 16.58 MB, free: 6.863 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.434/1.434, allocations: 223.3 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/package.mo): time 0.7916/0.7916, allocations: 132.3 MB / 424 MB, free: 2.125 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004701/0.0004702, allocations: 8 kB / 0.504 GB, free: 4.297 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5113/0.5118, allocations: 81.57 MB / 0.5837 GB, free: 4.004 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.001428/0.5133, allocations: 0.9904 MB / 0.5846 GB, free: 3.266 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009696/0.5143, allocations: 0.5671 MB / 0.5852 GB, free: 2.875 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.233e-05/0.5143, allocations: 0 / 0.5852 GB, free: 2.875 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.325e-05/0.5143, allocations: 0.6094 kB / 0.5852 GB, free: 2.875 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.675e-05/0.5144, allocations: 5.359 kB / 0.5852 GB, free: 2.871 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005062/0.5149, allocations: 122.4 kB / 0.5853 GB, free: 2.816 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.797e-05/0.515, allocations: 19.47 kB / 0.5853 GB, free: 2.809 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.59e-05/0.515, allocations: 2.078 kB / 0.5853 GB, free: 2.809 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.93e-05/0.5151, allocations: 8.531 kB / 0.5854 GB, free: 2.805 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.865e-05/0.5151, allocations: 9.891 kB / 0.5854 GB, free: 2.801 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.262e-05/0.5151, allocations: 1.188 kB / 0.5854 GB, free: 2.801 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005625/0.5157, allocations: 335.1 kB / 0.5857 GB, free: 2.707 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.106e-05/0.5157, allocations: 1.781 kB / 0.5857 GB, free: 2.707 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.425e-05/0.5158, allocations: 28.92 kB / 0.5857 GB, free: 2.676 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002003/0.516, allocations: 101.2 kB / 0.5858 GB, free: 2.648 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.516, allocations: 4.719 kB / 0.5858 GB, free: 2.645 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.206e-06/0.516, allocations: 4.734 kB / 0.5858 GB, free: 2.641 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.02e-06/0.516, allocations: 0 / 0.5858 GB, free: 2.641 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003347/0.5163, allocations: 358.6 kB / 0.5862 GB, free: 2.262 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.941e-05/0.5164, allocations: 9.594 kB / 0.5862 GB, free: 2.262 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.447e-05/0.5164, allocations: 2.609 kB / 0.5862 GB, free: 2.262 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.166e-05/0.5165, allocations: 173.1 kB / 0.5863 GB, free: 2.055 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.206e-05/0.5165, allocations: 0.6562 kB / 0.5863 GB, free: 2.055 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.233e-05/0.5166, allocations: 1.875 kB / 0.5863 GB, free: 2.055 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001093/0.5167, allocations: 44.72 kB / 0.5864 GB, free: 2.016 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.903e-06/0.5167, allocations: 0 / 0.5864 GB, free: 2.016 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.119e-05/0.5167, allocations: 1.094 kB / 0.5864 GB, free: 2.016 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.5167, allocations: 0 / 0.5864 GB, free: 2.016 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.587e-05/0.5168, allocations: 11.75 kB / 0.5864 GB, free: 2.012 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001452/0.5169, allocations: 163.3 kB / 0.5866 GB, free: 1.812 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001766/0.5171, allocations: 48.14 kB / 0.5866 GB, free: 1.777 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.476e-05/0.5172, allocations: 25.11 kB / 0.5866 GB, free: 1.758 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.054e-05/0.5172, allocations: 2 kB / 0.5866 GB, free: 1.758 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.828e-05/0.5172, allocations: 35.22 kB / 0.5867 GB, free: 1.715 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.5172, allocations: 0.6875 kB / 0.5867 GB, free: 1.715 MB / 430.1 MB Notification: Performance of matching and sorting (n=6): time 0.0006004/0.5178, allocations: 304.7 kB / 0.5869 GB, free: 1.434 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.668e-05/0.5179, allocations: 52.19 kB / 0.587 GB, free: 1.371 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.302e-05/0.5179, allocations: 103.5 kB / 0.5871 GB, free: 1.266 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.025e-05/0.5179, allocations: 26.61 kB / 0.5871 GB, free: 1.234 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.131e-05/0.518, allocations: 80.66 kB / 0.5872 GB, free: 1.152 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.532e-05/0.518, allocations: 24.41 kB / 0.5872 GB, free: 1.133 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.157e-06/0.518, allocations: 0.7812 kB / 0.5872 GB, free: 1.133 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.915e-05/0.5181, allocations: 320.8 kB / 0.5875 GB, free: 0.8125 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.606e-05/0.5181, allocations: 7.516 kB / 0.5875 GB, free: 0.8125 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.385e-05/0.5181, allocations: 12.62 kB / 0.5875 GB, free: 0.8086 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.15e-05/0.5182, allocations: 11.09 kB / 0.5876 GB, free: 0.8047 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-07/0.5182, allocations: 4.594 kB / 0.5876 GB, free: 0.8008 MB / 430.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.956e-05/0.5183, allocations: 72.05 kB / 0.5876 GB, free: 0.75 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.5183, allocations: 5.422 kB / 0.5876 GB, free: 0.75 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.5183, allocations: 0 / 0.5876 GB, free: 0.75 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.5183, allocations: 1.031 kB / 0.5876 GB, free: 0.75 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.515e-05/0.5184, allocations: 15.27 kB / 0.5877 GB, free: 0.7461 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.605e-06/0.5184, allocations: 5.344 kB / 0.5877 GB, free: 0.7422 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.704e-05/0.5184, allocations: 0 / 0.5877 GB, free: 0.7422 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.233e-06/0.5184, allocations: 3.094 kB / 0.5877 GB, free: 0.7422 MB / 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 (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 5.768e-05/0.5185, allocations: 120.9 kB / 0.5878 GB, free: 0.6172 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.337e-06/0.5185, allocations: 6.516 kB / 0.5878 GB, free: 0.6133 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001386/0.5187, allocations: 68.3 kB / 0.5878 GB, free: 0.5664 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.5187, allocations: 1.531 kB / 0.5878 GB, free: 0.5664 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.5187, allocations: 0.5156 kB / 0.5878 GB, free: 0.5664 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.5187, allocations: 1.281 kB / 0.5878 GB, free: 0.5664 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002887/0.519, allocations: 320.5 kB / 0.5882 GB, free: 240 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.519, allocations: 0 / 0.5882 GB, free: 240 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.338e-05/0.5191, allocations: 15.91 kB / 0.5882 GB, free: 236 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.5191, allocations: 0.9375 kB / 0.5882 GB, free: 236 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.418e-06/0.5191, allocations: 5.797 kB / 0.5882 GB, free: 232 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.5191, allocations: 4.812 kB / 0.5882 GB, free: 228 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.5191, allocations: 1.578 kB / 0.5882 GB, free: 228 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001616/0.5193, allocations: 179.6 kB / 0.5884 GB, free: 64 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.468e-05/0.5193, allocations: 82.52 kB / 0.5884 GB, free: 15.97 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.456e-05/0.5194, allocations: 4.859 kB / 0.5884 GB, free: 15.96 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.712e-05/0.5194, allocations: 1.469 kB / 0.5884 GB, free: 15.96 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.354e-05/0.5195, allocations: 7.688 kB / 0.5884 GB, free: 15.96 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.234e-06/0.5195, allocations: 3.594 kB / 0.5884 GB, free: 15.96 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.883e-05/0.5195, allocations: 78.75 kB / 0.5885 GB, free: 15.89 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5195, allocations: 0 / 0.5885 GB, free: 15.89 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002566/0.5198, allocations: 23.98 kB / 0.5885 GB, free: 15.88 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (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 (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.0002079/0.52, allocations: 127.5 kB / 0.5887 GB, free: 15.77 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001116/0.5201, allocations: 35.02 kB / 0.5887 GB, free: 15.76 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.5202, allocations: 0 / 0.5887 GB, free: 15.76 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 3.782e-05/0.5202, allocations: 17.67 kB / 0.5887 GB, free: 15.76 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002313/0.5204, allocations: 6.484 kB / 0.5887 GB, free: 15.75 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004603/0.5209, allocations: 256.3 kB / 0.589 GB, free: 15.53 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002462/0.5212, allocations: 0.6793 MB / 0.5896 GB, free: 14.84 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.259e-05/0.5212, allocations: 11.78 kB / 0.5896 GB, free: 14.83 MB / 446.1 MB Notification: Performance of SimCode: time 3.01e-07/0.5212, allocations: 0 / 0.5896 GB, free: 14.83 MB / 446.1 MB Notification: Performance of Templates: time 0.002748/0.5239, allocations: 0.786 MB / 0.5904 GB, free: 14.77 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.makefile make -j1 -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_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_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheckCalcHelperMain.o OMCppIDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheckCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheckCalcHelperMain.o] Error 1