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.01263/0.01263, allocations: 101.1 kB / 15.88 MB, free: 5.867 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.002695/0.002695, allocations: 190.7 kB / 16.79 MB, free: 5.809 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.768/2.768, allocations: 222.9 MB / 240.4 MB, free: 4.57 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00373/0.00373, allocations: 290.4 kB / 290.9 MB, free: 2.176 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.631/1.631, allocations: 169.2 MB / 0.4984 GB, free: 14.16 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002389/0.002389, allocations: 89.34 kB / 0.5951 GB, free: 28.49 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2996/0.302, allocations: 86.99 MB / 0.6801 GB, free: 1.207 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb): time 1.255/1.557, allocations: 179.5 MB / 0.8554 GB, free: 9.238 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01779/1.575, allocations: 4.472 MB / 0.8598 GB, free: 5.621 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002106/1.577, allocations: 22.06 kB / 0.8598 GB, free: 5.609 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001777/1.579, allocations: 194.5 kB / 0.86 GB, free: 5.445 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005102/1.584, allocations: 0.7206 MB / 0.8607 GB, free: 4.887 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.009534/1.594, allocations: 1.398 MB / 0.862 GB, free: 3.879 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.005449/1.599, allocations: 1.685 MB / 0.8637 GB, free: 2.957 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001961/1.601, allocations: 378.1 kB / 0.864 GB, free: 2.73 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003292/1.604, allocations: 0.5272 MB / 0.8646 GB, free: 2.445 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001667/1.606, allocations: 424 kB / 0.865 GB, free: 2.199 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.000373/1.607, allocations: 27.31 kB / 0.865 GB, free: 2.199 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007374/1.614, allocations: 1.807 MB / 0.8668 GB, free: 1.137 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0007455/1.615, allocations: 189 kB / 0.8669 GB, free: 1.008 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001385/1.616, allocations: 283 kB / 0.8672 GB, free: 0.8359 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003477/1.62, allocations: 0.8979 MB / 0.8681 GB, free: 332 kB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 2.291e-05/1.62, allocations: 0 / 0.8681 GB, free: 332 kB / 0.5762 GB Notification: Performance of FrontEnd: time 2.775e-06/1.62, allocations: 0 / 0.8681 GB, free: 332 kB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.217e-05/1.62, allocations: 0 / 0.8681 GB, free: 332 kB / 0.5762 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.00458/1.624, allocations: 1.025 MB / 0.8691 GB, free: 15.47 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 8.987e-05/1.624, allocations: 7.656 kB / 0.8691 GB, free: 15.47 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004055/1.629, allocations: 283.3 kB / 0.8694 GB, free: 15.35 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001448/1.63, allocations: 447.4 kB / 0.8698 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.108e-05/1.63, allocations: 33.97 kB / 0.8698 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001786/1.63, allocations: 42.81 kB / 0.8699 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001827/1.632, allocations: 0.5457 MB / 0.8704 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.405e-05/1.632, allocations: 3.938 kB / 0.8704 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.695e-05/1.632, allocations: 17.06 kB / 0.8704 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.804e-05/1.632, allocations: 22.44 kB / 0.8704 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00155/1.634, allocations: 457.6 kB / 0.8709 GB, free: 14.33 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.00496/1.639, allocations: 2.119 MB / 0.8729 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001694/1.641, allocations: 407 kB / 0.8733 GB, free: 12.28 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008513/1.641, allocations: 223.6 kB / 0.8735 GB, free: 12.17 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00109/1.643, allocations: 403.7 kB / 0.8739 GB, free: 11.76 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001083/1.644, allocations: 289.8 kB / 0.8742 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=37): time 8.035e-06/1.644, allocations: 2.281 kB / 0.8742 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of matching and sorting (n=37): time 0.003223/1.647, allocations: 0.6891 MB / 0.8749 GB, free: 11.24 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.737e-05/1.647, allocations: 60.45 kB / 0.8749 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001104/1.648, allocations: 0.4885 MB / 0.8754 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 9.266e-05/1.648, allocations: 32.05 kB / 0.8754 GB, free: 10.85 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003539/1.649, allocations: 261.8 kB / 0.8757 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002004/1.649, allocations: 122 kB / 0.8758 GB, free: 10.51 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003036/1.649, allocations: 95.39 kB / 0.8759 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002542/1.649, allocations: 361.6 kB / 0.8762 GB, free: 10.1 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008479/1.65, allocations: 200.3 kB / 0.8764 GB, free: 10.01 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001023/1.651, allocations: 319.6 kB / 0.8767 GB, free: 9.781 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001788/1.653, allocations: 0.539 MB / 0.8773 GB, free: 9.406 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.723e-06/1.653, allocations: 0 / 0.8773 GB, free: 9.406 MB / 0.5919 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002376/1.656, allocations: 0.6508 MB / 0.8779 GB, free: 9.039 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 8.913e-05/1.656, allocations: 59.19 kB / 0.878 GB, free: 8.977 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.311e-05/1.656, allocations: 8.703 kB / 0.878 GB, free: 8.973 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.578e-05/1.656, allocations: 9.266 kB / 0.878 GB, free: 8.969 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008255/1.657, allocations: 90.11 kB / 0.8781 GB, free: 8.949 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.989e-05/1.657, allocations: 12.73 kB / 0.8781 GB, free: 8.941 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001109/1.658, allocations: 90.86 kB / 0.8782 GB, free: 8.887 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001018/1.658, allocations: 23.7 kB / 0.8782 GB, free: 8.879 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.0004918/1.658, allocations: 190.1 kB / 0.8784 GB, free: 8.719 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001541/1.659, allocations: 60.16 kB / 0.8784 GB, free: 8.684 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002114/1.661, allocations: 0.5349 MB / 0.8789 GB, free: 8.379 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.354e-05/1.661, allocations: 4.531 kB / 0.879 GB, free: 8.379 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.686e-06/1.661, allocations: 0 / 0.879 GB, free: 8.379 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.306e-06/1.661, allocations: 0 / 0.879 GB, free: 8.379 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004031/1.665, allocations: 1.35 MB / 0.8803 GB, free: 7.402 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.498e-06/1.665, allocations: 8.594 kB / 0.8803 GB, free: 7.398 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007196/1.666, allocations: 76.95 kB / 0.8804 GB, free: 7.375 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.741e-05/1.666, allocations: 7.25 kB / 0.8804 GB, free: 7.375 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.502e-05/1.666, allocations: 13.31 kB / 0.8804 GB, free: 7.367 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.629e-05/1.666, allocations: 12.73 kB / 0.8804 GB, free: 7.359 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.528e-06/1.666, allocations: 5.5 kB / 0.8804 GB, free: 7.359 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003018/1.669, allocations: 0.9368 MB / 0.8813 GB, free: 6.734 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005011/1.669, allocations: 175 kB / 0.8815 GB, free: 6.574 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000143/1.669, allocations: 11.53 kB / 0.8815 GB, free: 6.57 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008463/1.67, allocations: 38.27 kB / 0.8815 GB, free: 6.555 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002269/1.671, allocations: 60.14 kB / 0.8816 GB, free: 6.516 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.109e-05/1.671, allocations: 16.19 kB / 0.8816 GB, free: 6.512 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0007764/1.671, allocations: 348.4 kB / 0.8819 GB, free: 6.305 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.41e-07/1.671, allocations: 0 / 0.8819 GB, free: 6.305 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001179/1.673, allocations: 151.9 kB / 0.8821 GB, free: 6.281 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.0008022/1.673, allocations: 196.1 kB / 0.8823 GB, free: 6.148 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002185/1.676, allocations: 0.5743 MB / 0.8828 GB, free: 5.812 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/1.676, allocations: 0 / 0.8828 GB, free: 5.812 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001123/1.677, allocations: 263.5 kB / 0.8831 GB, free: 5.695 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002583/1.679, allocations: 284.8 kB / 0.8833 GB, free: 5.551 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0035/1.683, allocations: 1.242 MB / 0.8846 GB, free: 4.605 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007237/1.684, allocations: 0.8644 MB / 0.8854 GB, free: 3.828 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003547/1.684, allocations: 50.61 kB / 0.8854 GB, free: 3.812 MB / 0.5919 GB Notification: Performance of SimCode: time 9.42e-07/1.684, allocations: 0 / 0.8854 GB, free: 3.812 MB / 0.5919 GB Notification: Performance of Templates: time 0.02841/1.712, allocations: 9.019 MB / 0.8943 GB, free: 12.05 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