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.0124/0.0124, allocations: 100.8 kB / 15.87 MB, free: 6.305 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.00272/0.00272, allocations: 194.9 kB / 16.79 MB, free: 6.234 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.507/2.507, allocations: 222.9 MB / 240.5 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.003232/0.003232, allocations: 275 kB / 290.9 MB, free: 2.191 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.612/1.612, allocations: 169.3 MB / 0.4984 GB, free: 14.16 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002848/0.002847, allocations: 90.27 kB / 0.5951 GB, free: 28.34 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3411/0.344, allocations: 86.98 MB / 0.6801 GB, free: 1.156 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.005306/0.3494, allocations: 1.306 MB / 0.6814 GB, free: 15.84 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001574/0.351, allocations: 0.5991 MB / 0.6819 GB, free: 15.25 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.572e-05/0.3511, allocations: 0 / 0.6819 GB, free: 15.25 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.823e-05/0.3511, allocations: 0.875 kB / 0.6819 GB, free: 15.25 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 8.599e-05/0.3513, allocations: 3.938 kB / 0.682 GB, free: 15.25 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006942/0.352, allocations: 125.7 kB / 0.6821 GB, free: 15.12 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.293e-05/0.352, allocations: 11.94 kB / 0.6821 GB, free: 15.11 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.401e-05/0.3521, allocations: 0 / 0.6821 GB, free: 15.11 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.884e-05/0.3521, allocations: 12.44 kB / 0.6821 GB, free: 15.1 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.653e-05/0.3522, allocations: 3.984 kB / 0.6821 GB, free: 15.1 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.44e-05/0.3522, allocations: 4 kB / 0.6821 GB, free: 15.09 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007263/0.353, allocations: 347.3 kB / 0.6824 GB, free: 14.75 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.402e-05/0.353, allocations: 0 / 0.6824 GB, free: 14.75 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.417e-05/0.353, allocations: 3.938 kB / 0.6824 GB, free: 14.75 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002748/0.3533, allocations: 100.1 kB / 0.6825 GB, free: 14.65 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.905e-06/0.3533, allocations: 0 / 0.6825 GB, free: 14.65 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3534, allocations: 0 / 0.6825 GB, free: 14.65 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.04e-05/0.3534, allocations: 0 / 0.6825 GB, free: 14.65 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.0006945/0.3541, allocations: 347.5 kB / 0.6829 GB, free: 14.26 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.232e-05/0.3541, allocations: 8.031 kB / 0.6829 GB, free: 14.25 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.304e-05/0.3542, allocations: 8.922 kB / 0.6829 GB, free: 14.25 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002/0.3544, allocations: 164.4 kB / 0.683 GB, free: 14.05 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.284e-05/0.3544, allocations: 384 / 0.683 GB, free: 14.05 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.874e-05/0.3545, allocations: 384 / 0.683 GB, free: 14.05 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001406/0.3546, allocations: 30.27 kB / 0.6831 GB, free: 14.01 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.3546, allocations: 192 / 0.6831 GB, free: 14.01 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.871e-05/0.3547, allocations: 3.938 kB / 0.6831 GB, free: 14.01 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.217e-06/0.3547, allocations: 3.984 kB / 0.6831 GB, free: 14 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.365e-05/0.3547, allocations: 11.92 kB / 0.6831 GB, free: 13.99 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002614/0.3552, allocations: 153.7 kB / 0.6832 GB, free: 13.79 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.972e-05/0.3553, allocations: 26.52 kB / 0.6833 GB, free: 13.76 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.312e-05/0.3554, allocations: 12.91 kB / 0.6833 GB, free: 13.74 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.915e-05/0.3554, allocations: 0 / 0.6833 GB, free: 13.74 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.476e-05/0.3555, allocations: 30.56 kB / 0.6833 GB, free: 13.7 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/0.3555, allocations: 0 / 0.6833 GB, free: 13.7 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002834/0.3558, allocations: 53.48 kB / 0.6833 GB, free: 13.64 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.245e-05/0.3559, allocations: 55.41 kB / 0.6834 GB, free: 13.58 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001554/0.356, allocations: 93.84 kB / 0.6835 GB, free: 13.48 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.935e-05/0.3561, allocations: 25.7 kB / 0.6835 GB, free: 13.45 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.473e-05/0.3562, allocations: 84.14 kB / 0.6836 GB, free: 13.36 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.675e-05/0.3563, allocations: 4 kB / 0.6836 GB, free: 13.36 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.754e-05/0.3563, allocations: 9.719 kB / 0.6836 GB, free: 13.34 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000302/0.3566, allocations: 319.1 kB / 0.6839 GB, free: 13.02 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.391e-05/0.3567, allocations: 0 / 0.6839 GB, free: 13.02 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.487e-05/0.3567, allocations: 8 kB / 0.6839 GB, free: 13.01 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.33e-05/0.3568, allocations: 12.84 kB / 0.6839 GB, free: 13 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.3568, allocations: 0 / 0.6839 GB, free: 13 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001456/0.3569, allocations: 45.55 kB / 0.684 GB, free: 12.95 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.12e-05/0.357, allocations: 5.719 kB / 0.684 GB, free: 12.94 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.423e-05/0.357, allocations: 3.938 kB / 0.684 GB, free: 12.94 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.103e-05/0.3571, allocations: 12.03 kB / 0.684 GB, free: 12.93 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002672/0.3573, allocations: 11.98 kB / 0.684 GB, free: 12.91 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006236/0.358, allocations: 0.5782 MB / 0.6846 GB, free: 12.31 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.268e-05/0.358, allocations: 0 / 0.6846 GB, free: 12.31 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.053e-05/0.358, allocations: 0 / 0.6846 GB, free: 12.31 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.0001313/0.3582, allocations: 111.1 kB / 0.6847 GB, free: 12.2 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.01e-05/0.3582, allocations: 8.125 kB / 0.6847 GB, free: 12.19 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001758/0.3584, allocations: 48.75 kB / 0.6847 GB, free: 12.13 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.3584, allocations: 0 / 0.6847 GB, free: 12.13 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/0.3584, allocations: 0 / 0.6847 GB, free: 12.13 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.3584, allocations: 0 / 0.6847 GB, free: 12.13 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001899/0.3586, allocations: 157.6 kB / 0.6849 GB, free: 11.93 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.3587, allocations: 0 / 0.6849 GB, free: 11.93 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001145/0.3588, allocations: 15.98 kB / 0.6849 GB, free: 11.91 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.249e-06/0.3588, allocations: 0 / 0.6849 GB, free: 11.91 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.138e-05/0.3588, allocations: 4.031 kB / 0.6849 GB, free: 11.91 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006626/0.3595, allocations: 0.5897 MB / 0.6855 GB, free: 11.3 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.472e-06/0.3595, allocations: 3.938 kB / 0.6855 GB, free: 11.29 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001175/0.3596, allocations: 65.16 kB / 0.6855 GB, free: 11.21 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.921e-05/0.3597, allocations: 81.17 kB / 0.6856 GB, free: 11.11 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.661e-05/0.3597, allocations: 4 kB / 0.6856 GB, free: 11.11 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.04e-05/0.3598, allocations: 0 / 0.6856 GB, free: 11.11 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.423e-05/0.3598, allocations: 7.938 kB / 0.6856 GB, free: 11.1 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.024e-06/0.3598, allocations: 4 kB / 0.6856 GB, free: 11.1 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.694e-05/0.3599, allocations: 75.28 kB / 0.6857 GB, free: 11.02 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.3599, allocations: 0 / 0.6857 GB, free: 11.02 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003315/0.3603, allocations: 12 kB / 0.6857 GB, free: 11.01 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.000287/0.3606, allocations: 111.3 kB / 0.6858 GB, free: 10.89 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002492/0.3608, allocations: 19.92 kB / 0.6858 GB, free: 10.87 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.02e-06/0.3608, allocations: 0 / 0.6858 GB, free: 10.87 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001237/0.361, allocations: 19.98 kB / 0.6859 GB, free: 10.85 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002653/0.3612, allocations: 2.234 kB / 0.6859 GB, free: 10.85 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007062/0.362, allocations: 134.2 kB / 0.686 GB, free: 10.69 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004956/0.3625, allocations: 0.677 MB / 0.6867 GB, free: 9.984 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.511e-05/0.3625, allocations: 7.438 kB / 0.6867 GB, free: 9.98 MB / 494.1 MB Notification: Performance of SimCode: time 6.62e-07/0.3625, allocations: 0 / 0.6867 GB, free: 9.98 MB / 494.1 MB Notification: Performance of Templates: time 0.004663/0.3672, allocations: 0.6909 MB / 0.6873 GB, free: 9.297 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