Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") translateModel(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.0009285/0.0009285, allocations: 98.88 kB / 16.02 MB, free: 76 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.0009804/0.0009805, allocations: 181.8 kB / 16.92 MB, free: 6.918 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.357/1.357, allocations: 223.2 MB / 241 MB, free: 5.254 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00173/0.00173, allocations: 274.7 kB / 292.3 MB, free: 1.797 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9446/0.9446, allocations: 169.5 MB / 0.501 GB, free: 14.14 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005248/0.000525, allocations: 15.34 kB / 0.5993 GB, free: 28.05 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1691/0.1697, allocations: 88.55 MB / 0.6858 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.001385/0.1711, allocations: 0.965 MB / 0.6867 GB, free: 14.1 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.000992/0.1721, allocations: 0.5962 MB / 0.6873 GB, free: 13.5 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.748e-05/0.1722, allocations: 0 / 0.6873 GB, free: 13.5 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.777e-05/0.1722, allocations: 3.984 kB / 0.6873 GB, free: 13.5 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.251e-05/0.1722, allocations: 8.484 kB / 0.6873 GB, free: 13.49 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005271/0.1728, allocations: 113.8 kB / 0.6874 GB, free: 13.38 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.85e-05/0.1728, allocations: 7.938 kB / 0.6874 GB, free: 13.38 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.05e-05/0.1729, allocations: 7.984 kB / 0.6874 GB, free: 13.37 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.642e-05/0.1729, allocations: 1.375 kB / 0.6874 GB, free: 13.37 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.191e-05/0.1729, allocations: 11.94 kB / 0.6875 GB, free: 13.36 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.528e-06/0.173, allocations: 0 / 0.6875 GB, free: 13.36 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004812/0.1734, allocations: 347.2 kB / 0.6878 GB, free: 13.02 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.748e-06/0.1735, allocations: 1.188 kB / 0.6878 GB, free: 13.02 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.075e-05/0.1735, allocations: 29.7 kB / 0.6878 GB, free: 12.98 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001815/0.1737, allocations: 92.11 kB / 0.6879 GB, free: 12.89 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.1737, allocations: 0.5625 kB / 0.6879 GB, free: 12.89 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1737, allocations: 3.938 kB / 0.6879 GB, free: 12.89 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.487e-06/0.1737, allocations: 1.094 kB / 0.6879 GB, free: 12.89 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.0003605/0.1741, allocations: 353 kB / 0.6882 GB, free: 12.49 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.552e-05/0.1741, allocations: 8.031 kB / 0.6882 GB, free: 12.48 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.945e-05/0.1742, allocations: 4.938 kB / 0.6883 GB, free: 12.48 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001116/0.1743, allocations: 160.4 kB / 0.6884 GB, free: 12.29 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.719e-06/0.1743, allocations: 1.594 kB / 0.6884 GB, free: 12.29 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.006e-05/0.1743, allocations: 384 / 0.6884 GB, free: 12.29 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.409e-05/0.1744, allocations: 42.72 kB / 0.6884 GB, free: 12.24 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.901e-06/0.1744, allocations: 2.312 kB / 0.6885 GB, free: 12.24 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.758e-06/0.1744, allocations: 3.938 kB / 0.6885 GB, free: 12.23 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.551e-06/0.1744, allocations: 3.984 kB / 0.6885 GB, free: 12.23 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.492e-05/0.1745, allocations: 4 kB / 0.6885 GB, free: 12.23 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001572/0.1746, allocations: 149.7 kB / 0.6886 GB, free: 12.03 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.134e-05/0.1747, allocations: 24 kB / 0.6886 GB, free: 12 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.969e-05/0.1747, allocations: 8.922 kB / 0.6886 GB, free: 11.99 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.989e-05/0.1748, allocations: 2.281 kB / 0.6886 GB, free: 11.99 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.819e-05/0.1748, allocations: 38.5 kB / 0.6887 GB, free: 11.94 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.252e-06/0.1748, allocations: 0 / 0.6887 GB, free: 11.94 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001529/0.1749, allocations: 47.8 kB / 0.6887 GB, free: 11.89 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.496e-05/0.175, allocations: 55.39 kB / 0.6888 GB, free: 11.82 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.501e-05/0.1751, allocations: 93.86 kB / 0.6889 GB, free: 11.72 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.545e-05/0.1751, allocations: 29.7 kB / 0.6889 GB, free: 11.69 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.01e-05/0.1751, allocations: 80.92 kB / 0.689 GB, free: 11.61 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.529e-05/0.1752, allocations: 0 / 0.689 GB, free: 11.61 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.484e-05/0.1752, allocations: 11.44 kB / 0.689 GB, free: 11.59 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001149/0.1753, allocations: 314.8 kB / 0.6893 GB, free: 11.27 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.288e-05/0.1753, allocations: 4 kB / 0.6893 GB, free: 11.27 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.114e-05/0.1753, allocations: 4.859 kB / 0.6893 GB, free: 11.27 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.52e-05/0.1754, allocations: 17.39 kB / 0.6893 GB, free: 11.25 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.1754, allocations: 3.938 kB / 0.6893 GB, free: 11.24 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.51e-05/0.1755, allocations: 42.83 kB / 0.6893 GB, free: 11.2 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.1755, allocations: 4 kB / 0.6894 GB, free: 11.19 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.1755, allocations: 3.938 kB / 0.6894 GB, free: 11.19 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.108e-05/0.1755, allocations: 0.8438 kB / 0.6894 GB, free: 11.19 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001562/0.1757, allocations: 11.98 kB / 0.6894 GB, free: 11.18 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003433/0.176, allocations: 0.5869 MB / 0.6899 GB, free: 10.57 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.676e-05/0.1761, allocations: 7.938 kB / 0.69 GB, free: 10.56 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.529e-06/0.1761, allocations: 0 / 0.69 GB, free: 10.56 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 7.771e-05/0.1762, allocations: 114.4 kB / 0.6901 GB, free: 10.44 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.778e-06/0.1762, allocations: 7.984 kB / 0.6901 GB, free: 10.43 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.424e-05/0.1763, allocations: 40.83 kB / 0.6901 GB, free: 10.38 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.1763, allocations: 4.125 kB / 0.6901 GB, free: 10.38 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.1763, allocations: 0 / 0.6901 GB, free: 10.38 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.1763, allocations: 0 / 0.6901 GB, free: 10.38 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001055/0.1764, allocations: 153.6 kB / 0.6903 GB, free: 10.18 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.1764, allocations: 0 / 0.6903 GB, free: 10.18 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.475e-05/0.1765, allocations: 15.92 kB / 0.6903 GB, free: 10.16 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.1765, allocations: 0 / 0.6903 GB, free: 10.16 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.789e-06/0.1765, allocations: 0 / 0.6903 GB, free: 10.16 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002952/0.1768, allocations: 0.5821 MB / 0.6908 GB, free: 9.559 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.1768, allocations: 3.938 kB / 0.6908 GB, free: 9.555 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.499e-05/0.1769, allocations: 69.06 kB / 0.6909 GB, free: 9.469 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.768e-05/0.1769, allocations: 85.05 kB / 0.691 GB, free: 9.367 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.158e-05/0.177, allocations: 7.938 kB / 0.691 GB, free: 9.359 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.324e-05/0.177, allocations: 0 / 0.691 GB, free: 9.359 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.585e-05/0.177, allocations: 3.938 kB / 0.691 GB, free: 9.355 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.037e-06/0.177, allocations: 8.125 kB / 0.691 GB, free: 9.348 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.212e-05/0.1771, allocations: 79.27 kB / 0.6911 GB, free: 9.27 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1771, allocations: 0 / 0.6911 GB, free: 9.27 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001926/0.1773, allocations: 12 kB / 0.6911 GB, free: 9.258 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.0001525/0.1774, allocations: 111.2 kB / 0.6912 GB, free: 9.137 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001412/0.1776, allocations: 19.98 kB / 0.6912 GB, free: 9.117 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.459e-06/0.1776, allocations: 4.156 kB / 0.6912 GB, free: 9.113 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.267e-05/0.1777, allocations: 19.92 kB / 0.6912 GB, free: 9.094 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001348/0.1778, allocations: 2.641 kB / 0.6912 GB, free: 9.094 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003009/0.1781, allocations: 132.9 kB / 0.6914 GB, free: 8.934 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002321/0.1784, allocations: 0.677 MB / 0.692 GB, free: 8.23 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.304e-05/0.1784, allocations: 7.438 kB / 0.692 GB, free: 8.223 MB / 494.1 MB Notification: Performance of SimCode: time 3e-07/0.1784, allocations: 4.062 kB / 0.692 GB, free: 8.219 MB / 494.1 MB Notification: Performance of Templates: time 0.002139/0.1805, allocations: 0.6873 MB / 0.6927 GB, free: 7.535 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.makefile make -j1 -f BuildingSystems_BuildingSystems.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 OMCppBuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flowCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flowCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flowCalcHelperMain.o] Error 1