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.0007982/0.0007981, allocations: 92.16 kB / 16.02 MB, free: 80 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.0009883/0.0009885, allocations: 173 kB / 16.92 MB, free: 6.652 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.34/1.34, allocations: 223.3 MB / 241 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7283/0.7283, allocations: 132.3 MB / 424.4 MB, free: 1.961 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003012/0.0003012, allocations: 12 kB / 0.5046 GB, free: 3.895 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4134/0.4137, allocations: 81.57 MB / 0.5843 GB, free: 4.051 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.001014/0.4147, allocations: 1.002 MB / 0.5853 GB, free: 3.305 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008027/0.4156, allocations: 0.6153 MB / 0.5859 GB, free: 2.883 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.287e-06/0.4156, allocations: 0 / 0.5859 GB, free: 2.883 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 8.586e-06/0.4156, allocations: 0.6562 kB / 0.5859 GB, free: 2.883 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 2.442e-05/0.4156, allocations: 13.81 kB / 0.5859 GB, free: 2.871 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003511/0.416, allocations: 117.3 kB / 0.586 GB, free: 2.82 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 3.443e-05/0.416, allocations: 24.44 kB / 0.586 GB, free: 2.809 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.158e-05/0.416, allocations: 1.812 kB / 0.586 GB, free: 2.809 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.308e-05/0.4161, allocations: 6.25 kB / 0.586 GB, free: 2.809 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.561e-05/0.4161, allocations: 11.95 kB / 0.586 GB, free: 2.801 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 6.783e-06/0.4161, allocations: 0.9688 kB / 0.586 GB, free: 2.801 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004808/0.4166, allocations: 346 kB / 0.5864 GB, free: 2.699 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 7.124e-06/0.4166, allocations: 5.312 kB / 0.5864 GB, free: 2.695 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.135e-05/0.4166, allocations: 42.53 kB / 0.5864 GB, free: 2.652 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001662/0.4168, allocations: 97.84 kB / 0.5865 GB, free: 2.629 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.4168, allocations: 1.219 kB / 0.5865 GB, free: 2.629 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.4168, allocations: 0 / 0.5865 GB, free: 2.629 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.254e-06/0.4168, allocations: 0 / 0.5865 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.0002115/0.4171, allocations: 354.9 kB / 0.5869 GB, free: 2.254 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.458e-05/0.4171, allocations: 9.578 kB / 0.5869 GB, free: 2.254 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.801e-05/0.4171, allocations: 2.031 kB / 0.5869 GB, free: 2.254 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.846e-05/0.4172, allocations: 167.4 kB / 0.587 GB, free: 2.055 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.083e-06/0.4172, allocations: 5.469 kB / 0.587 GB, free: 2.051 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.113e-05/0.4172, allocations: 6.359 kB / 0.587 GB, free: 2.047 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.369e-05/0.4173, allocations: 47.95 kB / 0.5871 GB, free: 2.004 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.386e-06/0.4173, allocations: 0 / 0.5871 GB, free: 2.004 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.29e-06/0.4173, allocations: 1.906 kB / 0.5871 GB, free: 2.004 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.274e-06/0.4173, allocations: 0 / 0.5871 GB, free: 2.004 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.681e-05/0.4173, allocations: 12.05 kB / 0.5871 GB, free: 2 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.797e-05/0.4174, allocations: 154.6 kB / 0.5872 GB, free: 1.809 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001474/0.4176, allocations: 47.73 kB / 0.5873 GB, free: 1.773 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.769e-05/0.4176, allocations: 26.53 kB / 0.5873 GB, free: 1.754 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.007e-06/0.4176, allocations: 0.75 kB / 0.5873 GB, free: 1.754 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.492e-05/0.4176, allocations: 41.36 kB / 0.5874 GB, free: 1.707 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 9.12e-07/0.4177, allocations: 0 / 0.5874 GB, free: 1.707 MB / 430.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004446/0.4181, allocations: 304.3 kB / 0.5876 GB, free: 1.426 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.021e-05/0.4181, allocations: 56.09 kB / 0.5877 GB, free: 1.359 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.439e-05/0.4182, allocations: 96.52 kB / 0.5878 GB, free: 1.262 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.086e-05/0.4182, allocations: 25.7 kB / 0.5878 GB, free: 1.23 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.715e-05/0.4182, allocations: 85.53 kB / 0.5879 GB, free: 1.145 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.352e-05/0.4183, allocations: 20.16 kB / 0.5879 GB, free: 1.129 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.166e-05/0.4183, allocations: 16.47 kB / 0.5879 GB, free: 1.109 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.294e-05/0.4183, allocations: 313.4 kB / 0.5882 GB, free: 0.7969 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.584e-05/0.4184, allocations: 11.45 kB / 0.5882 GB, free: 0.793 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.19e-05/0.4184, allocations: 17.64 kB / 0.5883 GB, free: 0.7852 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.959e-05/0.4185, allocations: 32.14 kB / 0.5883 GB, free: 0.7656 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-07/0.4185, allocations: 1.031 kB / 0.5883 GB, free: 0.7656 MB / 430.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.054e-05/0.4186, allocations: 75.31 kB / 0.5884 GB, free: 0.7109 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.4186, allocations: 5.25 kB / 0.5884 GB, free: 0.7109 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.177e-06/0.4186, allocations: 0.7812 kB / 0.5884 GB, free: 0.7109 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.159e-05/0.4186, allocations: 0.8438 kB / 0.5884 GB, free: 0.7109 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.028e-05/0.4187, allocations: 11.22 kB / 0.5884 GB, free: 0.7109 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.4187, allocations: 1.062 kB / 0.5884 GB, free: 0.7109 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.702e-05/0.4187, allocations: 8.688 kB / 0.5884 GB, free: 0.7031 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.749e-06/0.4187, allocations: 1.438 kB / 0.5884 GB, free: 0.7031 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 4.887e-05/0.4188, allocations: 118.4 kB / 0.5885 GB, free: 0.582 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.018e-05/0.4188, allocations: 6.656 kB / 0.5885 GB, free: 0.5781 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001222/0.4189, allocations: 68.39 kB / 0.5886 GB, free: 0.5312 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.4189, allocations: 1.859 kB / 0.5886 GB, free: 0.5312 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.4189, allocations: 7.938 kB / 0.5886 GB, free: 0.5234 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.4189, allocations: 0.5625 kB / 0.5886 GB, free: 0.5234 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002435/0.4192, allocations: 321.6 kB / 0.5889 GB, free: 196 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.4192, allocations: 0 / 0.5889 GB, free: 196 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.09e-05/0.4192, allocations: 12.31 kB / 0.5889 GB, free: 196 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.4193, allocations: 0.5625 kB / 0.5889 GB, free: 196 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.606e-06/0.4193, allocations: 6.281 kB / 0.5889 GB, free: 192 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/0.4193, allocations: 0.6562 kB / 0.5889 GB, free: 192 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.4193, allocations: 1.281 kB / 0.5889 GB, free: 192 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001616/0.4195, allocations: 187.6 kB / 0.5891 GB, free: 20 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001017/0.4196, allocations: 81.12 kB / 0.5892 GB, free: 15.93 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.367e-05/0.4196, allocations: 2.281 kB / 0.5892 GB, free: 15.93 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.628e-05/0.4197, allocations: 2.656 kB / 0.5892 GB, free: 15.93 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.492e-05/0.4197, allocations: 2.578 kB / 0.5892 GB, free: 15.93 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.027e-05/0.4197, allocations: 7.328 kB / 0.5892 GB, free: 15.92 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.696e-05/0.4197, allocations: 79.42 kB / 0.5893 GB, free: 15.85 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4197, allocations: 0 / 0.5893 GB, free: 15.85 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002441/0.42, allocations: 19.86 kB / 0.5893 GB, free: 15.84 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 (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.0001813/0.4202, allocations: 127.4 kB / 0.5894 GB, free: 15.74 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001061/0.4203, allocations: 35.84 kB / 0.5894 GB, free: 15.73 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.4203, allocations: 0 / 0.5894 GB, free: 15.73 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 3.187e-05/0.4203, allocations: 13.44 kB / 0.5894 GB, free: 15.73 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002123/0.4206, allocations: 10.94 kB / 0.5895 GB, free: 15.72 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004204/0.421, allocations: 263.3 kB / 0.5897 GB, free: 15.49 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002305/0.4212, allocations: 0.6805 MB / 0.5904 GB, free: 14.8 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.117e-05/0.4213, allocations: 15.34 kB / 0.5904 GB, free: 14.79 MB / 446.1 MB Notification: Performance of SimCode: time 2.41e-07/0.4213, allocations: 0 / 0.5904 GB, free: 14.79 MB / 446.1 MB Notification: Performance of Templates: time 0.002438/0.4237, allocations: 0.7765 MB / 0.5911 GB, free: 14.73 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++ -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_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