Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestBarometricCondenser.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/ThermoPower 3.1.0-master/package.mo", uses=false) Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/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(ThermoPower.Test.WaterComponents.TestBarometricCondenser,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestBarometricCondenser") translateModel(ThermoPower.Test.WaterComponents.TestBarometricCondenser,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestBarometricCondenser") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0006431/0.0006431, allocations: 94.25 kB / 17.31 MB, free: 6.535 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.0006987/0.0006988, allocations: 175.2 kB / 18.21 MB, free: 5.684 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.147/1.147, allocations: 205.4 MB / 224.4 MB, free: 13.07 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2302/0.2302, allocations: 48.78 MB / 321.5 MB, free: 11.12 MB / 270.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.0004523/0.0004523, allocations: 13.39 kB / 392.5 MB, free: 50.04 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07943/0.07989, allocations: 60.26 MB / 452.7 MB, free: 9.188 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestBarometricCondenser): time 0.0418/0.1217, allocations: 50.83 MB / 0.4917 GB, free: 6.188 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01637/0.1381, allocations: 17.61 MB / 0.5089 GB, free: 4.523 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003809/0.1386, allocations: 7.938 kB / 0.509 GB, free: 4.516 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005573/0.1391, allocations: 222.9 kB / 0.5092 GB, free: 4.297 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004517/0.1437, allocations: 1.935 MB / 0.5111 GB, free: 2.355 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006544/0.1502, allocations: 2.655 MB / 0.5136 GB, free: 15.69 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001119/0.1513, allocations: 1.207 MB / 0.5148 GB, free: 14.48 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003545/0.1517, allocations: 248 kB / 0.5151 GB, free: 14.23 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003323/0.152, allocations: 298.8 kB / 0.5153 GB, free: 13.94 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003785/0.1524, allocations: 370.5 kB / 0.5157 GB, free: 13.58 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.729e-05/0.1525, allocations: 16 kB / 0.5157 GB, free: 13.56 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01134/0.1638, allocations: 7.429 MB / 0.523 GB, free: 6.125 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.911e-05/0.164, allocations: 83.61 kB / 0.5231 GB, free: 6.043 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002735/0.1642, allocations: 260.5 kB / 0.5233 GB, free: 5.781 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004058/0.1683, allocations: 3.103 MB / 0.5263 GB, free: 2.672 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.1683, allocations: 0 / 0.5263 GB, free: 2.672 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.1683, allocations: 0 / 0.5263 GB, free: 2.672 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.092e-06/0.1683, allocations: 4 kB / 0.5263 GB, free: 2.668 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.002223/0.1706, allocations: 1.27 MB / 0.5276 GB, free: 1.336 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.532e-05/0.1706, allocations: 12.03 kB / 0.5276 GB, free: 1.324 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007909/0.1714, allocations: 152.2 kB / 0.5277 GB, free: 1.176 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003593/0.1718, allocations: 361.9 kB / 0.5281 GB, free: 0.7812 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.39e-05/0.1718, allocations: 25.03 kB / 0.5281 GB, free: 0.7539 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.545e-05/0.1719, allocations: 36.38 kB / 0.5281 GB, free: 0.7188 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007485/0.1726, allocations: 483 kB / 0.5286 GB, free: 208 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.454e-05/0.1726, allocations: 7.984 kB / 0.5286 GB, free: 200 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.25e-05/0.1727, allocations: 16 kB / 0.5286 GB, free: 184 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.658e-06/0.1727, allocations: 8 kB / 0.5286 GB, free: 176 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1698/0.3425, allocations: 304.2 kB / 0.5289 GB, free: 19.46 MB / 414.1 MB 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.001728/0.3442, allocations: 2.496 MB / 0.5314 GB, free: 17.55 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004957/0.3447, allocations: 279 kB / 0.5316 GB, free: 17.53 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001813/0.3449, allocations: 152.9 kB / 0.5318 GB, free: 17.52 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05612/0.4011, allocations: 32.78 MB / 0.5638 GB, free: 12.68 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005714/0.4017, allocations: 303.7 kB / 0.5641 GB, free: 12.57 MB / 430.1 MB Notification: Performance of pre-optimization done (n=32): time 2.104e-06/0.4017, allocations: 0 / 0.5641 GB, free: 12.57 MB / 430.1 MB Notification: Performance of matching and sorting (n=36): time 0.0031/0.4048, allocations: 1.713 MB / 0.5657 GB, free: 11.91 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.99e-05/0.4049, allocations: 145.5 kB / 0.5659 GB, free: 11.75 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003385/0.4052, allocations: 397.9 kB / 0.5663 GB, free: 11.64 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.899e-05/0.4053, allocations: 32.55 kB / 0.5663 GB, free: 11.61 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001357/0.4054, allocations: 244.9 kB / 0.5665 GB, free: 11.48 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.252e-05/0.4055, allocations: 113.2 kB / 0.5666 GB, free: 11.41 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.541e-05/0.4055, allocations: 39.09 kB / 0.5667 GB, free: 11.4 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001149/0.4056, allocations: 363.5 kB / 0.567 GB, free: 11.08 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001649/0.4058, allocations: 131.6 kB / 0.5671 GB, free: 11.08 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000185/0.406, allocations: 220.6 kB / 0.5673 GB, free: 11 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004093/0.4064, allocations: 473.4 kB / 0.5678 GB, free: 10.8 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.4064, allocations: 0 / 0.5678 GB, free: 10.8 MB / 430.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0008185/0.4073, allocations: 0.6084 MB / 0.5684 GB, free: 10.66 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.839e-05/0.4073, allocations: 75.03 kB / 0.5685 GB, free: 10.59 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.4073, allocations: 3.344 kB / 0.5685 GB, free: 10.59 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001091/0.4084, allocations: 161.3 kB / 0.5686 GB, free: 10.57 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001955/0.4086, allocations: 62.03 kB / 0.5687 GB, free: 10.57 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007363/0.4094, allocations: 1.13 MB / 0.5698 GB, free: 9.531 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002339/0.4096, allocations: 42.3 kB / 0.5698 GB, free: 9.52 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.972e-05/0.4097, allocations: 19.42 kB / 0.5698 GB, free: 9.52 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 15 (coolingFlowRate.nextEventScaled,coolingFlowRate.nextEvent,$PRE.coolingFlowRate.nextEvent,coolingFlowRate.last,coolingFlowRate.b,coolingFlowRate.a,steamFlowRate.nextEventScaled,steamFlowRate.nextEvent,$PRE.steamFlowRate.nextEvent,steamFlowRate.last,steamFlowRate.b,steamFlowRate.a,$whenCondition2,$whenCondition1,tank.liquidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (2,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0002098/0.4099, allocations: 243.2 kB / 0.5701 GB, free: 9.344 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.915e-05/0.4099, allocations: 52.22 kB / 0.5701 GB, free: 9.32 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001582/0.4115, allocations: 1.585 MB / 0.5717 GB, free: 9.094 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.448e-05/0.4116, allocations: 18.03 kB / 0.5717 GB, free: 9.094 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.4116, allocations: 4 kB / 0.5717 GB, free: 9.09 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.4116, allocations: 10.27 kB / 0.5717 GB, free: 9.086 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005423/0.4121, allocations: 0.7349 MB / 0.5724 GB, free: 8.867 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.4121, allocations: 4.547 kB / 0.5724 GB, free: 8.867 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001825/0.4123, allocations: 44.27 kB / 0.5725 GB, free: 8.867 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005638/0.4129, allocations: 368.5 kB / 0.5728 GB, free: 8.832 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.592e-05/0.4129, allocations: 18.52 kB / 0.5728 GB, free: 8.832 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007549/0.4137, allocations: 1.335 MB / 0.5741 GB, free: 7.789 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.4137, allocations: 4.156 kB / 0.5741 GB, free: 7.785 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001475/0.4152, allocations: 1.709 MB / 0.5758 GB, free: 7.535 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001426/0.4154, allocations: 185.5 kB / 0.576 GB, free: 7.395 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.119e-05/0.4154, allocations: 11.88 kB / 0.576 GB, free: 7.395 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001976/0.4156, allocations: 32.34 kB / 0.576 GB, free: 7.387 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.914e-05/0.4157, allocations: 23.78 kB / 0.5761 GB, free: 7.387 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.548e-05/0.4157, allocations: 16.88 kB / 0.5761 GB, free: 7.387 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002143/0.4159, allocations: 278.8 kB / 0.5763 GB, free: 7.301 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4159, allocations: 2.938 kB / 0.5763 GB, free: 7.301 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002085/0.418, allocations: 1.106 MB / 0.5774 GB, free: 7.27 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (barometricCondenser.hl,tank.y,tank.h) * Number of discrete variables: 22 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$whenCondition1,$whenCondition2,steamFlowRate.a,steamFlowRate.b,steamFlowRate.last,steamFlowRate.nextEvent,steamFlowRate.nextEventScaled,coolingFlowRate.a,coolingFlowRate.b,coolingFlowRate.last,coolingFlowRate.nextEvent,coolingFlowRate.nextEventScaled) * Number of discrete states: 12 (steamFlowRate.nextEvent,steamFlowRate.last,steamFlowRate.nextEventScaled,steamFlowRate.b,steamFlowRate.a,$whenCondition1,coolingFlowRate.nextEvent,coolingFlowRate.last,coolingFlowRate.nextEventScaled,coolingFlowRate.b,coolingFlowRate.a,$whenCondition2) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00322/0.4213, allocations: 1.315 MB / 0.5787 GB, free: 7.113 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0008649/0.4221, allocations: 0.7461 MB / 0.5794 GB, free: 6.969 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.4221, allocations: 0 / 0.5794 GB, free: 6.969 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005504/0.4227, allocations: 0.5944 MB / 0.58 GB, free: 6.844 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009003/0.4236, allocations: 192.6 kB / 0.5802 GB, free: 6.828 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001566/0.4252, allocations: 1.835 MB / 0.582 GB, free: 5.941 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003461/0.4255, allocations: 0.9117 MB / 0.5829 GB, free: 5.238 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.031e-05/0.4256, allocations: 38.19 kB / 0.5829 GB, free: 5.23 MB / 430.1 MB Notification: Performance of SimCode: time 2.61e-07/0.4256, allocations: 0 / 0.5829 GB, free: 5.23 MB / 430.1 MB Notification: Performance of Templates: time 0.0317/0.4573, allocations: 29.03 MB / 0.6113 GB, free: 13.11 MB / 462.1 MB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestBarometricCondenser.makefile make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestBarometricCondenser.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"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppThermoPower_ThermoPower.Test.WaterComponents.TestBarometricCondenserCalcHelperMain.o OMCppThermoPower_ThermoPower.Test.WaterComponents.TestBarometricCondenserCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoPower_ThermoPower.Test.WaterComponents.TestBarometricCondenserCalcHelperMain.o] Error 1