Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.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.InverseFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") translateModel(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009076/0.0009073, allocations: 91.92 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.001162/0.001162, allocations: 180.7 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.351/1.351, allocations: 223.2 MB / 241 MB, free: 5.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001782/0.001782, allocations: 266.8 kB / 292.3 MB, free: 1.844 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9614/0.9614, allocations: 169.5 MB / 0.501 GB, free: 14.14 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004046/0.0004047, allocations: 14.94 kB / 0.5993 GB, free: 28 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1694/0.1698, allocations: 88.55 MB / 0.6858 GB, free: 15.09 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.001422/0.1713, allocations: 1.004 MB / 0.6868 GB, free: 14.07 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009984/0.1723, allocations: 0.6032 MB / 0.6873 GB, free: 13.47 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.06e-05/0.1723, allocations: 0.5625 kB / 0.6873 GB, free: 13.47 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.781e-05/0.1724, allocations: 1.281 kB / 0.6873 GB, free: 13.47 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.428e-05/0.1724, allocations: 7.922 kB / 0.6874 GB, free: 13.46 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005308/0.173, allocations: 124.2 kB / 0.6875 GB, free: 13.34 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.159e-05/0.173, allocations: 19.92 kB / 0.6875 GB, free: 13.32 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.483e-05/0.1731, allocations: 4 kB / 0.6875 GB, free: 13.32 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.238e-05/0.1731, allocations: 9.344 kB / 0.6875 GB, free: 13.31 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.657e-05/0.1732, allocations: 7.984 kB / 0.6875 GB, free: 13.3 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.142e-05/0.1732, allocations: 0 / 0.6875 GB, free: 13.3 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004821/0.1737, allocations: 346.3 kB / 0.6878 GB, free: 12.97 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.488e-05/0.1737, allocations: 11.94 kB / 0.6879 GB, free: 12.96 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.393e-05/0.1737, allocations: 29.7 kB / 0.6879 GB, free: 12.92 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001954/0.1739, allocations: 104 kB / 0.688 GB, free: 12.82 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.1739, allocations: 0 / 0.688 GB, free: 12.82 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1739, allocations: 0 / 0.688 GB, free: 12.82 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.186e-06/0.174, allocations: 0 / 0.688 GB, free: 12.82 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003797/0.1743, allocations: 352 kB / 0.6883 GB, free: 12.43 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/0.1744, allocations: 8.531 kB / 0.6883 GB, free: 12.42 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.869e-05/0.1744, allocations: 0.9375 kB / 0.6883 GB, free: 12.42 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001046/0.1745, allocations: 168.9 kB / 0.6885 GB, free: 12.21 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.347e-05/0.1746, allocations: 5.094 kB / 0.6885 GB, free: 12.21 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.315e-06/0.1746, allocations: 2.312 kB / 0.6885 GB, free: 12.21 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001111/0.1747, allocations: 46.19 kB / 0.6885 GB, free: 12.16 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.1747, allocations: 4.172 kB / 0.6885 GB, free: 12.16 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.122e-05/0.1747, allocations: 3.938 kB / 0.6885 GB, free: 12.15 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-06/0.1747, allocations: 4 kB / 0.6885 GB, free: 12.15 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.661e-05/0.1748, allocations: 12.75 kB / 0.6886 GB, free: 12.14 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003062/0.1751, allocations: 254.5 kB / 0.6888 GB, free: 11.84 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001832/0.1753, allocations: 55.22 kB / 0.6889 GB, free: 11.78 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.273e-05/0.1753, allocations: 20.84 kB / 0.6889 GB, free: 11.75 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.733e-05/0.1754, allocations: 2.438 kB / 0.6889 GB, free: 11.75 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.697e-05/0.1754, allocations: 30.56 kB / 0.6889 GB, free: 11.71 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.403e-06/0.1754, allocations: 0 / 0.6889 GB, free: 11.71 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001578/0.1756, allocations: 57.69 kB / 0.689 GB, free: 11.65 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.118e-05/0.1756, allocations: 53.5 kB / 0.689 GB, free: 11.59 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.982e-05/0.1757, allocations: 105.8 kB / 0.6891 GB, free: 11.48 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.315e-05/0.1757, allocations: 29.64 kB / 0.6891 GB, free: 11.44 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.321e-05/0.1757, allocations: 84.05 kB / 0.6892 GB, free: 11.36 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.149e-05/0.1758, allocations: 12.53 kB / 0.6892 GB, free: 11.34 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.713e-05/0.1758, allocations: 13.72 kB / 0.6892 GB, free: 11.32 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001099/0.1759, allocations: 319.5 kB / 0.6896 GB, free: 11 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.941e-05/0.1759, allocations: 8.875 kB / 0.6896 GB, free: 11 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.766e-05/0.176, allocations: 18.31 kB / 0.6896 GB, free: 10.97 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.993e-05/0.176, allocations: 34.95 kB / 0.6896 GB, free: 10.93 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/0.176, allocations: 0 / 0.6896 GB, free: 10.93 MB / 494.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.206e-05/0.1761, allocations: 62.28 kB / 0.6897 GB, free: 10.87 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.1762, allocations: 10.03 kB / 0.6897 GB, free: 10.86 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.1762, allocations: 4.031 kB / 0.6897 GB, free: 10.86 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.1762, allocations: 0 / 0.6897 GB, free: 10.86 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.588e-05/0.1762, allocations: 12 kB / 0.6897 GB, free: 10.84 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.538e-06/0.1762, allocations: 0 / 0.6897 GB, free: 10.84 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.231e-05/0.1763, allocations: 0 / 0.6897 GB, free: 10.84 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.592e-06/0.1763, allocations: 4 kB / 0.6897 GB, free: 10.84 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.907e-05/0.1764, allocations: 119 kB / 0.6898 GB, free: 10.71 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.315e-05/0.1764, allocations: 4 kB / 0.6898 GB, free: 10.71 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001265/0.1765, allocations: 61.61 kB / 0.6899 GB, free: 10.64 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/0.1765, allocations: 4 kB / 0.6899 GB, free: 10.64 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.257e-06/0.1765, allocations: 0 / 0.6899 GB, free: 10.64 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.1766, allocations: 48 / 0.6899 GB, free: 10.64 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001555/0.1767, allocations: 165.7 kB / 0.69 GB, free: 10.43 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.1767, allocations: 4 kB / 0.69 GB, free: 10.42 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.527e-05/0.1768, allocations: 11.98 kB / 0.6901 GB, free: 10.41 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.1768, allocations: 0 / 0.6901 GB, free: 10.41 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.561e-06/0.1768, allocations: 0 / 0.6901 GB, free: 10.41 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.1768, allocations: 0 / 0.6901 GB, free: 10.41 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1768, allocations: 0 / 0.6901 GB, free: 10.41 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001313/0.1769, allocations: 159.3 kB / 0.6902 GB, free: 10.24 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.007e-05/0.177, allocations: 77.11 kB / 0.6903 GB, free: 10.14 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.152e-05/0.177, allocations: 7.938 kB / 0.6903 GB, free: 10.14 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.547e-05/0.177, allocations: 0 / 0.6903 GB, free: 10.14 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.406e-05/0.1771, allocations: 0 / 0.6903 GB, free: 10.14 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.609e-06/0.1771, allocations: 3.984 kB / 0.6903 GB, free: 10.13 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.943e-05/0.1771, allocations: 83.28 kB / 0.6904 GB, free: 10.05 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1771, allocations: 4 kB / 0.6904 GB, free: 10.05 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002349/0.1774, allocations: 20 kB / 0.6904 GB, free: 10.03 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 (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001592/0.1775, allocations: 111.2 kB / 0.6905 GB, free: 9.906 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 8.492e-05/0.1776, allocations: 27.92 kB / 0.6905 GB, free: 9.879 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.1776, allocations: 0 / 0.6905 GB, free: 9.879 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.956e-05/0.1776, allocations: 12 kB / 0.6905 GB, free: 9.867 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002072/0.1779, allocations: 7.875 kB / 0.6905 GB, free: 9.859 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002828/0.1782, allocations: 162.4 kB / 0.6907 GB, free: 9.668 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002384/0.1784, allocations: 0.677 MB / 0.6914 GB, free: 8.965 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.343e-05/0.1784, allocations: 15.44 kB / 0.6914 GB, free: 8.949 MB / 494.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1784, allocations: 0 / 0.6914 GB, free: 8.949 MB / 494.1 MB Notification: Performance of Templates: time 0.001904/0.1803, allocations: 0.6844 MB / 0.692 GB, free: 8.27 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.makefile make -j1 -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.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.InverseFlowFunctionsCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctionsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctionsCalcHelperMain.o] Error 1