Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb.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.Sensors.Examples.TemperatureDryBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb") translateModel(BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001003/0.001003, allocations: 91.92 kB / 16.02 MB, free: 80 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.001255/0.001255, allocations: 179.3 kB / 16.92 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.426/1.426, allocations: 223.2 MB / 241 MB, free: 5.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001826/0.001826, allocations: 270.7 kB / 292.3 MB, free: 1.84 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9254/0.9254, allocations: 169.5 MB / 0.501 GB, free: 14.11 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004206/0.0004207, allocations: 18.23 kB / 0.5993 GB, free: 28.01 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.168/0.1684, allocations: 88.55 MB / 0.6858 GB, free: 15.08 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.5603/0.7288, allocations: 177.2 MB / 0.8588 GB, free: 7.82 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.006114/0.735, allocations: 4.417 MB / 0.8631 GB, free: 4.246 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005635/0.7356, allocations: 19.47 kB / 0.8631 GB, free: 4.238 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0006442/0.7362, allocations: 191.4 kB / 0.8633 GB, free: 4.074 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001925/0.7382, allocations: 0.7158 MB / 0.864 GB, free: 3.52 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003515/0.7417, allocations: 1.401 MB / 0.8654 GB, free: 2.512 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001723/0.7434, allocations: 1.688 MB / 0.867 GB, free: 1.586 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005093/0.7439, allocations: 381.5 kB / 0.8674 GB, free: 1.359 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008479/0.7448, allocations: 0.5096 MB / 0.8679 GB, free: 1.09 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004458/0.7452, allocations: 415.2 kB / 0.8683 GB, free: 0.8516 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.39e-05/0.7453, allocations: 24.69 kB / 0.8683 GB, free: 0.8516 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002608/0.7479, allocations: 1.809 MB / 0.8701 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.000182/0.7481, allocations: 168.7 kB / 0.8702 GB, free: 15.67 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002734/0.7484, allocations: 311.8 kB / 0.8705 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001028/0.7494, allocations: 0.8886 MB / 0.8714 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.7495, allocations: 2.562 kB / 0.8714 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.814e-06/0.7495, allocations: 0 / 0.8714 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 7.374e-06/0.7495, allocations: 0 / 0.8714 GB, free: 14.96 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.001532/0.751, allocations: 0.9295 MB / 0.8723 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.7511, allocations: 8.156 kB / 0.8723 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001866/0.7529, allocations: 295.7 kB / 0.8726 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006526/0.7536, allocations: 444.5 kB / 0.873 GB, free: 13.67 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.402e-05/0.7536, allocations: 30.97 kB / 0.8731 GB, free: 13.65 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.489e-05/0.7537, allocations: 42.19 kB / 0.8731 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009757/0.7547, allocations: 0.5634 MB / 0.8736 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.254e-05/0.7547, allocations: 6.594 kB / 0.8736 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.356e-05/0.7548, allocations: 14.69 kB / 0.8737 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.29e-05/0.7548, allocations: 14.59 kB / 0.8737 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001013/0.7558, allocations: 497.5 kB / 0.8742 GB, free: 13.03 MB / 0.5919 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002347/0.7582, allocations: 2.123 MB / 0.8762 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009346/0.7591, allocations: 432 kB / 0.8766 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000483/0.7596, allocations: 247.8 kB / 0.8769 GB, free: 10.87 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006493/0.7603, allocations: 406.4 kB / 0.8773 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006004/0.7609, allocations: 313.9 kB / 0.8776 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=37): time 2.525e-06/0.7609, allocations: 0 / 0.8776 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of matching and sorting (n=37): time 0.001788/0.7627, allocations: 0.7455 MB / 0.8783 GB, free: 9.926 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.935e-05/0.7627, allocations: 56.12 kB / 0.8783 GB, free: 9.863 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005172/0.7633, allocations: 497.9 kB / 0.8788 GB, free: 9.57 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.501e-05/0.7633, allocations: 35.48 kB / 0.8789 GB, free: 9.535 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001885/0.7635, allocations: 258.6 kB / 0.8791 GB, free: 9.305 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001042/0.7636, allocations: 131.3 kB / 0.8792 GB, free: 9.191 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.501e-05/0.7637, allocations: 43.52 kB / 0.8793 GB, free: 9.156 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001314/0.7638, allocations: 360.5 kB / 0.8796 GB, free: 8.809 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000486/0.7643, allocations: 222.5 kB / 0.8798 GB, free: 8.707 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005558/0.7649, allocations: 326.7 kB / 0.8801 GB, free: 8.441 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001065/0.766, allocations: 0.5768 MB / 0.8807 GB, free: 7.812 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.766, allocations: 0 / 0.8807 GB, free: 7.812 MB / 0.5919 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001294/0.7673, allocations: 0.6832 MB / 0.8814 GB, free: 7.109 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 4.933e-05/0.7673, allocations: 59.41 kB / 0.8814 GB, free: 7.039 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/0.7674, allocations: 4 kB / 0.8814 GB, free: 7.035 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.693e-05/0.7674, allocations: 7.938 kB / 0.8814 GB, free: 7.027 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004747/0.7679, allocations: 113.4 kB / 0.8815 GB, free: 6.918 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.194e-05/0.7679, allocations: 4 kB / 0.8815 GB, free: 6.914 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005653/0.7685, allocations: 99.38 kB / 0.8816 GB, free: 6.816 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.871e-05/0.7685, allocations: 20 kB / 0.8817 GB, free: 6.797 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 10 (m_flow2.count,$PRE.m_flow2.count,m_flow2.T_start,$PRE.m_flow2.T_start,m_flow1.count,$PRE.m_flow1.count,m_flow1.T_start,$PRE.m_flow1.T_start,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002314/0.7688, allocations: 194.9 kB / 0.8818 GB, free: 6.598 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.04e-05/0.7688, allocations: 59.34 kB / 0.8819 GB, free: 6.539 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00125/0.7701, allocations: 0.5658 MB / 0.8825 GB, free: 5.965 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.678e-06/0.7701, allocations: 0 / 0.8825 GB, free: 5.965 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.7701, allocations: 4 kB / 0.8825 GB, free: 5.961 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/0.7701, allocations: 3.984 kB / 0.8825 GB, free: 5.957 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002207/0.7723, allocations: 1.376 MB / 0.8838 GB, free: 4.48 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.514e-06/0.7724, allocations: 7.938 kB / 0.8838 GB, free: 4.473 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004016/0.7728, allocations: 92.25 kB / 0.8839 GB, free: 4.383 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.426e-06/0.7728, allocations: 8 kB / 0.8839 GB, free: 4.375 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.944e-05/0.7728, allocations: 8 kB / 0.8839 GB, free: 4.367 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.382e-06/0.7728, allocations: 8 kB / 0.8839 GB, free: 4.359 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.7728, allocations: 4 kB / 0.8839 GB, free: 4.355 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001702/0.7745, allocations: 0.9911 MB / 0.8849 GB, free: 3.301 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000197/0.7747, allocations: 176.2 kB / 0.8851 GB, free: 3.109 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.782e-05/0.7748, allocations: 15.98 kB / 0.8851 GB, free: 3.094 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004618/0.7753, allocations: 48.02 kB / 0.8851 GB, free: 3.047 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001176/0.7754, allocations: 47.75 kB / 0.8852 GB, free: 3 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.18e-05/0.7755, allocations: 19.98 kB / 0.8852 GB, free: 2.98 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003862/0.7759, allocations: 350.8 kB / 0.8855 GB, free: 2.641 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.41e-07/0.7759, allocations: 0 / 0.8855 GB, free: 2.641 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0005701/0.7764, allocations: 155.8 kB / 0.8857 GB, free: 2.488 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (temDyn.T,temDynLoss.T) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,m_flow1.T_start,m_flow1.count,m_flow2.T_start,m_flow2.count) * Number of discrete states: 2 (m_flow2.count,m_flow1.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004149/0.7769, allocations: 198.9 kB / 0.8859 GB, free: 2.293 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001228/0.7781, allocations: 0.6118 MB / 0.8865 GB, free: 1.656 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.7781, allocations: 3.938 kB / 0.8865 GB, free: 1.652 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005947/0.7787, allocations: 278.2 kB / 0.8867 GB, free: 1.383 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001584/0.7803, allocations: 276.5 kB / 0.887 GB, free: 1.113 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001927/0.7822, allocations: 1.296 MB / 0.8883 GB, free: 15.74 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000402/0.7827, allocations: 0.8668 MB / 0.8891 GB, free: 14.85 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001805/0.7828, allocations: 47.44 kB / 0.8891 GB, free: 14.8 MB / 0.6075 GB Notification: Performance of SimCode: time 6.52e-07/0.7829, allocations: 0 / 0.8891 GB, free: 14.8 MB / 0.6075 GB Notification: Performance of Templates: time 0.01324/0.7961, allocations: 8.933 MB / 0.8979 GB, free: 5.973 MB / 0.6075 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb.makefile make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb.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/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulbCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulbCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulbCalcHelperMain.o] Error 1