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.001035/0.001035, allocations: 96.14 kB / 15.87 MB, free: 16 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.001077/0.001077, allocations: 194.1 kB / 16.79 MB, free: 6.812 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.338/1.338, allocations: 222.9 MB / 240.5 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.738/0.738, allocations: 132.2 MB / 422.8 MB, free: 2 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001087/0.001087, allocations: 63.2 kB / 0.5017 GB, free: 4.348 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4548/0.4559, allocations: 80.21 MB / 0.58 GB, free: 4.555 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.003292/0.4593, allocations: 1.32 MB / 0.5813 GB, free: 3.625 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001266/0.4605, allocations: 0.6308 MB / 0.5819 GB, free: 3.191 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.16e-05/0.4606, allocations: 0 / 0.5819 GB, free: 3.191 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 3.118e-05/0.4606, allocations: 0.5625 kB / 0.5819 GB, free: 3.191 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 6.487e-05/0.4607, allocations: 9.625 kB / 0.582 GB, free: 3.184 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005729/0.4613, allocations: 121.6 kB / 0.5821 GB, free: 3.129 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 7.866e-05/0.4614, allocations: 19.52 kB / 0.5821 GB, free: 3.121 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.542e-05/0.4614, allocations: 2.531 kB / 0.5821 GB, free: 3.121 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.11e-05/0.4615, allocations: 13.06 kB / 0.5821 GB, free: 3.113 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.732e-05/0.4616, allocations: 8.891 kB / 0.5821 GB, free: 3.109 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.603e-05/0.4616, allocations: 1.375 kB / 0.5821 GB, free: 3.109 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007326/0.4623, allocations: 341.5 kB / 0.5824 GB, free: 3.012 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.651e-05/0.4624, allocations: 4.562 kB / 0.5824 GB, free: 3.008 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.253e-05/0.4624, allocations: 12.42 kB / 0.5825 GB, free: 3 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002882/0.4627, allocations: 98.78 kB / 0.5825 GB, free: 2.977 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.414e-06/0.4627, allocations: 0 / 0.5825 GB, free: 2.977 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.4627, allocations: 3.938 kB / 0.5826 GB, free: 2.973 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.289e-05/0.4627, allocations: 1.344 kB / 0.5826 GB, free: 2.973 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.000538/0.4633, allocations: 360.3 kB / 0.5829 GB, free: 2.594 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.598e-05/0.4633, allocations: 10.48 kB / 0.5829 GB, free: 2.594 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.52e-05/0.4634, allocations: 3.094 kB / 0.5829 GB, free: 2.594 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001262/0.4635, allocations: 171 kB / 0.5831 GB, free: 2.391 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.539e-05/0.4636, allocations: 5.219 kB / 0.5831 GB, free: 2.387 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.108e-05/0.4636, allocations: 6.625 kB / 0.5831 GB, free: 2.383 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001532/0.4637, allocations: 43.14 kB / 0.5831 GB, free: 2.344 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.4638, allocations: 4.656 kB / 0.5831 GB, free: 2.34 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.305e-05/0.4638, allocations: 0 / 0.5831 GB, free: 2.34 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.4638, allocations: 1 kB / 0.5831 GB, free: 2.34 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.539e-05/0.4639, allocations: 8.531 kB / 0.5831 GB, free: 2.34 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002056/0.4641, allocations: 170.9 kB / 0.5833 GB, free: 2.133 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002431/0.4643, allocations: 43.41 kB / 0.5833 GB, free: 2.102 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.834e-05/0.4644, allocations: 22.16 kB / 0.5834 GB, free: 2.086 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.359e-05/0.4644, allocations: 1.656 kB / 0.5834 GB, free: 2.086 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.74e-05/0.4644, allocations: 35.77 kB / 0.5834 GB, free: 2.043 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.4644, allocations: 0 / 0.5834 GB, free: 2.043 MB / 430.1 MB Notification: Performance of matching and sorting (n=6): time 0.000733/0.4652, allocations: 309.1 kB / 0.5837 GB, free: 1.758 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.455e-05/0.4652, allocations: 57.42 kB / 0.5838 GB, free: 1.691 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.75e-05/0.4653, allocations: 99.12 kB / 0.5838 GB, free: 1.59 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.358e-05/0.4653, allocations: 26.36 kB / 0.5839 GB, free: 1.559 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.939e-05/0.4654, allocations: 80.95 kB / 0.5839 GB, free: 1.477 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.819e-05/0.4654, allocations: 25.27 kB / 0.584 GB, free: 1.457 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.053e-05/0.4655, allocations: 19.45 kB / 0.584 GB, free: 1.438 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.281e-05/0.4655, allocations: 313.8 kB / 0.5843 GB, free: 1.125 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.202e-05/0.4656, allocations: 15.41 kB / 0.5843 GB, free: 1.117 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.867e-05/0.4656, allocations: 16.02 kB / 0.5843 GB, free: 1.109 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.296e-05/0.4657, allocations: 29.81 kB / 0.5843 GB, free: 1.094 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.4657, allocations: 0 / 0.5843 GB, free: 1.094 MB / 430.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001072/0.4658, allocations: 68.5 kB / 0.5844 GB, free: 1.047 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.177e-05/0.4658, allocations: 9.391 kB / 0.5844 GB, free: 1.043 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.4658, allocations: 0 / 0.5844 GB, free: 1.043 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.4659, allocations: 1.031 kB / 0.5844 GB, free: 1.043 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.92e-05/0.4659, allocations: 11.38 kB / 0.5844 GB, free: 1.043 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.725e-06/0.4659, allocations: 1.125 kB / 0.5844 GB, free: 1.043 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.838e-05/0.466, allocations: 4.656 kB / 0.5844 GB, free: 1.039 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.763e-06/0.466, allocations: 2.281 kB / 0.5844 GB, free: 1.039 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.091e-05/0.466, allocations: 114.7 kB / 0.5846 GB, free: 0.9219 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.265e-05/0.4661, allocations: 4.75 kB / 0.5846 GB, free: 0.918 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000157/0.4662, allocations: 77.64 kB / 0.5846 GB, free: 0.8633 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.4662, allocations: 0 / 0.5846 GB, free: 0.8633 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.249e-06/0.4662, allocations: 4.781 kB / 0.5846 GB, free: 0.8594 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.337e-06/0.4663, allocations: 0.7031 kB / 0.5846 GB, free: 0.8594 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003206/0.4666, allocations: 322.2 kB / 0.5849 GB, free: 0.5273 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.4666, allocations: 0 / 0.5849 GB, free: 0.5273 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.658e-05/0.4667, allocations: 20.16 kB / 0.585 GB, free: 0.5195 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.4667, allocations: 0 / 0.585 GB, free: 0.5195 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.007e-06/0.4667, allocations: 1.672 kB / 0.585 GB, free: 0.5195 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.4667, allocations: 1.5 kB / 0.585 GB, free: 0.5195 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/0.4667, allocations: 5.672 kB / 0.585 GB, free: 0.5156 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001968/0.4669, allocations: 178.7 kB / 0.5851 GB, free: 364 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.385e-05/0.467, allocations: 82.91 kB / 0.5852 GB, free: 268 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.543e-05/0.467, allocations: 1.797 kB / 0.5852 GB, free: 268 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.861e-05/0.4671, allocations: 2 kB / 0.5852 GB, free: 268 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.592e-05/0.4671, allocations: 11.36 kB / 0.5852 GB, free: 260 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.055e-06/0.4671, allocations: 3.234 kB / 0.5852 GB, free: 260 kB / 430.1 MB Notification: Performance of sorting global known variables: time 2.686e-05/0.4671, allocations: 82.44 kB / 0.5853 GB, free: 180 kB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4671, allocations: 0.8125 kB / 0.5853 GB, free: 180 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002415/0.4674, allocations: 23.44 kB / 0.5853 GB, free: 172 kB / 430.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 (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.0002075/0.4676, allocations: 123.9 kB / 0.5855 GB, free: 68 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001267/0.4677, allocations: 31.53 kB / 0.5855 GB, free: 60 kB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.4677, allocations: 1.469 kB / 0.5855 GB, free: 60 kB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 3.265e-05/0.4678, allocations: 16.92 kB / 0.5855 GB, free: 56 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002276/0.468, allocations: 6.875 kB / 0.5855 GB, free: 52 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004762/0.4685, allocations: 238.5 kB / 0.5857 GB, free: 15.82 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002684/0.4688, allocations: 0.6805 MB / 0.5864 GB, free: 15.12 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.499e-05/0.4688, allocations: 15.62 kB / 0.5864 GB, free: 15.11 MB / 446.1 MB Notification: Performance of SimCode: time 2.21e-07/0.4688, allocations: 0 / 0.5864 GB, free: 15.11 MB / 446.1 MB Notification: Performance of Templates: time 0.002673/0.4715, allocations: 0.7882 MB / 0.5872 GB, free: 15.06 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++ -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_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