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.0007515/0.0007514, allocations: 92.08 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.0009643/0.0009643, allocations: 180.3 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.291/1.291, allocations: 223.2 MB / 240.9 MB, free: 5.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7255/0.7255, allocations: 132.3 MB / 424.4 MB, free: 1.922 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000325/0.0003251, allocations: 8 kB / 0.5046 GB, free: 3.91 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4124/0.4128, allocations: 81.58 MB / 0.5843 GB, free: 4.055 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.001304/0.4141, allocations: 0.9723 MB / 0.5852 GB, free: 3.332 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009064/0.4151, allocations: 0.5879 MB / 0.5858 GB, free: 2.93 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.49e-05/0.4151, allocations: 0 / 0.5858 GB, free: 2.93 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.461e-05/0.4151, allocations: 4 kB / 0.5858 GB, free: 2.926 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.668e-05/0.4152, allocations: 9.734 kB / 0.5858 GB, free: 2.918 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004306/0.4156, allocations: 120 kB / 0.5859 GB, free: 2.863 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 4.482e-05/0.4157, allocations: 13.97 kB / 0.586 GB, free: 2.855 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.905e-05/0.4157, allocations: 2.219 kB / 0.586 GB, free: 2.855 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.201e-05/0.4157, allocations: 6.953 kB / 0.586 GB, free: 2.852 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.987e-05/0.4158, allocations: 3.422 kB / 0.586 GB, free: 2.852 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.537e-06/0.4158, allocations: 0 / 0.586 GB, free: 2.852 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005498/0.4164, allocations: 344.1 kB / 0.5863 GB, free: 2.75 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 9.959e-06/0.4164, allocations: 5.625 kB / 0.5863 GB, free: 2.746 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.179e-05/0.4164, allocations: 31.34 kB / 0.5863 GB, free: 2.711 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001975/0.4166, allocations: 95.52 kB / 0.5864 GB, free: 2.688 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.4166, allocations: 1 kB / 0.5864 GB, free: 2.688 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.4166, allocations: 0 / 0.5864 GB, free: 2.688 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.975e-06/0.4167, allocations: 0 / 0.5864 GB, free: 2.688 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.0003033/0.417, allocations: 343.6 kB / 0.5868 GB, free: 2.32 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/0.417, allocations: 8.844 kB / 0.5868 GB, free: 2.32 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.836e-05/0.417, allocations: 10.7 kB / 0.5868 GB, free: 2.312 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.394e-05/0.4171, allocations: 170.8 kB / 0.5869 GB, free: 2.109 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.244e-05/0.4171, allocations: 384 / 0.5869 GB, free: 2.109 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.162e-05/0.4172, allocations: 2.25 kB / 0.5869 GB, free: 2.109 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.544e-05/0.4173, allocations: 33.45 kB / 0.587 GB, free: 2.074 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.173e-06/0.4173, allocations: 0.7188 kB / 0.587 GB, free: 2.074 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.957e-06/0.4173, allocations: 0.6094 kB / 0.587 GB, free: 2.074 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-06/0.4173, allocations: 1.25 kB / 0.587 GB, free: 2.074 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.593e-05/0.4173, allocations: 14.83 kB / 0.587 GB, free: 2.062 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001169/0.4174, allocations: 155.4 kB / 0.5871 GB, free: 1.867 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.359e-05/0.4175, allocations: 24.77 kB / 0.5872 GB, free: 1.84 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.757e-05/0.4175, allocations: 11.64 kB / 0.5872 GB, free: 1.828 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.197e-05/0.4175, allocations: 2.016 kB / 0.5872 GB, free: 1.828 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.657e-05/0.4176, allocations: 34.5 kB / 0.5872 GB, free: 1.785 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 8.72e-07/0.4176, allocations: 0.875 kB / 0.5872 GB, free: 1.785 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001366/0.4177, allocations: 45.27 kB / 0.5872 GB, free: 1.746 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.386e-05/0.4178, allocations: 55.44 kB / 0.5873 GB, free: 1.68 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.883e-05/0.4178, allocations: 94.33 kB / 0.5874 GB, free: 1.582 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.663e-06/0.4178, allocations: 25.7 kB / 0.5874 GB, free: 1.551 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.682e-05/0.4179, allocations: 81.8 kB / 0.5875 GB, free: 1.469 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.562e-05/0.4179, allocations: 13.23 kB / 0.5875 GB, free: 1.457 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.743e-05/0.4179, allocations: 10.69 kB / 0.5875 GB, free: 1.441 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.164e-05/0.418, allocations: 312.4 kB / 0.5878 GB, free: 1.129 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.256e-05/0.418, allocations: 7.328 kB / 0.5878 GB, free: 1.125 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.635e-06/0.418, allocations: 1.812 kB / 0.5878 GB, free: 1.125 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.566e-05/0.418, allocations: 15.33 kB / 0.5878 GB, free: 1.113 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.418, allocations: 3.938 kB / 0.5878 GB, free: 1.109 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.108e-05/0.4181, allocations: 43.31 kB / 0.5879 GB, free: 1.07 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.4181, allocations: 7.875 kB / 0.5879 GB, free: 1.07 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.237e-06/0.4181, allocations: 0.6875 kB / 0.5879 GB, free: 1.07 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.129e-05/0.4181, allocations: 0 / 0.5879 GB, free: 1.07 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001507/0.4183, allocations: 10.19 kB / 0.5879 GB, free: 1.07 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002385/0.4185, allocations: 0.5882 MB / 0.5885 GB, free: 488 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.651e-05/0.4186, allocations: 1.938 kB / 0.5885 GB, free: 488 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.819e-06/0.4186, allocations: 0 / 0.5885 GB, free: 488 kB / 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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 4.872e-05/0.4186, allocations: 117.4 kB / 0.5886 GB, free: 364 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.045e-06/0.4186, allocations: 5.703 kB / 0.5886 GB, free: 360 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.77e-05/0.4187, allocations: 48.2 kB / 0.5886 GB, free: 316 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.4187, allocations: 0.7188 kB / 0.5886 GB, free: 316 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.4187, allocations: 0 / 0.5886 GB, free: 316 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-06/0.4187, allocations: 1.156 kB / 0.5886 GB, free: 316 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.085e-05/0.4188, allocations: 154.7 kB / 0.5888 GB, free: 116 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.4188, allocations: 0.6875 kB / 0.5888 GB, free: 116 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.099e-05/0.4189, allocations: 10.66 kB / 0.5888 GB, free: 116 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.654e-06/0.4189, allocations: 3.938 kB / 0.5888 GB, free: 112 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.992e-06/0.4189, allocations: 1.031 kB / 0.5888 GB, free: 112 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003152/0.4192, allocations: 0.5914 MB / 0.5894 GB, free: 15.51 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.4192, allocations: 1 kB / 0.5894 GB, free: 15.51 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.234e-05/0.4193, allocations: 61.05 kB / 0.5894 GB, free: 15.45 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.793e-05/0.4194, allocations: 78.89 kB / 0.5895 GB, free: 15.35 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.241e-05/0.4194, allocations: 1 kB / 0.5895 GB, free: 15.35 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.658e-05/0.4194, allocations: 9.859 kB / 0.5895 GB, free: 15.34 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.276e-05/0.4194, allocations: 0.7031 kB / 0.5895 GB, free: 15.34 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.538e-06/0.4194, allocations: 4.719 kB / 0.5895 GB, free: 15.34 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.586e-05/0.4195, allocations: 78.36 kB / 0.5896 GB, free: 15.27 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4195, allocations: 0 / 0.5896 GB, free: 15.27 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001884/0.4197, allocations: 10.88 kB / 0.5896 GB, free: 15.26 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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001712/0.4199, allocations: 113.1 kB / 0.5897 GB, free: 15.17 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001541/0.42, allocations: 21.17 kB / 0.5897 GB, free: 15.16 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.42, allocations: 0.9062 kB / 0.5897 GB, free: 15.16 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.651e-05/0.4201, allocations: 18.08 kB / 0.5898 GB, free: 15.16 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001361/0.4203, allocations: 4.625 kB / 0.5898 GB, free: 15.16 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003327/0.4206, allocations: 138.1 kB / 0.5899 GB, free: 15.01 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002468/0.4209, allocations: 0.679 MB / 0.5906 GB, free: 14.31 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.305e-05/0.4209, allocations: 15.31 kB / 0.5906 GB, free: 14.29 MB / 446.1 MB Notification: Performance of SimCode: time 4.21e-07/0.4209, allocations: 0 / 0.5906 GB, free: 14.29 MB / 446.1 MB Notification: Performance of Templates: time 0.002421/0.4233, allocations: 0.6834 MB / 0.5912 GB, free: 14.26 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++ -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.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