Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.001678/0.001678, allocations: 96.14 kB / 15.87 MB, free: 16 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.002521/0.002521, allocations: 194.4 kB / 16.79 MB, free: 6.812 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.79/1.79, allocations: 205.1 MB / 222.6 MB, free: 5.008 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.833/1.833, allocations: 292.3 MB / 0.5491 GB, free: 13.7 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001303/0.001303, allocations: 67.91 kB / 0.6715 GB, free: 26.26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2945/0.2958, allocations: 114.5 MB / 0.7833 GB, free: 14.04 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.002862/0.2987, allocations: 1.324 MB / 0.7846 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001138/0.2999, allocations: 0.6006 MB / 0.7852 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.715e-05/0.2999, allocations: 0 / 0.7852 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.1e-05/0.3, allocations: 4 kB / 0.7852 GB, free: 12.1 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.53e-05/0.3, allocations: 0 / 0.7852 GB, free: 12.1 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004648/0.3005, allocations: 119.5 kB / 0.7853 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 4.554e-05/0.3005, allocations: 8 kB / 0.7853 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.046e-05/0.3006, allocations: 4 kB / 0.7853 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.536e-05/0.3006, allocations: 11.94 kB / 0.7853 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.928e-05/0.3007, allocations: 3.984 kB / 0.7853 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.201e-05/0.3007, allocations: 0 / 0.7853 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005238/0.3012, allocations: 343.3 kB / 0.7857 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.272e-05/0.3013, allocations: 4 kB / 0.7857 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.319e-05/0.3013, allocations: 3.938 kB / 0.7857 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001953/0.3015, allocations: 96.11 kB / 0.7858 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 8.095e-06/0.3015, allocations: 4 kB / 0.7858 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.473e-06/0.3015, allocations: 0 / 0.7858 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.909e-06/0.3015, allocations: 4 kB / 0.7858 GB, free: 11.51 MB / 0.6075 GB 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.0005072/0.302, allocations: 355.4 kB / 0.7861 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.77e-05/0.3021, allocations: 8.031 kB / 0.7861 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.686e-05/0.3021, allocations: 0.9375 kB / 0.7861 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001676/0.3023, allocations: 168.3 kB / 0.7863 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.533e-05/0.3023, allocations: 8.375 kB / 0.7863 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.035e-05/0.3024, allocations: 384 / 0.7863 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001171/0.3025, allocations: 30.27 kB / 0.7863 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.3025, allocations: 4.188 kB / 0.7863 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.471e-05/0.3025, allocations: 3.938 kB / 0.7863 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.062e-05/0.3025, allocations: 11.91 kB / 0.7863 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.244e-05/0.3026, allocations: 4 kB / 0.7864 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002109/0.3028, allocations: 145.7 kB / 0.7865 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 6.248e-05/0.3029, allocations: 34.47 kB / 0.7865 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.495e-05/0.3029, allocations: 8.859 kB / 0.7865 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.027e-05/0.3029, allocations: 8.062 kB / 0.7865 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.142e-05/0.303, allocations: 30.56 kB / 0.7866 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.303, allocations: 0 / 0.7866 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0001737/0.3032, allocations: 41.64 kB / 0.7866 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.421e-05/0.3032, allocations: 51.41 kB / 0.7867 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001068/0.3033, allocations: 101.8 kB / 0.7868 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.726e-05/0.3033, allocations: 25.7 kB / 0.7868 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.034e-05/0.3034, allocations: 84.39 kB / 0.7869 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.244e-05/0.3034, allocations: 7.906 kB / 0.7869 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.844e-05/0.3034, allocations: 13.72 kB / 0.7869 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001442/0.3036, allocations: 310.8 kB / 0.7872 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.172e-05/0.3036, allocations: 4 kB / 0.7872 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.368e-06/0.3036, allocations: 3.984 kB / 0.7872 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.848e-05/0.3037, allocations: 16.86 kB / 0.7872 GB, free: 9.84 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.3037, allocations: 0 / 0.7872 GB, free: 9.84 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.946e-05/0.3037, allocations: 37.77 kB / 0.7872 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/0.3038, allocations: 4 kB / 0.7872 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.3038, allocations: 3.938 kB / 0.7872 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.3038, allocations: 0 / 0.7872 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001646/0.304, allocations: 15.92 kB / 0.7873 GB, free: 9.773 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005004/0.3045, allocations: 0.5822 MB / 0.7878 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.808e-05/0.3045, allocations: 4.125 kB / 0.7878 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.843e-06/0.3045, allocations: 4 kB / 0.7878 GB, free: 9.16 MB / 0.6075 GB 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 9.185e-05/0.3046, allocations: 110.4 kB / 0.7879 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.153e-05/0.3046, allocations: 11.89 kB / 0.788 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001083/0.3048, allocations: 44.77 kB / 0.788 GB, free: 8.977 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-06/0.3048, allocations: 0 / 0.788 GB, free: 8.977 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.3048, allocations: 0 / 0.788 GB, free: 8.977 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.3048, allocations: 0 / 0.788 GB, free: 8.977 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001288/0.3049, allocations: 161.6 kB / 0.7881 GB, free: 8.77 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.3049, allocations: 0 / 0.7881 GB, free: 8.77 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.978e-05/0.305, allocations: 11.98 kB / 0.7882 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.305, allocations: 0 / 0.7882 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.407e-06/0.305, allocations: 0 / 0.7882 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003739/0.3054, allocations: 0.5821 MB / 0.7887 GB, free: 8.152 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.3054, allocations: 3.938 kB / 0.7887 GB, free: 8.148 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.332e-05/0.3055, allocations: 69.19 kB / 0.7888 GB, free: 8.062 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.999e-05/0.3055, allocations: 85.05 kB / 0.7889 GB, free: 7.961 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.262e-05/0.3056, allocations: 4 kB / 0.7889 GB, free: 7.957 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.395e-05/0.3056, allocations: 0 / 0.7889 GB, free: 7.957 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.847e-05/0.3056, allocations: 3.938 kB / 0.7889 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.284e-06/0.3056, allocations: 0 / 0.7889 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.083e-05/0.3057, allocations: 83.27 kB / 0.789 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3057, allocations: 4.125 kB / 0.789 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002089/0.3059, allocations: 15.94 kB / 0.789 GB, free: 7.852 MB / 0.6075 GB 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.0001992/0.3061, allocations: 107.2 kB / 0.7891 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001625/0.3062, allocations: 15.98 kB / 0.7891 GB, free: 7.719 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.3063, allocations: 3.938 kB / 0.7891 GB, free: 7.715 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.436e-05/0.3064, allocations: 15.98 kB / 0.7891 GB, free: 7.699 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001545/0.3065, allocations: 4 kB / 0.7891 GB, free: 7.695 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003977/0.3069, allocations: 130.1 kB / 0.7893 GB, free: 7.535 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003153/0.3073, allocations: 0.677 MB / 0.7899 GB, free: 6.832 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.535e-05/0.3073, allocations: 7.438 kB / 0.7899 GB, free: 6.824 MB / 0.6075 GB Notification: Performance of SimCode: time 2.3e-07/0.3073, allocations: 0 / 0.7899 GB, free: 6.824 MB / 0.6075 GB Notification: Performance of Templates: time 0.002709/0.31, allocations: 0.6866 MB / 0.7906 GB, free: 6.141 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.makefile make -j1 -f Buildings_8_Buildings.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 OMCppBuildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flowCalcHelperMain.o OMCppBuildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flowCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flowCalcHelperMain.o] Error 1