Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb") translateModel(IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.0009152/0.0009151, allocations: 100.5 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.001009/0.001009, allocations: 175.3 kB / 16.58 MB, free: 6.422 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.408/1.408, allocations: 223.3 MB / 240.6 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7803/0.7803, allocations: 132.3 MB / 424 MB, free: 2.047 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003602/0.0003605, allocations: 8 kB / 0.504 GB, free: 4.242 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4905/0.4908, allocations: 81.58 MB / 0.5837 GB, free: 4.219 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.1827/0.6736, allocations: 165.3 MB / 0.7451 GB, free: 11 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.005478/0.6791, allocations: 4.187 MB / 0.7492 GB, free: 6.805 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004885/0.6796, allocations: 15.88 kB / 0.7492 GB, free: 6.789 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0006398/0.6803, allocations: 174.8 kB / 0.7494 GB, free: 6.617 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001467/0.6817, allocations: 0.583 MB / 0.7499 GB, free: 6.031 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002726/0.6845, allocations: 1.053 MB / 0.751 GB, free: 4.98 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001512/0.686, allocations: 1.441 MB / 0.7524 GB, free: 3.531 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005004/0.6865, allocations: 344.1 kB / 0.7527 GB, free: 3.191 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008887/0.6874, allocations: 0.5135 MB / 0.7532 GB, free: 2.676 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004411/0.6879, allocations: 394.4 kB / 0.7536 GB, free: 2.289 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 7.089e-05/0.6879, allocations: 24 kB / 0.7536 GB, free: 2.266 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001766/0.6897, allocations: 0.7794 MB / 0.7544 GB, free: 1.484 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001767/0.6899, allocations: 167.5 kB / 0.7545 GB, free: 1.32 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001384/0.6901, allocations: 137.4 kB / 0.7547 GB, free: 1.18 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0008776/0.6909, allocations: 0.7678 MB / 0.7554 GB, free: 420 kB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.691, allocations: 0 / 0.7554 GB, free: 420 kB / 0.5762 GB Notification: Performance of FrontEnd: time 1.873e-06/0.691, allocations: 0 / 0.7554 GB, free: 420 kB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.682e-06/0.691, allocations: 3.938 kB / 0.7554 GB, free: 416 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.001463/0.6924, allocations: 0.9241 MB / 0.7563 GB, free: 15.42 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.6925, allocations: 12.03 kB / 0.7563 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001814/0.6943, allocations: 283 kB / 0.7566 GB, free: 15.13 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006713/0.695, allocations: 441.8 kB / 0.757 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.452e-05/0.695, allocations: 33 kB / 0.757 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.77e-05/0.6951, allocations: 47.84 kB / 0.7571 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009829/0.6961, allocations: 0.5585 MB / 0.7576 GB, free: 13.99 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.448e-05/0.6961, allocations: 4 kB / 0.7576 GB, free: 13.99 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.201e-05/0.6962, allocations: 16 kB / 0.7577 GB, free: 13.97 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.163e-05/0.6962, allocations: 8 kB / 0.7577 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009922/0.6972, allocations: 491.5 kB / 0.7581 GB, free: 13.48 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.002351/0.6996, allocations: 2.127 MB / 0.7602 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009359/0.7005, allocations: 434.5 kB / 0.7606 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004643/0.701, allocations: 240.6 kB / 0.7609 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006301/0.7016, allocations: 416.3 kB / 0.7613 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005917/0.7022, allocations: 302.9 kB / 0.7615 GB, free: 9.766 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=37): time 2.324e-06/0.7022, allocations: 0 / 0.7615 GB, free: 9.766 MB / 0.5919 GB Notification: Performance of matching and sorting (n=37): time 0.00171/0.704, allocations: 0.7362 MB / 0.7623 GB, free: 9.023 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.44e-05/0.704, allocations: 63.09 kB / 0.7623 GB, free: 8.949 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005292/0.7046, allocations: 490.1 kB / 0.7628 GB, free: 8.457 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.299e-05/0.7046, allocations: 33.7 kB / 0.7628 GB, free: 8.418 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001902/0.7048, allocations: 260 kB / 0.7631 GB, free: 8.16 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001069/0.7049, allocations: 130.3 kB / 0.7632 GB, free: 8.031 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.618e-05/0.705, allocations: 8 kB / 0.7632 GB, free: 8.023 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001527/0.7051, allocations: 362.8 kB / 0.7635 GB, free: 7.66 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004568/0.7056, allocations: 216.8 kB / 0.7638 GB, free: 7.449 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005348/0.7061, allocations: 324.1 kB / 0.7641 GB, free: 7.094 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005216/0.7066, allocations: 295.2 kB / 0.7643 GB, free: 6.793 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.7067, allocations: 0 / 0.7643 GB, free: 6.793 MB / 0.5919 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001216/0.7079, allocations: 0.6802 MB / 0.765 GB, free: 6.094 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 6.928e-05/0.708, allocations: 63.41 kB / 0.7651 GB, free: 6.02 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/0.708, allocations: 4 kB / 0.7651 GB, free: 6.016 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/0.708, allocations: 4 kB / 0.7651 GB, free: 6.012 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004421/0.7084, allocations: 104.1 kB / 0.7652 GB, free: 5.91 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.227e-05/0.7085, allocations: 11.98 kB / 0.7652 GB, free: 5.898 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005269/0.709, allocations: 87.39 kB / 0.7653 GB, free: 5.812 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.4e-05/0.7091, allocations: 27.94 kB / 0.7653 GB, free: 5.785 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 ($whenCondition2,$whenCondition1,$PRE.m_flow1.T_start,m_flow1.T_start,$PRE.m_flow1.count,m_flow1.count,$PRE.m_flow2.T_start,m_flow2.T_start,$PRE.m_flow2.count,m_flow2.count) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002301/0.7093, allocations: 201.6 kB / 0.7655 GB, free: 5.578 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.779e-05/0.7094, allocations: 59.33 kB / 0.7655 GB, free: 5.52 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001166/0.7106, allocations: 0.5541 MB / 0.7661 GB, free: 4.953 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/0.7106, allocations: 8 kB / 0.7661 GB, free: 4.945 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.217e-06/0.7106, allocations: 0 / 0.7661 GB, free: 4.945 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.7106, allocations: 3.984 kB / 0.7661 GB, free: 4.941 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002128/0.7127, allocations: 1.38 MB / 0.7674 GB, free: 3.461 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.189e-06/0.7127, allocations: 4 kB / 0.7675 GB, free: 3.457 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003795/0.7131, allocations: 83.83 kB / 0.7675 GB, free: 3.375 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.582e-06/0.7131, allocations: 4 kB / 0.7675 GB, free: 3.371 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.336e-05/0.7132, allocations: 16.27 kB / 0.7675 GB, free: 3.355 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.394e-06/0.7132, allocations: 11.98 kB / 0.7676 GB, free: 3.344 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.7132, allocations: 4 kB / 0.7676 GB, free: 3.34 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001568/0.7148, allocations: 0.9914 MB / 0.7685 GB, free: 2.289 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001962/0.715, allocations: 180.2 kB / 0.7687 GB, free: 2.094 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.801e-05/0.7151, allocations: 12 kB / 0.7687 GB, free: 2.082 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004191/0.7155, allocations: 51.97 kB / 0.7688 GB, free: 2.031 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001126/0.7156, allocations: 43.94 kB / 0.7688 GB, free: 1.988 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.165e-05/0.7157, allocations: 19.98 kB / 0.7688 GB, free: 1.969 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003924/0.7161, allocations: 342.8 kB / 0.7692 GB, free: 1.637 MB / 0.5919 GB Notification: Performance of sort global known variables: time 3.11e-07/0.7161, allocations: 0 / 0.7692 GB, free: 1.637 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0005511/0.7166, allocations: 147.8 kB / 0.7693 GB, free: 1.492 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004129/0.717, allocations: 204.5 kB / 0.7695 GB, free: 1.297 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001102/0.7182, allocations: 0.6194 MB / 0.7701 GB, free: 0.6523 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.7182, allocations: 0 / 0.7701 GB, free: 0.6523 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005608/0.7187, allocations: 272.8 kB / 0.7704 GB, free: 396 kB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001254/0.72, allocations: 273.5 kB / 0.7706 GB, free: 128 kB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001766/0.7218, allocations: 1.26 MB / 0.7718 GB, free: 14.79 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004002/0.7222, allocations: 0.8629 MB / 0.7727 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001712/0.7224, allocations: 43.44 kB / 0.7727 GB, free: 13.85 MB / 0.6075 GB Notification: Performance of SimCode: time 3.3e-07/0.7224, allocations: 4 kB / 0.7727 GB, free: 13.85 MB / 0.6075 GB Notification: Performance of Templates: time 0.0125/0.7349, allocations: 8.946 MB / 0.7815 GB, free: 5.008 MB / 0.6075 GB make -j1 -f IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.makefile make -j1 -f IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.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/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/c/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppIDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulbCalcHelperMain.o OMCppIDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulbCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulbCalcHelperMain.o] Error 1