Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.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.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") translateModel(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009615/0.0009613, allocations: 92.16 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.001309/0.001309, allocations: 173 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.364/1.364, allocations: 223.3 MB / 241 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001776/0.001776, allocations: 255.1 kB / 292.3 MB, free: 1.871 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9177/0.9177, allocations: 169.5 MB / 0.501 GB, free: 14.15 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004378/0.0004378, allocations: 21.8 kB / 0.5993 GB, free: 28.02 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1734/0.1739, allocations: 88.53 MB / 0.6858 GB, free: 15.09 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.001168/0.1751, allocations: 1.01 MB / 0.6868 GB, free: 14.07 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009607/0.1761, allocations: 0.6207 MB / 0.6874 GB, free: 13.45 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.324e-05/0.1761, allocations: 0 / 0.6874 GB, free: 13.45 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.432e-05/0.1761, allocations: 0 / 0.6874 GB, free: 13.45 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.327e-05/0.1762, allocations: 3.938 kB / 0.6874 GB, free: 13.45 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004277/0.1766, allocations: 121.2 kB / 0.6875 GB, free: 13.33 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.607e-05/0.1766, allocations: 19.94 kB / 0.6875 GB, free: 13.31 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.008e-05/0.1767, allocations: 3.984 kB / 0.6875 GB, free: 13.31 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.282e-05/0.1767, allocations: 11.92 kB / 0.6875 GB, free: 13.3 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.964e-05/0.1768, allocations: 4.5 kB / 0.6875 GB, free: 13.29 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.072e-05/0.1768, allocations: 2.281 kB / 0.6875 GB, free: 13.29 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004488/0.1772, allocations: 343.3 kB / 0.6878 GB, free: 12.96 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.214e-05/0.1773, allocations: 11.94 kB / 0.6879 GB, free: 12.95 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.327e-05/0.1773, allocations: 33.69 kB / 0.6879 GB, free: 12.91 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001584/0.1775, allocations: 104 kB / 0.688 GB, free: 12.8 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.1775, allocations: 0 / 0.688 GB, free: 12.8 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1775, allocations: 0.5 kB / 0.688 GB, free: 12.8 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.767e-06/0.1775, allocations: 4 kB / 0.688 GB, free: 12.8 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003308/0.1778, allocations: 357 kB / 0.6883 GB, free: 12.41 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.243e-05/0.1779, allocations: 8.031 kB / 0.6883 GB, free: 12.4 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.605e-05/0.1779, allocations: 4.938 kB / 0.6883 GB, free: 12.39 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.713e-05/0.178, allocations: 172.2 kB / 0.6885 GB, free: 12.19 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.798e-06/0.178, allocations: 4.375 kB / 0.6885 GB, free: 12.18 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.831e-05/0.178, allocations: 4.375 kB / 0.6885 GB, free: 12.18 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.666e-05/0.1781, allocations: 38.25 kB / 0.6886 GB, free: 12.14 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.22e-06/0.1782, allocations: 0.8125 kB / 0.6886 GB, free: 12.14 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.023e-05/0.1782, allocations: 3.938 kB / 0.6886 GB, free: 12.13 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.1782, allocations: 4.656 kB / 0.6886 GB, free: 12.13 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.353e-05/0.1782, allocations: 8.547 kB / 0.6886 GB, free: 12.12 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001481/0.1784, allocations: 158.9 kB / 0.6887 GB, free: 11.92 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001547/0.1785, allocations: 47.16 kB / 0.6888 GB, free: 11.86 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.144e-05/0.1786, allocations: 17.42 kB / 0.6888 GB, free: 11.84 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.535e-05/0.1786, allocations: 0.7188 kB / 0.6888 GB, free: 11.84 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.297e-05/0.1786, allocations: 32.53 kB / 0.6888 GB, free: 11.8 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.031e-06/0.1786, allocations: 0 / 0.6888 GB, free: 11.8 MB / 494.1 MB Notification: Performance of matching and sorting (n=6): time 0.0005236/0.1792, allocations: 310.2 kB / 0.6891 GB, free: 11.45 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.862e-05/0.1792, allocations: 56.03 kB / 0.6892 GB, free: 11.38 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.731e-05/0.1793, allocations: 101.9 kB / 0.6893 GB, free: 11.27 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.296e-05/0.1793, allocations: 29.64 kB / 0.6893 GB, free: 11.24 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.67e-05/0.1793, allocations: 84.08 kB / 0.6894 GB, free: 11.15 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.674e-05/0.1793, allocations: 23.7 kB / 0.6894 GB, free: 11.13 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.552e-05/0.1794, allocations: 9.719 kB / 0.6894 GB, free: 11.11 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.946e-05/0.1795, allocations: 314.8 kB / 0.6897 GB, free: 10.8 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.665e-05/0.1795, allocations: 15.97 kB / 0.6897 GB, free: 10.78 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.945e-05/0.1795, allocations: 15.94 kB / 0.6897 GB, free: 10.77 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.894e-05/0.1796, allocations: 29.02 kB / 0.6898 GB, free: 10.73 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.31e-07/0.1796, allocations: 8 kB / 0.6898 GB, free: 10.73 MB / 494.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.805e-05/0.1797, allocations: 61.67 kB / 0.6898 GB, free: 10.66 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.1797, allocations: 11.94 kB / 0.6898 GB, free: 10.65 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.306e-06/0.1797, allocations: 0 / 0.6898 GB, free: 10.65 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.346e-06/0.1797, allocations: 0 / 0.6898 GB, free: 10.65 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.238e-05/0.1798, allocations: 12.5 kB / 0.6899 GB, free: 10.64 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.988e-06/0.1798, allocations: 3.938 kB / 0.6899 GB, free: 10.63 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.712e-05/0.1798, allocations: 4 kB / 0.6899 GB, free: 10.63 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.951e-06/0.1798, allocations: 4 kB / 0.6899 GB, free: 10.62 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 (7): * Single equations (assignments): 7 * 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 6.208e-05/0.1799, allocations: 118.4 kB / 0.69 GB, free: 10.5 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.217e-05/0.1799, allocations: 7.844 kB / 0.69 GB, free: 10.49 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001201/0.18, allocations: 73.64 kB / 0.6901 GB, free: 10.41 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.18, allocations: 8.109 kB / 0.6901 GB, free: 10.41 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.101e-05/0.1801, allocations: 4 kB / 0.6901 GB, free: 10.4 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.1801, allocations: 0 / 0.6901 GB, free: 10.4 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002758/0.1804, allocations: 311.4 kB / 0.6904 GB, free: 10.04 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.1804, allocations: 0 / 0.6904 GB, free: 10.04 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.748e-05/0.1804, allocations: 20.02 kB / 0.6904 GB, free: 10.02 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.1804, allocations: 0 / 0.6904 GB, free: 10.02 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.534e-06/0.1805, allocations: 0 / 0.6904 GB, free: 10.02 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.105e-06/0.1805, allocations: 3.938 kB / 0.6904 GB, free: 10.02 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1805, allocations: 0 / 0.6904 GB, free: 10.02 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001613/0.1806, allocations: 176.3 kB / 0.6906 GB, free: 9.824 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.248e-05/0.1807, allocations: 85 kB / 0.6906 GB, free: 9.723 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.209e-05/0.1807, allocations: 8.031 kB / 0.6906 GB, free: 9.715 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.673e-05/0.1808, allocations: 8 kB / 0.6907 GB, free: 9.707 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.08e-05/0.1808, allocations: 7.984 kB / 0.6907 GB, free: 9.699 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.218e-06/0.1808, allocations: 0 / 0.6907 GB, free: 9.699 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.913e-05/0.1809, allocations: 79.28 kB / 0.6907 GB, free: 9.621 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1809, allocations: 3.938 kB / 0.6907 GB, free: 9.617 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000233/0.1811, allocations: 24 kB / 0.6908 GB, free: 9.594 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (dp_comp) * 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 (6): * Single equations (assignments): 6 * 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.0001752/0.1813, allocations: 127.1 kB / 0.6909 GB, free: 9.461 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 9.115e-05/0.1814, allocations: 35.98 kB / 0.6909 GB, free: 9.426 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1814, allocations: 0 / 0.6909 GB, free: 9.426 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.942e-05/0.1814, allocations: 23.92 kB / 0.6909 GB, free: 9.402 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000218/0.1817, allocations: 7.938 kB / 0.6909 GB, free: 9.395 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004191/0.1821, allocations: 239.5 kB / 0.6912 GB, free: 9.121 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002515/0.1823, allocations: 0.6809 MB / 0.6918 GB, free: 8.414 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.422e-05/0.1824, allocations: 11.44 kB / 0.6919 GB, free: 8.402 MB / 494.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1824, allocations: 0 / 0.6919 GB, free: 8.402 MB / 494.1 MB Notification: Performance of Templates: time 0.002381/0.1848, allocations: 0.7862 MB / 0.6926 GB, free: 7.629 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.makefile make -j1 -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.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.BasicFlowFunction_m_flow_DerivativeCheckCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheckCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheckCalcHelperMain.o] Error 1