Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.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_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") translateModel(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008991/0.0008991, allocations: 99.19 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.001093/0.001093, allocations: 181 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.344/1.344, allocations: 223.2 MB / 240.9 MB, free: 5.258 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001713/0.001713, allocations: 271 kB / 292.3 MB, free: 1.793 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9531/0.9531, allocations: 169.6 MB / 0.501 GB, free: 14.14 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004311/0.0004312, allocations: 17.34 kB / 0.5993 GB, free: 28.18 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1737/0.1742, allocations: 88.55 MB / 0.6858 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.0017/0.1759, allocations: 1.187 MB / 0.6869 GB, free: 13.88 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001116/0.1771, allocations: 0.644 MB / 0.6876 GB, free: 13.23 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.19e-05/0.1771, allocations: 0 / 0.6876 GB, free: 13.23 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.575e-05/0.1771, allocations: 0 / 0.6876 GB, free: 13.23 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.941e-05/0.1772, allocations: 3.938 kB / 0.6876 GB, free: 13.23 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004632/0.1777, allocations: 133.5 kB / 0.6877 GB, free: 13.1 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.192e-05/0.1777, allocations: 44.59 kB / 0.6877 GB, free: 13.06 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.104e-05/0.1778, allocations: 5.188 kB / 0.6877 GB, free: 13.05 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.922e-05/0.1778, allocations: 23.92 kB / 0.6878 GB, free: 13.03 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.558e-05/0.1779, allocations: 27.84 kB / 0.6878 GB, free: 13 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.219e-05/0.1779, allocations: 4 kB / 0.6878 GB, free: 13 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004682/0.1784, allocations: 351.9 kB / 0.6881 GB, free: 12.66 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.626e-05/0.1784, allocations: 13.28 kB / 0.6881 GB, free: 12.64 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.624e-05/0.1785, allocations: 49.56 kB / 0.6882 GB, free: 12.59 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001759/0.1787, allocations: 116 kB / 0.6883 GB, free: 12.48 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.1787, allocations: 4 kB / 0.6883 GB, free: 12.47 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1787, allocations: 1.375 kB / 0.6883 GB, free: 12.47 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.037e-06/0.1787, allocations: 0 / 0.6883 GB, free: 12.47 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005446/0.1792, allocations: 392.8 kB / 0.6887 GB, free: 12.04 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/0.1793, allocations: 15 kB / 0.6887 GB, free: 12.03 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.394e-05/0.1793, allocations: 4.938 kB / 0.6887 GB, free: 12.02 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001213/0.1794, allocations: 168.2 kB / 0.6889 GB, free: 11.82 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.539e-05/0.1795, allocations: 4.375 kB / 0.6889 GB, free: 11.82 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.403e-05/0.1795, allocations: 8.375 kB / 0.6889 GB, free: 11.81 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002471/0.1798, allocations: 93.14 kB / 0.689 GB, free: 11.71 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.1798, allocations: 0.6875 kB / 0.689 GB, free: 11.71 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.705e-05/0.1798, allocations: 8.438 kB / 0.689 GB, free: 11.71 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.1798, allocations: 0 / 0.689 GB, free: 11.71 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002487/0.1801, allocations: 62.61 kB / 0.689 GB, free: 11.65 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005667/0.1806, allocations: 323.8 kB / 0.6893 GB, free: 11.29 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002978/0.181, allocations: 89.59 kB / 0.6894 GB, free: 11.19 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001202/0.1811, allocations: 36.84 kB / 0.6895 GB, free: 11.15 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.216e-05/0.1811, allocations: 6.047 kB / 0.6895 GB, free: 11.15 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.611e-05/0.1811, allocations: 34.56 kB / 0.6895 GB, free: 11.11 MB / 494.1 MB Notification: Performance of pre-optimization done (n=7): time 1.262e-06/0.1812, allocations: 0 / 0.6895 GB, free: 11.11 MB / 494.1 MB Notification: Performance of matching and sorting (n=11): time 0.001679/0.1828, allocations: 0.6699 MB / 0.6902 GB, free: 10.35 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.402e-05/0.1829, allocations: 51.41 kB / 0.6902 GB, free: 10.29 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.135e-05/0.183, allocations: 109.8 kB / 0.6903 GB, free: 10.17 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.777e-05/0.183, allocations: 25.7 kB / 0.6903 GB, free: 10.14 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.431e-05/0.1831, allocations: 95.98 kB / 0.6904 GB, free: 10.04 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.538e-05/0.1831, allocations: 43.39 kB / 0.6905 GB, free: 9.996 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.79e-05/0.1831, allocations: 13.72 kB / 0.6905 GB, free: 9.977 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001098/0.1832, allocations: 322.8 kB / 0.6908 GB, free: 9.652 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001372/0.1834, allocations: 31.98 kB / 0.6908 GB, free: 9.621 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001318/0.1835, allocations: 35.97 kB / 0.6909 GB, free: 9.586 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002539/0.1838, allocations: 84.83 kB / 0.6909 GB, free: 9.5 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.1838, allocations: 0 / 0.6909 GB, free: 9.5 MB / 494.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003331/0.1841, allocations: 132.5 kB / 0.6911 GB, free: 9.367 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.1842, allocations: 7.938 kB / 0.6911 GB, free: 9.359 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.1842, allocations: 0 / 0.6911 GB, free: 9.359 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.1842, allocations: 0 / 0.6911 GB, free: 9.359 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001483/0.1843, allocations: 31.92 kB / 0.6911 GB, free: 9.328 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.018e-05/0.1844, allocations: 3.984 kB / 0.6911 GB, free: 9.324 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.945e-05/0.1844, allocations: 15.88 kB / 0.6911 GB, free: 9.309 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.879e-06/0.1845, allocations: 4 kB / 0.6911 GB, free: 9.305 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 (13): * Single equations (assignments): 13 * 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 8.686e-05/0.1845, allocations: 118.5 kB / 0.6912 GB, free: 9.18 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.156e-05/0.1846, allocations: 8 kB / 0.6912 GB, free: 9.172 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003932/0.185, allocations: 133.5 kB / 0.6914 GB, free: 9.035 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.185, allocations: 4 kB / 0.6914 GB, free: 9.031 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.185, allocations: 0 / 0.6914 GB, free: 9.031 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.185, allocations: 7.938 kB / 0.6914 GB, free: 9.023 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005606/0.1856, allocations: 386.5 kB / 0.6918 GB, free: 8.59 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.1856, allocations: 0 / 0.6918 GB, free: 8.59 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001456/0.1857, allocations: 31.92 kB / 0.6918 GB, free: 8.559 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.1858, allocations: 4 kB / 0.6918 GB, free: 8.555 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.42e-05/0.1858, allocations: 11.94 kB / 0.6918 GB, free: 8.543 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.1858, allocations: 0 / 0.6918 GB, free: 8.543 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.1858, allocations: 0 / 0.6918 GB, free: 8.543 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005204/0.1863, allocations: 267.3 kB / 0.6921 GB, free: 8.266 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.757e-05/0.1864, allocations: 81.02 kB / 0.6921 GB, free: 8.168 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.016e-05/0.1864, allocations: 7.922 kB / 0.6921 GB, free: 8.16 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000117/0.1865, allocations: 8.031 kB / 0.6921 GB, free: 8.152 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.431e-05/0.1866, allocations: 11.98 kB / 0.6922 GB, free: 8.141 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.328e-06/0.1866, allocations: 7.938 kB / 0.6922 GB, free: 8.133 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.762e-05/0.1866, allocations: 79.47 kB / 0.6922 GB, free: 8.055 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1866, allocations: 8 kB / 0.6922 GB, free: 8.047 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002857/0.1869, allocations: 35.98 kB / 0.6923 GB, free: 8.012 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (dp_comp,der_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 (11): * Single equations (assignments): 11 * 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.0002453/0.1872, allocations: 143.2 kB / 0.6924 GB, free: 7.863 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003225/0.1875, allocations: 80.39 kB / 0.6925 GB, free: 7.785 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.1875, allocations: 7.938 kB / 0.6925 GB, free: 7.777 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001497/0.1877, allocations: 55.84 kB / 0.6926 GB, free: 7.723 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002738/0.1879, allocations: 11.98 kB / 0.6926 GB, free: 7.711 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006822/0.1886, allocations: 410.8 kB / 0.693 GB, free: 7.273 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002549/0.1889, allocations: 0.6887 MB / 0.6936 GB, free: 6.559 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.96e-05/0.189, allocations: 19.44 kB / 0.6936 GB, free: 6.539 MB / 494.1 MB Notification: Performance of SimCode: time 3.1e-07/0.189, allocations: 0 / 0.6936 GB, free: 6.539 MB / 494.1 MB Notification: Performance of Templates: time 0.002995/0.192, allocations: 1.303 MB / 0.6949 GB, free: 5.246 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile make -j1 -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.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_DerivativeCheck2CalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2CalcHelperMain.o] Error 1