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.01529/0.01529, allocations: 100.9 kB / 15.87 MB, free: 5.867 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002934/0.002934, allocations: 194.4 kB / 16.79 MB, free: 5.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.342/2.342, allocations: 222.9 MB / 240.4 MB, free: 4.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.003263/0.003263, allocations: 286.7 kB / 290.9 MB, free: 2.059 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.835/1.835, allocations: 169.2 MB / 0.4983 GB, free: 14.11 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001927/0.001927, allocations: 99.16 kB / 0.5951 GB, free: 28.14 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3437/0.3456, allocations: 86.98 MB / 0.6801 GB, free: 1.16 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.003842/0.3495, allocations: 1.307 MB / 0.6814 GB, free: 15.85 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001697/0.3513, allocations: 0.5986 MB / 0.6819 GB, free: 15.25 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.231e-05/0.3513, allocations: 0 / 0.6819 GB, free: 15.25 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.691e-05/0.3514, allocations: 3.938 kB / 0.6819 GB, free: 15.25 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.715e-05/0.3514, allocations: 0.5312 kB / 0.6819 GB, free: 15.25 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006885/0.3522, allocations: 126.8 kB / 0.6821 GB, free: 15.13 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.728e-05/0.3522, allocations: 7.938 kB / 0.6821 GB, free: 15.12 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.704e-05/0.3523, allocations: 0 / 0.6821 GB, free: 15.12 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.841e-05/0.3523, allocations: 7.938 kB / 0.6821 GB, free: 15.11 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.504e-05/0.3524, allocations: 7.938 kB / 0.6821 GB, free: 15.11 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.347e-05/0.3524, allocations: 2.781 kB / 0.6821 GB, free: 15.11 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008051/0.3532, allocations: 347.3 kB / 0.6824 GB, free: 14.77 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.089e-05/0.3533, allocations: 4 kB / 0.6824 GB, free: 14.76 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.084e-05/0.3533, allocations: 7.938 kB / 0.6824 GB, free: 14.75 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002891/0.3536, allocations: 92.11 kB / 0.6825 GB, free: 14.66 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.276e-06/0.3536, allocations: 0 / 0.6825 GB, free: 14.66 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.665e-06/0.3536, allocations: 0 / 0.6825 GB, free: 14.66 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.663e-06/0.3537, allocations: 0.7812 kB / 0.6825 GB, free: 14.66 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.0006095/0.3543, allocations: 348 kB / 0.6829 GB, free: 14.27 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.978e-05/0.3544, allocations: 8.031 kB / 0.6829 GB, free: 14.27 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.095e-05/0.3544, allocations: 5.812 kB / 0.6829 GB, free: 14.26 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002143/0.3546, allocations: 164.4 kB / 0.683 GB, free: 14.06 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.575e-05/0.3547, allocations: 0.9062 kB / 0.683 GB, free: 14.06 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.203e-05/0.3547, allocations: 1.438 kB / 0.683 GB, free: 14.06 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001435/0.3548, allocations: 34.27 kB / 0.6831 GB, free: 14.02 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.3549, allocations: 1.188 kB / 0.6831 GB, free: 14.02 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.487e-05/0.3549, allocations: 3.938 kB / 0.6831 GB, free: 14.02 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.805e-06/0.3549, allocations: 8 kB / 0.6831 GB, free: 14.01 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.791e-05/0.355, allocations: 7.938 kB / 0.6831 GB, free: 14 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002715/0.3552, allocations: 153.7 kB / 0.6832 GB, free: 13.8 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.033e-05/0.3553, allocations: 18.61 kB / 0.6832 GB, free: 13.78 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.331e-05/0.3554, allocations: 8.922 kB / 0.6833 GB, free: 13.77 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.416e-05/0.3554, allocations: 3.938 kB / 0.6833 GB, free: 13.76 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.796e-05/0.3554, allocations: 38.55 kB / 0.6833 GB, free: 13.71 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.293e-06/0.3555, allocations: 0 / 0.6833 GB, free: 13.71 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002248/0.3557, allocations: 53.48 kB / 0.6833 GB, free: 13.66 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.219e-05/0.3558, allocations: 51.41 kB / 0.6834 GB, free: 13.59 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001126/0.3559, allocations: 97.86 kB / 0.6835 GB, free: 13.49 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.024e-05/0.3559, allocations: 25.7 kB / 0.6835 GB, free: 13.46 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.274e-05/0.356, allocations: 84.12 kB / 0.6836 GB, free: 13.37 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.1e-05/0.356, allocations: 0 / 0.6836 GB, free: 13.37 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.406e-05/0.3561, allocations: 17.97 kB / 0.6836 GB, free: 13.35 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001811/0.3563, allocations: 314.8 kB / 0.6839 GB, free: 13.03 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.678e-05/0.3563, allocations: 0 / 0.6839 GB, free: 13.03 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.58e-05/0.3563, allocations: 4 kB / 0.6839 GB, free: 13.03 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.914e-05/0.3564, allocations: 12.86 kB / 0.6839 GB, free: 13.01 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.3564, allocations: 3.938 kB / 0.6839 GB, free: 13.01 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001047/0.3565, allocations: 41.59 kB / 0.684 GB, free: 12.96 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.061e-05/0.3565, allocations: 8 kB / 0.684 GB, free: 12.95 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.227e-05/0.3565, allocations: 8.031 kB / 0.684 GB, free: 12.95 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.801e-05/0.3566, allocations: 0 / 0.684 GB, free: 12.95 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002276/0.3568, allocations: 15.92 kB / 0.684 GB, free: 12.93 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005738/0.3574, allocations: 0.5782 MB / 0.6846 GB, free: 12.33 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.709e-05/0.3574, allocations: 0 / 0.6846 GB, free: 12.33 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.017e-05/0.3574, allocations: 3.938 kB / 0.6846 GB, free: 12.32 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 0.0001385/0.3576, allocations: 122.6 kB / 0.6847 GB, free: 12.2 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.126e-05/0.3576, allocations: 0 / 0.6847 GB, free: 12.2 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001421/0.3578, allocations: 44.81 kB / 0.6847 GB, free: 12.14 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.3578, allocations: 0 / 0.6847 GB, free: 12.14 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.3578, allocations: 0 / 0.6847 GB, free: 12.14 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.3578, allocations: 0 / 0.6847 GB, free: 12.14 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001765/0.358, allocations: 153.6 kB / 0.6849 GB, free: 11.95 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.358, allocations: 0 / 0.6849 GB, free: 11.95 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.076e-05/0.3581, allocations: 8 kB / 0.6849 GB, free: 11.94 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.32e-06/0.3581, allocations: 8.016 kB / 0.6849 GB, free: 11.93 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.739e-06/0.3581, allocations: 0 / 0.6849 GB, free: 11.93 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004578/0.3586, allocations: 0.5898 MB / 0.6855 GB, free: 11.32 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.949e-06/0.3586, allocations: 7.969 kB / 0.6855 GB, free: 11.31 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001242/0.3587, allocations: 65.17 kB / 0.6855 GB, free: 11.23 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.242e-05/0.3588, allocations: 89.02 kB / 0.6856 GB, free: 11.12 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.047e-05/0.3589, allocations: 0 / 0.6856 GB, free: 11.12 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.896e-05/0.3589, allocations: 0 / 0.6856 GB, free: 11.12 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.963e-05/0.3589, allocations: 11.94 kB / 0.6856 GB, free: 11.11 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.956e-06/0.3589, allocations: 0 / 0.6856 GB, free: 11.11 MB / 494.1 MB Notification: Performance of sorting global known variables: time 8.211e-05/0.359, allocations: 75.28 kB / 0.6857 GB, free: 11.04 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.359, allocations: 3.938 kB / 0.6857 GB, free: 11.03 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003103/0.3594, allocations: 12 kB / 0.6857 GB, free: 11.02 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.0002848/0.3597, allocations: 115.3 kB / 0.6858 GB, free: 10.89 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002061/0.3599, allocations: 19.98 kB / 0.6858 GB, free: 10.88 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.3599, allocations: 4 kB / 0.6859 GB, free: 10.87 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001051/0.36, allocations: 11.98 kB / 0.6859 GB, free: 10.86 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002243/0.3602, allocations: 2.234 kB / 0.6859 GB, free: 10.86 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005965/0.3608, allocations: 148 kB / 0.686 GB, free: 10.68 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004485/0.3613, allocations: 0.6692 MB / 0.6867 GB, free: 9.988 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.329e-05/0.3613, allocations: 15.38 kB / 0.6867 GB, free: 9.977 MB / 494.1 MB Notification: Performance of SimCode: time 2.81e-07/0.3614, allocations: 0 / 0.6867 GB, free: 9.977 MB / 494.1 MB Notification: Performance of Templates: time 0.004221/0.3656, allocations: 0.6818 MB / 0.6873 GB, free: 9.301 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