Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001041/0.001041, allocations: 102.2 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.001058/0.001058, allocations: 173.9 kB / 16.58 MB, free: 6.402 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.533/1.533, allocations: 223.2 MB / 240.6 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.031/1.031, allocations: 135.3 MB / 427 MB, free: 14.27 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003476/0.0003477, allocations: 12 kB / 0.5076 GB, free: 5.266 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2102/0.2106, allocations: 82.32 MB / 0.588 GB, free: 3.129 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.00178/0.2124, allocations: 1.173 MB / 0.5891 GB, free: 1.941 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001117/0.2135, allocations: 0.5767 MB / 0.5897 GB, free: 1.363 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.225e-05/0.2136, allocations: 0 / 0.5897 GB, free: 1.363 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.534e-05/0.2137, allocations: 3.984 kB / 0.5897 GB, free: 1.359 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.909e-05/0.2137, allocations: 7.922 kB / 0.5897 GB, free: 1.352 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006631/0.2144, allocations: 127.6 kB / 0.5898 GB, free: 1.227 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 9.686e-05/0.2145, allocations: 51.83 kB / 0.5899 GB, free: 1.176 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.664e-05/0.2146, allocations: 4 kB / 0.5899 GB, free: 1.172 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.252e-05/0.2146, allocations: 19.92 kB / 0.5899 GB, free: 1.152 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.011e-05/0.2147, allocations: 27.91 kB / 0.5899 GB, free: 1.125 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.647e-05/0.2147, allocations: 7.938 kB / 0.5899 GB, free: 1.117 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005995/0.2153, allocations: 335.3 kB / 0.5903 GB, free: 0.7891 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.263e-05/0.2154, allocations: 15.91 kB / 0.5903 GB, free: 0.7734 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.433e-05/0.2154, allocations: 29.7 kB / 0.5903 GB, free: 0.7383 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000238/0.2157, allocations: 120 kB / 0.5904 GB, free: 0.6211 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.2157, allocations: 4 kB / 0.5904 GB, free: 0.6172 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.685e-06/0.2157, allocations: 0 / 0.5904 GB, free: 0.6172 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.368e-06/0.2157, allocations: 0 / 0.5904 GB, free: 0.6172 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006006/0.2163, allocations: 391.2 kB / 0.5908 GB, free: 192 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/0.2163, allocations: 12.03 kB / 0.5908 GB, free: 180 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.186e-05/0.2164, allocations: 3.906 kB / 0.5908 GB, free: 176 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001679/0.2166, allocations: 175 kB / 0.591 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.074e-05/0.2166, allocations: 7.938 kB / 0.591 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.183e-05/0.2166, allocations: 15.98 kB / 0.591 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000267/0.2169, allocations: 81.66 kB / 0.5911 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.2169, allocations: 0 / 0.5911 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.68e-05/0.217, allocations: 3.984 kB / 0.5911 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.353e-06/0.217, allocations: 4 kB / 0.5911 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002316/0.2172, allocations: 67.2 kB / 0.5912 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000616/0.2178, allocations: 328.6 kB / 0.5915 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002822/0.2181, allocations: 90.45 kB / 0.5916 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001092/0.2183, allocations: 32.84 kB / 0.5916 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.913e-05/0.2183, allocations: 8 kB / 0.5916 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.877e-05/0.2183, allocations: 30.56 kB / 0.5916 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 2.625e-06/0.2183, allocations: 0 / 0.5916 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11): time 0.001698/0.22, allocations: 0.6697 MB / 0.5923 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.258e-05/0.2201, allocations: 55.41 kB / 0.5923 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.817e-05/0.2202, allocations: 105.8 kB / 0.5924 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.351e-05/0.2202, allocations: 25.7 kB / 0.5925 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001699/0.2204, allocations: 92.05 kB / 0.5925 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.006e-05/0.2204, allocations: 35.45 kB / 0.5926 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.143e-06/0.2205, allocations: 4 kB / 0.5926 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000135/0.2206, allocations: 318.8 kB / 0.5929 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001299/0.2207, allocations: 35.98 kB / 0.5929 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001204/0.2209, allocations: 35.97 kB / 0.5929 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001186/0.221, allocations: 35.98 kB / 0.593 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.81e-07/0.221, allocations: 4 kB / 0.593 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003159/0.2213, allocations: 129.6 kB / 0.5931 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/0.2213, allocations: 4 kB / 0.5931 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.2214, allocations: 3.953 kB / 0.5931 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/0.2214, allocations: 4 kB / 0.5931 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001498/0.2215, allocations: 23.98 kB / 0.5931 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-06/0.2216, allocations: 4.094 kB / 0.5931 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.794e-05/0.2216, allocations: 19.92 kB / 0.5932 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.064e-05/0.2217, allocations: 4 kB / 0.5932 GB, free: 13.5 MB / 0.4981 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.272e-05/0.2217, allocations: 109.8 kB / 0.5933 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.838e-05/0.2218, allocations: 4 kB / 0.5933 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003812/0.2222, allocations: 146.4 kB / 0.5934 GB, free: 13.22 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.123e-06/0.2222, allocations: 7.953 kB / 0.5934 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.668e-06/0.2222, allocations: 0 / 0.5934 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.2222, allocations: 0 / 0.5934 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00056/0.2228, allocations: 386.5 kB / 0.5938 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.2228, allocations: 0 / 0.5938 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001982/0.223, allocations: 35.97 kB / 0.5938 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.923e-06/0.223, allocations: 3.953 kB / 0.5938 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.205e-05/0.223, allocations: 0 / 0.5938 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.223, allocations: 4 kB / 0.5938 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/0.2231, allocations: 4 kB / 0.5938 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007275/0.2238, allocations: 267.3 kB / 0.5941 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.549e-05/0.2239, allocations: 85.12 kB / 0.5942 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.679e-05/0.2239, allocations: 3.953 kB / 0.5942 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000211/0.2241, allocations: 20.05 kB / 0.5942 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.875e-05/0.2242, allocations: 4 kB / 0.5942 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.6e-05/0.2242, allocations: 3.984 kB / 0.5942 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.287e-05/0.2243, allocations: 79.28 kB / 0.5943 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2e-07/0.2243, allocations: 0 / 0.5943 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004936/0.2248, allocations: 39.94 kB / 0.5943 GB, free: 12.21 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (dp_comp,der_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 (11): * Single equations (assignments): 11 * 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.0003167/0.2251, allocations: 135.2 kB / 0.5945 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004935/0.2256, allocations: 99.83 kB / 0.5945 GB, free: 11.97 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.2256, allocations: 0 / 0.5945 GB, free: 11.97 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001765/0.2258, allocations: 47.97 kB / 0.5946 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000323/0.2262, allocations: 8 kB / 0.5946 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007565/0.2269, allocations: 402.9 kB / 0.595 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003275/0.2273, allocations: 0.6972 MB / 0.5957 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.23e-05/0.2273, allocations: 19.44 kB / 0.5957 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of SimCode: time 4.81e-07/0.2273, allocations: 0 / 0.5957 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of Templates: time 0.003415/0.2307, allocations: 1.297 MB / 0.5969 GB, free: 9.453 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile make -j1 -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.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_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2CalcHelperMain.o OMCppIDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2CalcHelperMain.o] Error 1