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.001065/0.001065, allocations: 100.1 kB / 15.71 MB, free: 452 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.001196/0.001196, allocations: 180 kB / 16.58 MB, free: 6.422 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.922/1.922, allocations: 205.4 MB / 222.8 MB, free: 5.641 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.918/1.918, allocations: 292.7 MB / 0.5505 GB, free: 14.54 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.0005576/0.0005576, allocations: 18.53 kB / 0.6744 GB, free: 26.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.294/0.2945, allocations: 116.3 MB / 0.7879 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.001972/0.2966, allocations: 0.9781 MB / 0.7889 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001031/0.2976, allocations: 0.5349 MB / 0.7894 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.676e-05/0.2977, allocations: 4 kB / 0.7894 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.141e-05/0.2977, allocations: 0 / 0.7894 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.903e-05/0.2978, allocations: 3.938 kB / 0.7894 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006992/0.2985, allocations: 115.6 kB / 0.7895 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.83e-05/0.2986, allocations: 11.92 kB / 0.7895 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 6.504e-05/0.2986, allocations: 4 kB / 0.7895 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.182e-05/0.2987, allocations: 8 kB / 0.7895 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.313e-05/0.2987, allocations: 4 kB / 0.7895 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.225e-05/0.2987, allocations: 0 / 0.7895 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005705/0.2993, allocations: 335.3 kB / 0.7899 GB, free: 9.957 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.588e-06/0.2993, allocations: 0 / 0.7899 GB, free: 9.957 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.144e-05/0.2994, allocations: 29.64 kB / 0.7899 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002012/0.2996, allocations: 100.1 kB / 0.79 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.2996, allocations: 0 / 0.79 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.974e-06/0.2996, allocations: 0 / 0.79 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.218e-06/0.2996, allocations: 0 / 0.79 GB, free: 9.824 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.0004115/0.3, allocations: 351.2 kB / 0.7903 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.032e-05/0.3001, allocations: 12.03 kB / 0.7903 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3e-05/0.3001, allocations: 0 / 0.7903 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001356/0.3003, allocations: 170.9 kB / 0.7905 GB, free: 9.215 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.487e-05/0.3003, allocations: 4 kB / 0.7905 GB, free: 9.211 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.444e-05/0.3003, allocations: 4 kB / 0.7905 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001247/0.3005, allocations: 29.69 kB / 0.7905 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.883e-06/0.3005, allocations: 4 kB / 0.7905 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.458e-06/0.3005, allocations: 0 / 0.7905 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.94e-06/0.3005, allocations: 4 kB / 0.7905 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.835e-05/0.3005, allocations: 3.984 kB / 0.7905 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001717/0.3007, allocations: 157.6 kB / 0.7907 GB, free: 8.957 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 5.321e-05/0.3008, allocations: 22.61 kB / 0.7907 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.078e-05/0.3008, allocations: 12.86 kB / 0.7907 GB, free: 8.91 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.443e-05/0.3008, allocations: 0 / 0.7907 GB, free: 8.91 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.408e-05/0.3009, allocations: 38.56 kB / 0.7908 GB, free: 8.863 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 7.92e-07/0.3009, allocations: 0 / 0.7908 GB, free: 8.863 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0001478/0.301, allocations: 41.69 kB / 0.7908 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.024e-05/0.3011, allocations: 51.41 kB / 0.7909 GB, free: 8.754 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.301e-05/0.3012, allocations: 97.8 kB / 0.791 GB, free: 8.648 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.377e-05/0.3012, allocations: 25.7 kB / 0.791 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.078e-05/0.3012, allocations: 80.14 kB / 0.7911 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.541e-05/0.3013, allocations: 3.906 kB / 0.7911 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.868e-06/0.3013, allocations: 8.25 kB / 0.7911 GB, free: 8.523 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001154/0.3014, allocations: 314.8 kB / 0.7914 GB, free: 8.207 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.173e-05/0.3014, allocations: 3.984 kB / 0.7914 GB, free: 8.203 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.202e-06/0.3014, allocations: 0 / 0.7914 GB, free: 8.203 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.569e-05/0.3014, allocations: 4 kB / 0.7914 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.3014, allocations: 0 / 0.7914 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.05e-05/0.3015, allocations: 41.66 kB / 0.7914 GB, free: 8.152 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.3015, allocations: 8 kB / 0.7914 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.3015, allocations: 96 / 0.7914 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.718e-05/0.3016, allocations: 4 kB / 0.7914 GB, free: 8.141 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001674/0.3017, allocations: 19.95 kB / 0.7914 GB, free: 8.121 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003745/0.3021, allocations: 0.5821 MB / 0.792 GB, free: 7.516 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.752e-05/0.3022, allocations: 0 / 0.792 GB, free: 7.516 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.005e-06/0.3022, allocations: 4 kB / 0.792 GB, free: 7.512 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 7.933e-05/0.3023, allocations: 122.5 kB / 0.7921 GB, free: 7.383 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.534e-06/0.3023, allocations: 3.984 kB / 0.7921 GB, free: 7.379 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001106/0.3024, allocations: 40.83 kB / 0.7922 GB, free: 7.328 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.502e-06/0.3024, allocations: 3.938 kB / 0.7922 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.3024, allocations: 0 / 0.7922 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.3024, allocations: 0 / 0.7922 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001374/0.3026, allocations: 161.5 kB / 0.7923 GB, free: 7.117 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.3026, allocations: 0 / 0.7923 GB, free: 7.117 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.866e-05/0.3026, allocations: 11.98 kB / 0.7923 GB, free: 7.105 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.3026, allocations: 0 / 0.7923 GB, free: 7.105 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.602e-06/0.3027, allocations: 4.031 kB / 0.7923 GB, free: 7.102 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002793/0.3029, allocations: 0.5822 MB / 0.7929 GB, free: 6.496 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.055e-06/0.303, allocations: 3.953 kB / 0.7929 GB, free: 6.492 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.929e-05/0.303, allocations: 65.06 kB / 0.793 GB, free: 6.41 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.576e-05/0.3031, allocations: 81.23 kB / 0.7931 GB, free: 6.312 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.065e-05/0.3031, allocations: 0 / 0.7931 GB, free: 6.312 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.551e-05/0.3031, allocations: 4 kB / 0.7931 GB, free: 6.309 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.658e-05/0.3031, allocations: 4 kB / 0.7931 GB, free: 6.305 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.827e-06/0.3031, allocations: 3.953 kB / 0.7931 GB, free: 6.301 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.438e-05/0.3032, allocations: 79.27 kB / 0.7931 GB, free: 6.223 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.3032, allocations: 0 / 0.7931 GB, free: 6.223 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001889/0.3034, allocations: 15.94 kB / 0.7932 GB, free: 6.207 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001793/0.3036, allocations: 107.3 kB / 0.7933 GB, free: 6.09 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001584/0.3037, allocations: 23.98 kB / 0.7933 GB, free: 6.066 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.3038, allocations: 0 / 0.7933 GB, free: 6.066 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 7.552e-05/0.3038, allocations: 15.92 kB / 0.7933 GB, free: 6.051 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001501/0.304, allocations: 6.438 kB / 0.7933 GB, free: 6.047 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003941/0.3044, allocations: 140.9 kB / 0.7934 GB, free: 5.879 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002805/0.3047, allocations: 0.6731 MB / 0.7941 GB, free: 5.18 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.521e-05/0.3047, allocations: 7.438 kB / 0.7941 GB, free: 5.172 MB / 0.6075 GB Notification: Performance of SimCode: time 2e-07/0.3047, allocations: 0 / 0.7941 GB, free: 5.172 MB / 0.6075 GB Notification: Performance of Templates: time 0.002647/0.3074, allocations: 0.6926 MB / 0.7948 GB, free: 4.484 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++ NOTFOUND -Winvalid-pch -O0 -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/c/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