Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.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.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009692/0.0009692, allocations: 101 kB / 15.71 MB, free: 452 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.001414/0.001414, allocations: 172.1 kB / 16.58 MB, free: 6.422 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.359/1.359, allocations: 223.3 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.7346/0.7346, allocations: 132.3 MB / 424 MB, free: 2.102 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003329/0.000333, allocations: 8.781 kB / 0.504 GB, free: 4.266 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5069/0.5072, allocations: 81.57 MB / 0.5837 GB, free: 3.988 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.00135/0.5086, allocations: 0.9691 MB / 0.5846 GB, free: 3.266 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008982/0.5095, allocations: 0.5388 MB / 0.5852 GB, free: 2.895 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.182e-05/0.5096, allocations: 0.9688 kB / 0.5852 GB, free: 2.895 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.252e-05/0.5096, allocations: 0 / 0.5852 GB, free: 2.895 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.557e-05/0.5096, allocations: 0.5625 kB / 0.5852 GB, free: 2.895 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004549/0.5101, allocations: 118.4 kB / 0.5853 GB, free: 2.844 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 4.331e-05/0.5102, allocations: 10.59 kB / 0.5853 GB, free: 2.84 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.73e-05/0.5102, allocations: 5.734 kB / 0.5853 GB, free: 2.836 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.965e-05/0.5102, allocations: 5.609 kB / 0.5853 GB, free: 2.832 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.376e-05/0.5103, allocations: 7.688 kB / 0.5853 GB, free: 2.828 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.141e-05/0.5103, allocations: 0.6562 kB / 0.5853 GB, free: 2.828 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005886/0.5109, allocations: 330.7 kB / 0.5856 GB, free: 2.738 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.093e-05/0.5109, allocations: 9.5 kB / 0.5856 GB, free: 2.73 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 1.811e-05/0.511, allocations: 30.58 kB / 0.5856 GB, free: 2.695 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001842/0.5111, allocations: 91.78 kB / 0.5857 GB, free: 2.676 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.5112, allocations: 0.7969 kB / 0.5857 GB, free: 2.676 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.5112, allocations: 0.9688 kB / 0.5857 GB, free: 2.676 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.596e-06/0.5112, allocations: 4 kB / 0.5857 GB, free: 2.672 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002892/0.5115, allocations: 346.3 kB / 0.5861 GB, free: 2.301 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.433e-05/0.5115, allocations: 9.219 kB / 0.5861 GB, free: 2.301 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.843e-05/0.5116, allocations: 6.172 kB / 0.5861 GB, free: 2.297 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.607e-05/0.5116, allocations: 163.8 kB / 0.5862 GB, free: 2.098 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.247e-05/0.5117, allocations: 1.125 kB / 0.5862 GB, free: 2.098 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.435e-06/0.5117, allocations: 1.375 kB / 0.5862 GB, free: 2.098 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.707e-05/0.5118, allocations: 34.84 kB / 0.5863 GB, free: 2.062 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.733e-06/0.5118, allocations: 4 kB / 0.5863 GB, free: 2.059 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.637e-06/0.5118, allocations: 0 / 0.5863 GB, free: 2.059 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.5118, allocations: 0.8125 kB / 0.5863 GB, free: 2.059 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.819e-05/0.5119, allocations: 6.984 kB / 0.5863 GB, free: 2.055 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001213/0.512, allocations: 154.8 kB / 0.5864 GB, free: 1.859 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.117e-05/0.512, allocations: 21.44 kB / 0.5865 GB, free: 1.836 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.768e-05/0.5121, allocations: 12.17 kB / 0.5865 GB, free: 1.824 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.052e-05/0.5121, allocations: 4.562 kB / 0.5865 GB, free: 1.82 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.899e-05/0.5121, allocations: 36.03 kB / 0.5865 GB, free: 1.777 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 9.11e-07/0.5121, allocations: 0 / 0.5865 GB, free: 1.777 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001374/0.5123, allocations: 41.22 kB / 0.5865 GB, free: 1.742 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.395e-05/0.5123, allocations: 52.44 kB / 0.5866 GB, free: 1.68 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.486e-05/0.5123, allocations: 97.47 kB / 0.5867 GB, free: 1.578 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.835e-06/0.5124, allocations: 26.77 kB / 0.5867 GB, free: 1.547 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.572e-05/0.5124, allocations: 84.39 kB / 0.5868 GB, free: 1.461 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.252e-05/0.5124, allocations: 9.969 kB / 0.5868 GB, free: 1.453 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.775e-06/0.5124, allocations: 0 / 0.5868 GB, free: 1.453 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.914e-05/0.5125, allocations: 320.6 kB / 0.5871 GB, free: 1.133 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.209e-05/0.5125, allocations: 3.156 kB / 0.5871 GB, free: 1.133 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.845e-06/0.5125, allocations: 1.281 kB / 0.5871 GB, free: 1.133 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.64e-05/0.5125, allocations: 2.531 kB / 0.5871 GB, free: 1.133 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.5125, allocations: 1.875 kB / 0.5871 GB, free: 1.133 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.468e-05/0.5126, allocations: 46.95 kB / 0.5872 GB, free: 1.09 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.5126, allocations: 8.156 kB / 0.5872 GB, free: 1.09 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.5126, allocations: 0 / 0.5872 GB, free: 1.09 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.498e-06/0.5126, allocations: 0 / 0.5872 GB, free: 1.09 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001539/0.5128, allocations: 10.42 kB / 0.5872 GB, free: 1.09 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002424/0.513, allocations: 0.5844 MB / 0.5878 GB, free: 0.5 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.796e-05/0.5131, allocations: 5 kB / 0.5878 GB, free: 0.4961 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.959e-06/0.5131, allocations: 128 / 0.5878 GB, free: 0.4961 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 (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 5.247e-05/0.5131, allocations: 117.8 kB / 0.5879 GB, free: 384 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.414e-06/0.5132, allocations: 5.734 kB / 0.5879 GB, free: 380 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.406e-05/0.5133, allocations: 48.23 kB / 0.5879 GB, free: 336 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.5133, allocations: 1.094 kB / 0.5879 GB, free: 336 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.5133, allocations: 0 / 0.5879 GB, free: 336 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.5133, allocations: 4.609 kB / 0.5879 GB, free: 332 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.118e-05/0.5133, allocations: 154.8 kB / 0.5881 GB, free: 132 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.5134, allocations: 8.781 kB / 0.5881 GB, free: 124 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.816e-05/0.5134, allocations: 9.766 kB / 0.5881 GB, free: 124 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.5134, allocations: 1.656 kB / 0.5881 GB, free: 124 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.232e-06/0.5135, allocations: 0 / 0.5881 GB, free: 124 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002966/0.5138, allocations: 0.5882 MB / 0.5887 GB, free: 15.53 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.5138, allocations: 0 / 0.5887 GB, free: 15.53 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.658e-05/0.5139, allocations: 70.39 kB / 0.5887 GB, free: 15.45 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.572e-05/0.5139, allocations: 77.11 kB / 0.5888 GB, free: 15.36 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.097e-05/0.5139, allocations: 1.766 kB / 0.5888 GB, free: 15.36 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.586e-05/0.5139, allocations: 3.953 kB / 0.5888 GB, free: 15.36 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.369e-05/0.514, allocations: 2.969 kB / 0.5888 GB, free: 15.36 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.895e-06/0.514, allocations: 0.5156 kB / 0.5888 GB, free: 15.36 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.573e-05/0.514, allocations: 82.52 kB / 0.5889 GB, free: 15.28 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.514, allocations: 0 / 0.5889 GB, free: 15.28 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001875/0.5142, allocations: 14.97 kB / 0.5889 GB, free: 15.27 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001773/0.5144, allocations: 106.6 kB / 0.589 GB, free: 15.18 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001498/0.5145, allocations: 20.75 kB / 0.589 GB, free: 15.18 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.5146, allocations: 0 / 0.589 GB, free: 15.18 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.968e-05/0.5146, allocations: 13.58 kB / 0.589 GB, free: 15.18 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001415/0.5148, allocations: 5.375 kB / 0.5891 GB, free: 15.18 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003136/0.5151, allocations: 138.3 kB / 0.5892 GB, free: 15.03 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002596/0.5154, allocations: 0.6755 MB / 0.5898 GB, free: 14.33 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.367e-05/0.5154, allocations: 7.438 kB / 0.5898 GB, free: 14.32 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.5154, allocations: 0 / 0.5898 GB, free: 14.32 MB / 446.1 MB Notification: Performance of Templates: time 0.002534/0.518, allocations: 0.6981 MB / 0.5905 GB, free: 14.28 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.makefile make -j1 -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.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.InvertingBasicFlowFunction_m_flowCalcHelperMain.o OMCppIDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flowCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flowCalcHelperMain.o] Error 1