Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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_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.00103/0.00103, 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.00154/0.00154, allocations: 173 kB / 16.58 MB, free: 6.043 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.384/1.384, allocations: 223.2 MB / 240.6 MB, free: 5.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7548/0.7548, allocations: 132.3 MB / 424 MB, free: 2.059 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003541/0.0003541, allocations: 12 kB / 0.504 GB, free: 4.246 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5548/0.5551, allocations: 81.59 MB / 0.5837 GB, free: 3.98 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.001447/0.5566, allocations: 0.9805 MB / 0.5846 GB, free: 3.25 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001005/0.5576, allocations: 0.5646 MB / 0.5852 GB, free: 2.859 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.208e-05/0.5577, allocations: 1 kB / 0.5852 GB, free: 2.859 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.489e-05/0.5577, allocations: 0.6562 kB / 0.5852 GB, free: 2.859 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.103e-05/0.5578, allocations: 5.766 kB / 0.5852 GB, free: 2.855 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005089/0.5583, allocations: 117.5 kB / 0.5853 GB, free: 2.805 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 6.643e-05/0.5584, allocations: 22.77 kB / 0.5853 GB, free: 2.793 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.514e-05/0.5584, allocations: 1.391 kB / 0.5853 GB, free: 2.793 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.187e-05/0.5585, allocations: 10.12 kB / 0.5853 GB, free: 2.789 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.224e-05/0.5585, allocations: 16.39 kB / 0.5854 GB, free: 2.777 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.345e-05/0.5586, allocations: 1.125 kB / 0.5854 GB, free: 2.777 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006236/0.5592, allocations: 327.5 kB / 0.5857 GB, free: 2.691 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.171e-05/0.5592, allocations: 9.656 kB / 0.5857 GB, free: 2.684 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.469e-05/0.5592, allocations: 29.39 kB / 0.5857 GB, free: 2.652 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002394/0.5595, allocations: 97.58 kB / 0.5858 GB, free: 2.629 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.5595, allocations: 0.6562 kB / 0.5858 GB, free: 2.629 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.185e-06/0.5595, allocations: 0 / 0.5858 GB, free: 2.629 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.108e-06/0.5595, allocations: 0 / 0.5858 GB, free: 2.629 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.0003566/0.5599, allocations: 362.7 kB / 0.5862 GB, free: 2.246 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/0.5599, allocations: 8.812 kB / 0.5862 GB, free: 2.246 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.461e-05/0.56, allocations: 1.875 kB / 0.5862 GB, free: 2.246 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.167e-05/0.5601, allocations: 177.4 kB / 0.5863 GB, free: 2.035 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.36e-05/0.5601, allocations: 1.219 kB / 0.5863 GB, free: 2.035 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.114e-05/0.5601, allocations: 2.25 kB / 0.5863 GB, free: 2.035 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000118/0.5602, allocations: 40.17 kB / 0.5864 GB, free: 2 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.582e-06/0.5603, allocations: 3.938 kB / 0.5864 GB, free: 1.996 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/0.5603, allocations: 0 / 0.5864 GB, free: 1.996 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.5603, allocations: 0.9062 kB / 0.5864 GB, free: 1.996 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.832e-05/0.5603, allocations: 16.88 kB / 0.5864 GB, free: 1.988 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001594/0.5605, allocations: 159 kB / 0.5865 GB, free: 1.793 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001864/0.5607, allocations: 44.48 kB / 0.5866 GB, free: 1.762 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.42e-05/0.5607, allocations: 16.56 kB / 0.5866 GB, free: 1.75 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.452e-05/0.5608, allocations: 1.938 kB / 0.5866 GB, free: 1.75 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.959e-05/0.5608, allocations: 39.02 kB / 0.5866 GB, free: 1.703 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 9.42e-07/0.5608, allocations: 5.219 kB / 0.5866 GB, free: 1.699 MB / 430.1 MB Notification: Performance of matching and sorting (n=6): time 0.000647/0.5615, allocations: 308.6 kB / 0.5869 GB, free: 1.414 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.014e-05/0.5615, allocations: 52.59 kB / 0.587 GB, free: 1.352 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.272e-05/0.5616, allocations: 103.3 kB / 0.5871 GB, free: 1.246 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.368e-06/0.5616, allocations: 25.7 kB / 0.5871 GB, free: 1.215 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.3e-05/0.5616, allocations: 82 kB / 0.5872 GB, free: 1.133 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.035e-05/0.5616, allocations: 20.11 kB / 0.5872 GB, free: 1.117 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.657e-06/0.5617, allocations: 4 kB / 0.5872 GB, free: 1.113 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.695e-05/0.5617, allocations: 322.4 kB / 0.5875 GB, free: 0.793 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.885e-05/0.5618, allocations: 10.19 kB / 0.5875 GB, free: 0.7891 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.272e-05/0.5618, allocations: 9.547 kB / 0.5875 GB, free: 0.7891 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.325e-05/0.5618, allocations: 14.84 kB / 0.5876 GB, free: 0.7812 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.42e-07/0.5618, allocations: 0 / 0.5876 GB, free: 0.7812 MB / 430.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001039/0.562, allocations: 71.75 kB / 0.5876 GB, free: 0.7305 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.562, allocations: 8.547 kB / 0.5876 GB, free: 0.7305 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/0.562, allocations: 0 / 0.5876 GB, free: 0.7305 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.562, allocations: 0 / 0.5876 GB, free: 0.7305 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.288e-05/0.5621, allocations: 16.55 kB / 0.5876 GB, free: 0.7266 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.5621, allocations: 0 / 0.5876 GB, free: 0.7266 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.628e-05/0.5621, allocations: 0 / 0.5876 GB, free: 0.7266 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.773e-06/0.5621, allocations: 2.984 kB / 0.5877 GB, free: 0.7266 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 6.32e-05/0.5622, allocations: 118.2 kB / 0.5878 GB, free: 0.6055 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.718e-06/0.5622, allocations: 1.312 kB / 0.5878 GB, free: 0.6055 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001448/0.5623, allocations: 77.05 kB / 0.5878 GB, free: 0.5508 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.5624, allocations: 0.75 kB / 0.5878 GB, free: 0.5508 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.5624, allocations: 4.875 kB / 0.5878 GB, free: 0.5469 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.5624, allocations: 3.938 kB / 0.5878 GB, free: 0.543 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003054/0.5627, allocations: 317.2 kB / 0.5881 GB, free: 220 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.5627, allocations: 1.922 kB / 0.5882 GB, free: 220 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.083e-05/0.5628, allocations: 10.47 kB / 0.5882 GB, free: 220 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.075e-06/0.5628, allocations: 1.266 kB / 0.5882 GB, free: 220 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.967e-06/0.5628, allocations: 1.281 kB / 0.5882 GB, free: 220 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.305e-06/0.5628, allocations: 0.8125 kB / 0.5882 GB, free: 220 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.367e-06/0.5628, allocations: 1.938 kB / 0.5882 GB, free: 220 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001799/0.563, allocations: 186.5 kB / 0.5883 GB, free: 48 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.639e-05/0.5631, allocations: 82.34 kB / 0.5884 GB, free: 15.95 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.609e-05/0.5631, allocations: 6.656 kB / 0.5884 GB, free: 15.95 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.125e-05/0.5632, allocations: 6.094 kB / 0.5884 GB, free: 15.95 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.032e-05/0.5632, allocations: 4.406 kB / 0.5884 GB, free: 15.95 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.522e-06/0.5632, allocations: 1.531 kB / 0.5884 GB, free: 15.95 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.647e-05/0.5633, allocations: 83.66 kB / 0.5885 GB, free: 15.87 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5633, allocations: 0 / 0.5885 GB, free: 15.87 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002891/0.5636, allocations: 26.33 kB / 0.5885 GB, free: 15.86 MB / 446.1 MB 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.0002033/0.5638, allocations: 120.5 kB / 0.5887 GB, free: 15.76 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001168/0.5639, allocations: 39.05 kB / 0.5887 GB, free: 15.74 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.5639, allocations: 0 / 0.5887 GB, free: 15.74 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 3.287e-05/0.564, allocations: 16.44 kB / 0.5887 GB, free: 15.74 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002743/0.5642, allocations: 6.953 kB / 0.5887 GB, free: 15.73 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004672/0.5647, allocations: 251.4 kB / 0.589 GB, free: 15.52 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002904/0.565, allocations: 0.6807 MB / 0.5896 GB, free: 14.82 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.579e-05/0.565, allocations: 10.97 kB / 0.5896 GB, free: 14.81 MB / 446.1 MB Notification: Performance of SimCode: time 2.4e-07/0.5651, allocations: 0 / 0.5896 GB, free: 14.81 MB / 446.1 MB Notification: Performance of Templates: time 0.00286/0.5679, allocations: 0.7872 MB / 0.5904 GB, free: 14.75 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.makefile make -j1 -f IDEAS_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_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheckCalcHelperMain.o OMCppIDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheckCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheckCalcHelperMain.o] Error 1