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.00103/0.00103, allocations: 97.39 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.001871/0.001871, allocations: 183.7 kB / 16.92 MB, free: 6.707 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.916/1.916, allocations: 205.4 MB / 223.1 MB, free: 5.496 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.9/1.9, allocations: 292.7 MB / 0.5509 GB, free: 14.46 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.0005301/0.0005303, allocations: 18.38 kB / 0.675 GB, free: 26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3058/0.3064, allocations: 116.3 MB / 0.7885 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.00154/0.308, allocations: 0.982 MB / 0.7895 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00106/0.3091, allocations: 0.589 MB / 0.7901 GB, free: 9.977 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.96e-05/0.3091, allocations: 8 kB / 0.7901 GB, free: 9.969 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.661e-05/0.3091, allocations: 3.984 kB / 0.7901 GB, free: 9.965 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.084e-05/0.3092, allocations: 3.984 kB / 0.7901 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004737/0.3097, allocations: 114.8 kB / 0.7902 GB, free: 9.852 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.268e-05/0.3097, allocations: 8 kB / 0.7902 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.575e-05/0.3098, allocations: 3.984 kB / 0.7902 GB, free: 9.84 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.977e-05/0.3098, allocations: 7.938 kB / 0.7902 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.695e-05/0.3099, allocations: 0 / 0.7902 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.543e-05/0.3099, allocations: 4 kB / 0.7902 GB, free: 9.828 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005362/0.3105, allocations: 347.2 kB / 0.7906 GB, free: 9.488 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.383e-05/0.3105, allocations: 8 kB / 0.7906 GB, free: 9.48 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.956e-05/0.3105, allocations: 29.64 kB / 0.7906 GB, free: 9.445 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001887/0.3107, allocations: 92.11 kB / 0.7907 GB, free: 9.355 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.683e-06/0.3107, allocations: 4 kB / 0.7907 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.765e-06/0.3107, allocations: 0 / 0.7907 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.44e-06/0.3108, allocations: 0 / 0.7907 GB, free: 9.352 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.0004204/0.3112, allocations: 351.5 kB / 0.791 GB, free: 8.957 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/0.3112, allocations: 16.03 kB / 0.791 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.121e-05/0.3113, allocations: 0.9375 kB / 0.791 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001342/0.3114, allocations: 168.2 kB / 0.7912 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.136e-05/0.3114, allocations: 384 / 0.7912 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.534e-06/0.3114, allocations: 384 / 0.7912 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.514e-05/0.3115, allocations: 34.25 kB / 0.7912 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.142e-06/0.3116, allocations: 192 / 0.7912 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.153e-05/0.3116, allocations: 3.938 kB / 0.7912 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.643e-06/0.3116, allocations: 4 kB / 0.7912 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.949e-05/0.3116, allocations: 7.984 kB / 0.7912 GB, free: 8.684 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001737/0.3118, allocations: 149.7 kB / 0.7914 GB, free: 8.488 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 5.813e-05/0.3119, allocations: 30.53 kB / 0.7914 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.168e-05/0.3119, allocations: 8.922 kB / 0.7914 GB, free: 8.438 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.322e-05/0.3119, allocations: 3.938 kB / 0.7914 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.571e-05/0.312, allocations: 30.56 kB / 0.7915 GB, free: 8.395 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.312, allocations: 0 / 0.7915 GB, free: 8.395 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0001575/0.3121, allocations: 49.64 kB / 0.7915 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.824e-05/0.3122, allocations: 51.41 kB / 0.7916 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.536e-05/0.3123, allocations: 101.8 kB / 0.7916 GB, free: 8.168 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.708e-05/0.3123, allocations: 29.7 kB / 0.7917 GB, free: 8.133 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.966e-05/0.3123, allocations: 80.14 kB / 0.7918 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.62e-05/0.3124, allocations: 3.906 kB / 0.7918 GB, free: 8.047 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.397e-05/0.3124, allocations: 9.719 kB / 0.7918 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001352/0.3125, allocations: 319.1 kB / 0.7921 GB, free: 7.711 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.059e-05/0.3125, allocations: 0 / 0.7921 GB, free: 7.711 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.241e-05/0.3126, allocations: 11.98 kB / 0.7921 GB, free: 7.699 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.805e-05/0.3126, allocations: 8.859 kB / 0.7921 GB, free: 7.688 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.3126, allocations: 0 / 0.7921 GB, free: 7.688 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.751e-05/0.3127, allocations: 37.7 kB / 0.7921 GB, free: 7.645 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.3127, allocations: 6.969 kB / 0.7921 GB, free: 7.641 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/0.3127, allocations: 3.938 kB / 0.7921 GB, free: 7.637 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.3127, allocations: 12.03 kB / 0.7921 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001625/0.3129, allocations: 7.984 kB / 0.7922 GB, free: 7.617 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004807/0.3134, allocations: 0.5821 MB / 0.7927 GB, free: 7.012 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.643e-05/0.3134, allocations: 3.938 kB / 0.7927 GB, free: 7.008 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.102e-06/0.3134, allocations: 0 / 0.7927 GB, free: 7.008 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 8.466e-05/0.3135, allocations: 109.9 kB / 0.7928 GB, free: 6.891 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.594e-06/0.3135, allocations: 8.031 kB / 0.7928 GB, free: 6.883 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001157/0.3136, allocations: 48.75 kB / 0.7929 GB, free: 6.824 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.3137, allocations: 0 / 0.7929 GB, free: 6.824 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.3137, allocations: 0 / 0.7929 GB, free: 6.824 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.3137, allocations: 0 / 0.7929 GB, free: 6.824 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001302/0.3138, allocations: 161.5 kB / 0.793 GB, free: 6.617 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.3138, allocations: 0 / 0.793 GB, free: 6.617 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.981e-05/0.3139, allocations: 11.98 kB / 0.7931 GB, free: 6.605 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.3139, allocations: 0 / 0.7931 GB, free: 6.605 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.312e-06/0.3139, allocations: 4.031 kB / 0.7931 GB, free: 6.602 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002881/0.3142, allocations: 0.5782 MB / 0.7936 GB, free: 6 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.741e-06/0.3142, allocations: 7.938 kB / 0.7936 GB, free: 5.992 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.627e-05/0.3143, allocations: 73.03 kB / 0.7937 GB, free: 5.902 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.927e-05/0.3144, allocations: 77.23 kB / 0.7938 GB, free: 5.809 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.196e-05/0.3144, allocations: 4 kB / 0.7938 GB, free: 5.805 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.263e-05/0.3144, allocations: 0 / 0.7938 GB, free: 5.805 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.823e-05/0.3144, allocations: 11.94 kB / 0.7938 GB, free: 5.793 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.274e-06/0.3144, allocations: 0 / 0.7938 GB, free: 5.793 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.609e-05/0.3145, allocations: 75.28 kB / 0.7939 GB, free: 5.719 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3145, allocations: 0 / 0.7939 GB, free: 5.719 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001881/0.3147, allocations: 15.92 kB / 0.7939 GB, free: 5.703 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.000228/0.3149, allocations: 111.3 kB / 0.794 GB, free: 5.582 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001485/0.315, allocations: 19.92 kB / 0.794 GB, free: 5.562 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3151, allocations: 0 / 0.794 GB, free: 5.562 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.397e-05/0.3151, allocations: 19.98 kB / 0.794 GB, free: 5.543 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001581/0.3153, allocations: 2.438 kB / 0.794 GB, free: 5.543 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004169/0.3157, allocations: 137 kB / 0.7942 GB, free: 5.379 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002993/0.316, allocations: 0.677 MB / 0.7948 GB, free: 4.676 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.471e-05/0.3161, allocations: 7.438 kB / 0.7948 GB, free: 4.668 MB / 0.6075 GB Notification: Performance of SimCode: time 3.01e-07/0.3161, allocations: 3.938 kB / 0.7948 GB, free: 4.664 MB / 0.6075 GB Notification: Performance of Templates: time 0.002512/0.3186, allocations: 0.6831 MB / 0.7955 GB, free: 3.98 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