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.005406/0.005406, allocations: 100.8 kB / 15.87 MB, free: 5.867 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001068/0.001068, allocations: 192 kB / 16.79 MB, free: 5.809 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.312/1.312, allocations: 222.9 MB / 240.5 MB, free: 4.578 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6962/0.6962, allocations: 132.2 MB / 422.8 MB, free: 2.016 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001165/0.001165, allocations: 59.72 kB / 0.5017 GB, free: 9.234 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1623/0.1635, allocations: 80.21 MB / 0.58 GB, free: 9.246 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.002227/0.1658, allocations: 1.298 MB / 0.5813 GB, free: 7.93 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008532/0.1666, allocations: 0.6167 MB / 0.5819 GB, free: 7.312 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.201e-05/0.1667, allocations: 0 / 0.5819 GB, free: 7.312 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.485e-05/0.1667, allocations: 0 / 0.5819 GB, free: 7.312 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.981e-05/0.1667, allocations: 7.984 kB / 0.5819 GB, free: 7.305 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003846/0.1671, allocations: 118.4 kB / 0.582 GB, free: 7.191 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.304e-05/0.1672, allocations: 15.92 kB / 0.582 GB, free: 7.176 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.113e-05/0.1672, allocations: 4 kB / 0.582 GB, free: 7.172 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.27e-05/0.1672, allocations: 0 / 0.582 GB, free: 7.172 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.206e-05/0.1673, allocations: 4 kB / 0.582 GB, free: 7.168 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.626e-06/0.1673, allocations: 0 / 0.582 GB, free: 7.168 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004411/0.1677, allocations: 343.3 kB / 0.5824 GB, free: 6.832 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.278e-06/0.1677, allocations: 3.938 kB / 0.5824 GB, free: 6.828 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.753e-05/0.1678, allocations: 11.98 kB / 0.5824 GB, free: 6.816 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001474/0.1679, allocations: 92.11 kB / 0.5825 GB, free: 6.727 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.344e-06/0.1679, allocations: 0 / 0.5825 GB, free: 6.727 MB / 494.1 MB Notification: Performance of FrontEnd: time 6.61e-07/0.1679, allocations: 0 / 0.5825 GB, free: 6.727 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.621e-06/0.1679, allocations: 4 kB / 0.5825 GB, free: 6.723 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003291/0.1683, allocations: 359.3 kB / 0.5828 GB, free: 6.324 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.87e-05/0.1683, allocations: 8.031 kB / 0.5828 GB, free: 6.316 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.189e-05/0.1683, allocations: 0.9375 kB / 0.5828 GB, free: 6.316 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.975e-05/0.1684, allocations: 164.3 kB / 0.583 GB, free: 6.117 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.378e-06/0.1685, allocations: 8.375 kB / 0.583 GB, free: 6.109 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.977e-06/0.1685, allocations: 4.359 kB / 0.583 GB, free: 6.105 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.989e-05/0.1685, allocations: 33.83 kB / 0.583 GB, free: 6.066 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.981e-06/0.1686, allocations: 3.938 kB / 0.583 GB, free: 6.062 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.801e-06/0.1686, allocations: 0 / 0.583 GB, free: 6.062 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.427e-06/0.1686, allocations: 0 / 0.583 GB, free: 6.062 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.108e-05/0.1686, allocations: 4 kB / 0.583 GB, free: 6.059 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001266/0.1687, allocations: 153.7 kB / 0.5832 GB, free: 5.859 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.766e-05/0.1688, allocations: 34.55 kB / 0.5832 GB, free: 5.816 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.491e-05/0.1688, allocations: 4.859 kB / 0.5832 GB, free: 5.809 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.506e-05/0.1688, allocations: 0 / 0.5832 GB, free: 5.809 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.715e-05/0.1688, allocations: 38.56 kB / 0.5833 GB, free: 5.762 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 7.21e-07/0.1689, allocations: 0 / 0.5833 GB, free: 5.762 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001142/0.169, allocations: 41.69 kB / 0.5833 GB, free: 5.715 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.54e-05/0.169, allocations: 51.53 kB / 0.5834 GB, free: 5.652 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.133e-05/0.1691, allocations: 97.86 kB / 0.5834 GB, free: 5.547 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.788e-05/0.1691, allocations: 25.7 kB / 0.5835 GB, free: 5.516 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.349e-05/0.1691, allocations: 84.08 kB / 0.5835 GB, free: 5.43 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.83e-05/0.1691, allocations: 7.906 kB / 0.5836 GB, free: 5.422 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.442e-05/0.1692, allocations: 17.7 kB / 0.5836 GB, free: 5.398 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.728e-05/0.1693, allocations: 310.8 kB / 0.5839 GB, free: 5.086 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.145e-05/0.1693, allocations: 4 kB / 0.5839 GB, free: 5.082 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.586e-06/0.1693, allocations: 8.125 kB / 0.5839 GB, free: 5.074 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.486e-05/0.1693, allocations: 12.86 kB / 0.5839 GB, free: 5.059 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/0.1693, allocations: 0 / 0.5839 GB, free: 5.059 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.359e-05/0.1694, allocations: 45.62 kB / 0.5839 GB, free: 5.008 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.029e-05/0.1694, allocations: 4 kB / 0.5839 GB, free: 5.004 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.396e-06/0.1694, allocations: 0 / 0.5839 GB, free: 5.004 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.287e-06/0.1694, allocations: 0 / 0.5839 GB, free: 5.004 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001321/0.1696, allocations: 11.94 kB / 0.584 GB, free: 4.992 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003118/0.1699, allocations: 0.5861 MB / 0.5845 GB, free: 4.383 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.686e-05/0.1699, allocations: 3.938 kB / 0.5845 GB, free: 4.379 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.749e-06/0.1699, allocations: 4.031 kB / 0.5845 GB, free: 4.375 MB / 494.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 6.649e-05/0.17, allocations: 110.4 kB / 0.5846 GB, free: 4.258 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.075e-06/0.17, allocations: 3.906 kB / 0.5846 GB, free: 4.254 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.142e-05/0.1701, allocations: 56.83 kB / 0.5847 GB, free: 4.188 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.1701, allocations: 4 kB / 0.5847 GB, free: 4.184 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-06/0.1701, allocations: 0 / 0.5847 GB, free: 4.184 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.943e-06/0.1701, allocations: 0 / 0.5847 GB, free: 4.184 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.775e-05/0.1702, allocations: 153.6 kB / 0.5848 GB, free: 3.984 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.1702, allocations: 4 kB / 0.5849 GB, free: 3.98 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.84e-05/0.1703, allocations: 8 kB / 0.5849 GB, free: 3.973 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.1703, allocations: 4 kB / 0.5849 GB, free: 3.969 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.789e-06/0.1703, allocations: 0 / 0.5849 GB, free: 3.969 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002736/0.1706, allocations: 0.5899 MB / 0.5854 GB, free: 3.355 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1706, allocations: 3.938 kB / 0.5854 GB, free: 3.352 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.946e-05/0.1707, allocations: 61.11 kB / 0.5855 GB, free: 3.273 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.905e-05/0.1707, allocations: 81.11 kB / 0.5856 GB, free: 3.176 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.084e-05/0.1707, allocations: 3.984 kB / 0.5856 GB, free: 3.172 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.536e-05/0.1707, allocations: 3.938 kB / 0.5856 GB, free: 3.168 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.349e-05/0.1708, allocations: 8.125 kB / 0.5856 GB, free: 3.16 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.234e-06/0.1708, allocations: 0 / 0.5856 GB, free: 3.16 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.448e-05/0.1708, allocations: 79.28 kB / 0.5857 GB, free: 3.082 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1708, allocations: 0 / 0.5857 GB, free: 3.082 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001779/0.171, allocations: 8 kB / 0.5857 GB, free: 3.074 MB / 494.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.000146/0.1711, allocations: 115.2 kB / 0.5858 GB, free: 2.953 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00014/0.1713, allocations: 20.08 kB / 0.5858 GB, free: 2.934 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.1713, allocations: 4 kB / 0.5858 GB, free: 2.93 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.297e-05/0.1714, allocations: 19.92 kB / 0.5858 GB, free: 2.91 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001233/0.1715, allocations: 3.375 kB / 0.5858 GB, free: 2.91 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002725/0.1718, allocations: 142 kB / 0.586 GB, free: 2.738 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002002/0.172, allocations: 0.6692 MB / 0.5866 GB, free: 2.043 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.279e-05/0.172, allocations: 15.56 kB / 0.5866 GB, free: 2.031 MB / 494.1 MB Notification: Performance of SimCode: time 2.81e-07/0.172, allocations: 0 / 0.5866 GB, free: 2.031 MB / 494.1 MB Notification: Performance of Templates: time 0.001706/0.1738, allocations: 0.6817 MB / 0.5873 GB, free: 1.352 MB / 494.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