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.0008488/0.0008488, 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.0009873/0.0009873, allocations: 179.6 kB / 16.92 MB, free: 6.914 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.315/1.315, allocations: 223.2 MB / 241 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7163/0.7163, allocations: 132.3 MB / 424.4 MB, free: 2 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003115/0.0003115, allocations: 11.94 kB / 0.5046 GB, free: 3.902 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3985/0.3988, allocations: 81.57 MB / 0.5843 GB, free: 4.043 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.1839/0.5828, allocations: 177.2 MB / 0.7573 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.005468/0.5883, allocations: 4.423 MB / 0.7616 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004105/0.5887, allocations: 19.88 kB / 0.7617 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005514/0.5893, allocations: 194.7 kB / 0.7618 GB, free: 9.965 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001595/0.5909, allocations: 0.7117 MB / 0.7625 GB, free: 9.25 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003063/0.594, allocations: 1.396 MB / 0.7639 GB, free: 7.855 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001611/0.5956, allocations: 1.699 MB / 0.7656 GB, free: 6.148 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004971/0.5961, allocations: 369.8 kB / 0.7659 GB, free: 5.781 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008371/0.597, allocations: 0.5174 MB / 0.7664 GB, free: 5.262 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000455/0.5974, allocations: 410.3 kB / 0.7668 GB, free: 4.859 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 5.57e-05/0.5975, allocations: 31.94 kB / 0.7668 GB, free: 4.828 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002486/0.6, allocations: 1.796 MB / 0.7686 GB, free: 3.027 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001638/0.6002, allocations: 171.3 kB / 0.7688 GB, free: 2.859 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002639/0.6004, allocations: 312.2 kB / 0.7691 GB, free: 2.547 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0009861/0.6014, allocations: 0.9004 MB / 0.7699 GB, free: 1.645 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.6014, allocations: 0 / 0.7699 GB, free: 1.645 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.563e-06/0.6015, allocations: 0 / 0.7699 GB, free: 1.645 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 7.834e-06/0.6015, allocations: 0 / 0.7699 GB, free: 1.645 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.001465/0.6029, allocations: 0.9241 MB / 0.7708 GB, free: 0.6602 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.46e-05/0.603, allocations: 8.031 kB / 0.7708 GB, free: 0.6523 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001811/0.6048, allocations: 287 kB / 0.7711 GB, free: 380 kB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006364/0.6054, allocations: 445.6 kB / 0.7715 GB, free: 15.89 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.319e-05/0.6055, allocations: 33 kB / 0.7716 GB, free: 15.86 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.043e-05/0.6056, allocations: 44 kB / 0.7716 GB, free: 15.82 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000949/0.6065, allocations: 0.5624 MB / 0.7722 GB, free: 15.22 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.6066, allocations: 0 / 0.7722 GB, free: 15.22 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.391e-05/0.6066, allocations: 20 kB / 0.7722 GB, free: 15.2 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.135e-05/0.6066, allocations: 16 kB / 0.7722 GB, free: 15.19 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001009/0.6076, allocations: 491.5 kB / 0.7727 GB, free: 14.71 MB / 0.6075 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.002223/0.6099, allocations: 2.139 MB / 0.7748 GB, free: 12.44 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009382/0.6108, allocations: 434.4 kB / 0.7752 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004736/0.6113, allocations: 240.7 kB / 0.7754 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006073/0.6119, allocations: 416.3 kB / 0.7758 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005871/0.6125, allocations: 310.8 kB / 0.7761 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=37): time 1.934e-06/0.6125, allocations: 4 kB / 0.7761 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of matching and sorting (n=37): time 0.001713/0.6143, allocations: 0.7361 MB / 0.7768 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.452e-05/0.6143, allocations: 59.16 kB / 0.7769 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005224/0.6148, allocations: 494.1 kB / 0.7773 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.9e-05/0.6149, allocations: 37.7 kB / 0.7774 GB, free: 9.617 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001654/0.6151, allocations: 260 kB / 0.7776 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 9.138e-05/0.6152, allocations: 126.3 kB / 0.7777 GB, free: 9.234 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.435e-05/0.6152, allocations: 49.69 kB / 0.7778 GB, free: 9.18 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001289/0.6154, allocations: 366.7 kB / 0.7781 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004688/0.6158, allocations: 212.8 kB / 0.7783 GB, free: 8.605 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005451/0.6164, allocations: 330.9 kB / 0.7787 GB, free: 8.25 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009821/0.6174, allocations: 0.5774 MB / 0.7792 GB, free: 7.621 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.6174, allocations: 0 / 0.7792 GB, free: 7.621 MB / 0.6075 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001221/0.6186, allocations: 0.6844 MB / 0.7799 GB, free: 6.918 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.364e-05/0.6187, allocations: 59.41 kB / 0.78 GB, free: 6.848 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-06/0.6187, allocations: 4 kB / 0.78 GB, free: 6.844 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.6187, allocations: 8.25 kB / 0.78 GB, free: 6.836 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004237/0.6191, allocations: 107.8 kB / 0.7801 GB, free: 6.73 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.129e-05/0.6192, allocations: 11.92 kB / 0.7801 GB, free: 6.719 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005116/0.6197, allocations: 95.39 kB / 0.7802 GB, free: 6.625 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.106e-05/0.6197, allocations: 20 kB / 0.7802 GB, free: 6.605 MB / 0.6075 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.0002015/0.62, allocations: 193.6 kB / 0.7804 GB, free: 6.406 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.863e-05/0.62, allocations: 59.27 kB / 0.7804 GB, free: 6.348 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001177/0.6212, allocations: 0.5731 MB / 0.781 GB, free: 5.762 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.282e-06/0.6212, allocations: 7.984 kB / 0.781 GB, free: 5.754 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.6212, allocations: 0 / 0.781 GB, free: 5.754 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.6212, allocations: 64 / 0.781 GB, free: 5.754 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00204/0.6233, allocations: 1.383 MB / 0.7823 GB, free: 4.27 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.139e-06/0.6233, allocations: 4 kB / 0.7824 GB, free: 4.266 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000382/0.6237, allocations: 88.33 kB / 0.7824 GB, free: 4.18 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.982e-06/0.6237, allocations: 4 kB / 0.7824 GB, free: 4.176 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.99e-05/0.6237, allocations: 12 kB / 0.7825 GB, free: 4.164 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.641e-06/0.6238, allocations: 7.984 kB / 0.7825 GB, free: 4.156 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.508e-06/0.6238, allocations: 7.938 kB / 0.7825 GB, free: 4.148 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001597/0.6254, allocations: 0.9763 MB / 0.7834 GB, free: 3.109 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001766/0.6256, allocations: 172.3 kB / 0.7836 GB, free: 2.922 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.453e-05/0.6256, allocations: 16 kB / 0.7836 GB, free: 2.906 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004479/0.6261, allocations: 55.92 kB / 0.7837 GB, free: 2.852 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001079/0.6262, allocations: 51.81 kB / 0.7837 GB, free: 2.801 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.55e-05/0.6262, allocations: 16 kB / 0.7837 GB, free: 2.785 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0003655/0.6266, allocations: 342.8 kB / 0.784 GB, free: 2.453 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.61e-07/0.6266, allocations: 0 / 0.784 GB, free: 2.453 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0005048/0.6271, allocations: 159.8 kB / 0.7842 GB, free: 2.297 MB / 0.6075 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.0003893/0.6275, allocations: 199.5 kB / 0.7844 GB, free: 2.105 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001116/0.6287, allocations: 0.608 MB / 0.785 GB, free: 1.473 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.6287, allocations: 0 / 0.785 GB, free: 1.473 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.00057/0.6292, allocations: 280.4 kB / 0.7852 GB, free: 1.199 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001501/0.6307, allocations: 268.9 kB / 0.7855 GB, free: 0.9453 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001683/0.6324, allocations: 1.288 MB / 0.7868 GB, free: 15.58 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000364/0.6328, allocations: 0.8745 MB / 0.7876 GB, free: 14.68 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001634/0.633, allocations: 39.44 kB / 0.7877 GB, free: 14.64 MB / 0.6231 GB Notification: Performance of SimCode: time 3.5e-07/0.633, allocations: 4 kB / 0.7877 GB, free: 14.64 MB / 0.6231 GB Notification: Performance of Templates: time 0.01144/0.6444, allocations: 8.931 MB / 0.7964 GB, free: 5.805 MB / 0.6231 GB make -j1 -f IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.makefile make -j1 -f IDEAS_IDEAS.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 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