Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.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_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") translateModel(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008179/0.0008179, allocations: 99.11 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.0009899/0.0009899, allocations: 185.8 kB / 16.92 MB, free: 6.75 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.363/1.363, allocations: 223.2 MB / 240.9 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001946/0.001946, allocations: 274.5 kB / 292.3 MB, free: 1.891 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9927/0.9927, allocations: 169.5 MB / 0.501 GB, free: 14.05 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004292/0.0004292, allocations: 15.64 kB / 0.5993 GB, free: 28.29 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1715/0.1719, allocations: 88.55 MB / 0.6858 GB, free: 15.06 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.001388/0.1734, allocations: 0.9611 MB / 0.6867 GB, free: 14.09 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001007/0.1744, allocations: 0.5996 MB / 0.6873 GB, free: 13.49 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.788e-05/0.1745, allocations: 0 / 0.6873 GB, free: 13.49 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.713e-05/0.1745, allocations: 0 / 0.6873 GB, free: 13.49 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.073e-05/0.1745, allocations: 3.984 kB / 0.6873 GB, free: 13.48 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005192/0.1751, allocations: 123.4 kB / 0.6874 GB, free: 13.37 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.74e-05/0.1751, allocations: 7.938 kB / 0.6874 GB, free: 13.36 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.85e-05/0.1751, allocations: 0.5 kB / 0.6874 GB, free: 13.36 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.776e-05/0.1752, allocations: 4.562 kB / 0.6874 GB, free: 13.36 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.369e-05/0.1752, allocations: 7.922 kB / 0.6874 GB, free: 13.35 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.02e-05/0.1752, allocations: 2.281 kB / 0.6874 GB, free: 13.35 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004744/0.1757, allocations: 347.3 kB / 0.6878 GB, free: 13.01 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.011e-05/0.1757, allocations: 0 / 0.6878 GB, free: 13.01 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.968e-05/0.1758, allocations: 29.7 kB / 0.6878 GB, free: 12.97 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001891/0.176, allocations: 96.11 kB / 0.6879 GB, free: 12.88 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.176, allocations: 3.938 kB / 0.6879 GB, free: 12.88 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.176, allocations: 4.438 kB / 0.6879 GB, free: 12.87 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.158e-06/0.176, allocations: 0.75 kB / 0.6879 GB, free: 12.87 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.0003687/0.1764, allocations: 344.8 kB / 0.6882 GB, free: 12.48 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.1764, allocations: 12.03 kB / 0.6882 GB, free: 12.47 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.205e-05/0.1765, allocations: 8.922 kB / 0.6882 GB, free: 12.46 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001203/0.1766, allocations: 164.9 kB / 0.6884 GB, free: 12.27 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.945e-06/0.1766, allocations: 1.031 kB / 0.6884 GB, free: 12.27 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.012e-05/0.1766, allocations: 4.375 kB / 0.6884 GB, free: 12.26 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.512e-05/0.1767, allocations: 31.33 kB / 0.6884 GB, free: 12.23 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/0.1767, allocations: 4.188 kB / 0.6884 GB, free: 12.22 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.689e-06/0.1767, allocations: 7.344 kB / 0.6885 GB, free: 12.22 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-06/0.1767, allocations: 0 / 0.6885 GB, free: 12.22 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.64e-05/0.1768, allocations: 7.984 kB / 0.6885 GB, free: 12.21 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001478/0.1769, allocations: 145.7 kB / 0.6886 GB, free: 12.02 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.148e-05/0.177, allocations: 26.61 kB / 0.6886 GB, free: 11.98 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.59e-05/0.177, allocations: 8.844 kB / 0.6886 GB, free: 11.97 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.114e-05/0.1771, allocations: 0.7812 kB / 0.6886 GB, free: 11.97 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.77e-05/0.1771, allocations: 39.28 kB / 0.6887 GB, free: 11.93 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.1771, allocations: 0.875 kB / 0.6887 GB, free: 11.93 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001361/0.1772, allocations: 45.55 kB / 0.6887 GB, free: 11.88 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.206e-05/0.1773, allocations: 51.91 kB / 0.6888 GB, free: 11.81 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.606e-05/0.1774, allocations: 99.41 kB / 0.6889 GB, free: 11.71 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.444e-05/0.1774, allocations: 25.7 kB / 0.6889 GB, free: 11.68 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.941e-05/0.1774, allocations: 84.39 kB / 0.689 GB, free: 11.59 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.019e-05/0.1775, allocations: 4 kB / 0.689 GB, free: 11.59 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.203e-05/0.1775, allocations: 13.72 kB / 0.689 GB, free: 11.57 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001193/0.1776, allocations: 310.8 kB / 0.6893 GB, free: 11.25 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.021e-05/0.1776, allocations: 0 / 0.6893 GB, free: 11.25 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.335e-05/0.1776, allocations: 8 kB / 0.6893 GB, free: 11.25 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.016e-05/0.1777, allocations: 20.72 kB / 0.6893 GB, free: 11.22 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.1777, allocations: 0 / 0.6893 GB, free: 11.22 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.242e-05/0.1778, allocations: 45.67 kB / 0.6893 GB, free: 11.17 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.1778, allocations: 4 kB / 0.6894 GB, free: 11.17 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/0.1778, allocations: 7.938 kB / 0.6894 GB, free: 11.16 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.04e-05/0.1778, allocations: 0 / 0.6894 GB, free: 11.16 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001555/0.178, allocations: 11.98 kB / 0.6894 GB, free: 11.15 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003722/0.1783, allocations: 0.586 MB / 0.6899 GB, free: 10.54 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.709e-05/0.1784, allocations: 0 / 0.6899 GB, free: 10.54 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.07e-06/0.1784, allocations: 4.125 kB / 0.6899 GB, free: 10.54 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.244e-05/0.1785, allocations: 115.1 kB / 0.6901 GB, free: 10.41 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.234e-06/0.1785, allocations: 0 / 0.6901 GB, free: 10.41 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001025/0.1786, allocations: 48.75 kB / 0.6901 GB, free: 10.36 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.1786, allocations: 0 / 0.6901 GB, free: 10.36 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.1786, allocations: 0 / 0.6901 GB, free: 10.36 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.1786, allocations: 0 / 0.6901 GB, free: 10.36 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001043/0.1787, allocations: 157.6 kB / 0.6903 GB, free: 10.16 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.1787, allocations: 4.031 kB / 0.6903 GB, free: 10.15 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.671e-05/0.1788, allocations: 11.98 kB / 0.6903 GB, free: 10.14 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.1788, allocations: 3.938 kB / 0.6903 GB, free: 10.14 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.524e-05/0.1788, allocations: 0 / 0.6903 GB, free: 10.14 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003121/0.1792, allocations: 0.5822 MB / 0.6908 GB, free: 9.531 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/0.1792, allocations: 3.938 kB / 0.6908 GB, free: 9.527 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.132e-05/0.1793, allocations: 69.12 kB / 0.6909 GB, free: 9.441 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.404e-05/0.1793, allocations: 81.05 kB / 0.691 GB, free: 9.344 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.158e-05/0.1793, allocations: 0 / 0.691 GB, free: 9.344 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.492e-05/0.1793, allocations: 7.938 kB / 0.691 GB, free: 9.336 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.9e-05/0.1794, allocations: 3.938 kB / 0.691 GB, free: 9.332 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.029e-06/0.1794, allocations: 4 kB / 0.691 GB, free: 9.328 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.252e-05/0.1794, allocations: 79.28 kB / 0.6911 GB, free: 9.25 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1794, allocations: 4.125 kB / 0.6911 GB, free: 9.246 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001822/0.1796, allocations: 12 kB / 0.6911 GB, free: 9.234 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.0001534/0.1798, allocations: 107.2 kB / 0.6912 GB, free: 9.117 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000153/0.1799, allocations: 19.98 kB / 0.6912 GB, free: 9.098 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1799, allocations: 3.938 kB / 0.6912 GB, free: 9.094 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.161e-05/0.18, allocations: 15.98 kB / 0.6912 GB, free: 9.078 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001386/0.1802, allocations: 9.078 kB / 0.6912 GB, free: 9.074 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003032/0.1805, allocations: 136.9 kB / 0.6914 GB, free: 8.91 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002369/0.1807, allocations: 0.6731 MB / 0.692 GB, free: 8.211 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.503e-05/0.1808, allocations: 11.44 kB / 0.692 GB, free: 8.199 MB / 494.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1808, allocations: 0 / 0.692 GB, free: 8.199 MB / 494.1 MB Notification: Performance of Templates: time 0.002345/0.1831, allocations: 0.6891 MB / 0.6927 GB, free: 7.512 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.makefile make -j1 -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.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_dpCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dpCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dpCalcHelperMain.o] Error 1